@mframework/ui 0.1.0-beta.2 → 0.1.0-beta.4

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.
Files changed (234) hide show
  1. package/dist/module.d.mts +3 -0
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +28 -6
  4. package/dist/runtime/assets/config/tailwind.conifg.js +37 -6
  5. package/dist/runtime/components/Gallery.d.vue.ts +0 -0
  6. package/{src → dist}/runtime/components/Gallery.vue +23 -33
  7. package/dist/runtime/components/Gallery.vue.d.ts +0 -0
  8. package/dist/runtime/composables/useMToast.d.ts +0 -5
  9. package/dist/runtime/composables/useMToast.js +9 -9
  10. package/dist/runtime/design/tokens.d.ts +0 -22
  11. package/dist/runtime/design/tokens.js +20 -20
  12. package/dist/runtime/plugins/builder.d.ts +0 -3
  13. package/dist/runtime/plugins/builder.js +328 -303
  14. package/dist/runtime/plugins/fontawesome.d.ts +0 -3
  15. package/dist/runtime/plugins/fontawesome.js +7 -7
  16. package/dist/runtime/plugins/formkit.d.ts +0 -3
  17. package/dist/runtime/plugins/formkit.js +5 -5
  18. package/dist/runtime/plugins/lightgallery.d.ts +0 -6
  19. package/dist/runtime/plugins/lightgallery.js +20 -14
  20. package/dist/runtime/plugins/motion.d.ts +0 -2
  21. package/dist/runtime/plugins/motion.js +3 -3
  22. package/dist/runtime/plugins/theme-switcher.d.ts +0 -2
  23. package/dist/runtime/plugins/theme-switcher.js +22 -25
  24. package/dist/runtime/plugins/theme.d.ts +0 -2
  25. package/dist/runtime/plugins/theme.js +46 -32
  26. package/dist/runtime/plugins/vuetify.d.ts +0 -3
  27. package/dist/runtime/plugins/vuetify.js +30 -30
  28. package/dist/runtime/search/client.d.ts +0 -2
  29. package/dist/runtime/search/client.js +12 -19
  30. package/dist/runtime/search/plugin.d.ts +0 -2
  31. package/dist/runtime/search/plugin.js +5 -5
  32. package/dist/runtime/styles/index.css +93 -0
  33. package/dist/runtime/styles/tailwind.css +1 -1
  34. package/package.json +3 -4
  35. package/dist/adapters/adapter-directus/src/types/ui.d.ts +0 -21
  36. package/dist/adapters/adapter-directus/src/types/ui.js +0 -1
  37. package/dist/module.d.ts +0 -6
  38. package/dist/module.js +0 -68
  39. package/dist/modules/ui/src/module.d.ts +0 -8
  40. package/dist/modules/ui/src/module.js +0 -75
  41. package/dist/modules/ui/src/runtime/composables/useMToast.d.ts +0 -5
  42. package/dist/modules/ui/src/runtime/composables/useMToast.js +0 -11
  43. package/dist/modules/ui/src/runtime/design/tokens.d.ts +0 -22
  44. package/dist/modules/ui/src/runtime/design/tokens.js +0 -22
  45. package/dist/modules/ui/src/runtime/plugins/builder.d.ts +0 -3
  46. package/dist/modules/ui/src/runtime/plugins/builder.js +0 -311
  47. package/dist/modules/ui/src/runtime/plugins/fontawesome.d.ts +0 -3
  48. package/dist/modules/ui/src/runtime/plugins/fontawesome.js +0 -9
  49. package/dist/modules/ui/src/runtime/plugins/formkit.d.ts +0 -3
  50. package/dist/modules/ui/src/runtime/plugins/formkit.js +0 -8
  51. package/dist/modules/ui/src/runtime/plugins/motion.d.ts +0 -2
  52. package/dist/modules/ui/src/runtime/plugins/motion.js +0 -5
  53. package/dist/modules/ui/src/runtime/plugins/theme-switcher.d.ts +0 -2
  54. package/dist/modules/ui/src/runtime/plugins/theme-switcher.js +0 -27
  55. package/dist/modules/ui/src/runtime/plugins/theme.d.ts +0 -2
  56. package/dist/modules/ui/src/runtime/plugins/theme.js +0 -44
  57. package/dist/modules/ui/src/runtime/plugins/vuetify.d.ts +0 -3
  58. package/dist/modules/ui/src/runtime/plugins/vuetify.js +0 -33
  59. package/dist/modules/ui/src/runtime/search/client.d.ts +0 -2
  60. package/dist/modules/ui/src/runtime/search/client.js +0 -21
  61. package/dist/modules/ui/src/runtime/search/plugin.d.ts +0 -2
  62. package/dist/modules/ui/src/runtime/search/plugin.js +0 -7
  63. package/dist/modules/ui/src/utils/color.d.ts +0 -2
  64. package/dist/modules/ui/src/utils/color.js +0 -11
  65. package/dist/modules/ui/src/utils/fonts.d.ts +0 -5
  66. package/dist/modules/ui/src/utils/fonts.js +0 -18
  67. package/dist/modules/ui/src/utils/formkit.d.ts +0 -12
  68. package/dist/modules/ui/src/utils/formkit.js +0 -59
  69. package/dist/modules/ui/src/utils/icons.d.ts +0 -4
  70. package/dist/modules/ui/src/utils/icons.js +0 -36
  71. package/dist/runtime/plugins/icon-switcher.d.ts +0 -2
  72. package/dist/runtime/plugins/icon-switcher.js +0 -24
  73. package/dist/types/ui/api/global-search.d.ts +0 -8
  74. package/dist/types/ui/api/global-search.js +0 -1
  75. package/dist/types/ui/blocks/block-button-group.d.ts +0 -6
  76. package/dist/types/ui/blocks/block-button-group.js +0 -1
  77. package/dist/types/ui/blocks/block-button.d.ts +0 -13
  78. package/dist/types/ui/blocks/block-button.js +0 -1
  79. package/dist/types/ui/blocks/block-column.d.ts +0 -18
  80. package/dist/types/ui/blocks/block-column.js +0 -1
  81. package/dist/types/ui/blocks/block-cta.d.ts +0 -11
  82. package/dist/types/ui/blocks/block-cta.js +0 -1
  83. package/dist/types/ui/blocks/block-divider.d.ts +0 -4
  84. package/dist/types/ui/blocks/block-divider.js +0 -1
  85. package/dist/types/ui/blocks/block-faq.d.ts +0 -11
  86. package/dist/types/ui/blocks/block-faq.js +0 -1
  87. package/dist/types/ui/blocks/block-form.d.ts +0 -7
  88. package/dist/types/ui/blocks/block-form.js +0 -1
  89. package/dist/types/ui/blocks/block-gallery.d.ts +0 -13
  90. package/dist/types/ui/blocks/block-gallery.js +0 -1
  91. package/dist/types/ui/blocks/block-hero.d.ts +0 -11
  92. package/dist/types/ui/blocks/block-hero.js +0 -1
  93. package/dist/types/ui/blocks/block-html.d.ts +0 -4
  94. package/dist/types/ui/blocks/block-html.js +0 -1
  95. package/dist/types/ui/blocks/block-logocloud.d.ts +0 -13
  96. package/dist/types/ui/blocks/block-logocloud.js +0 -1
  97. package/dist/types/ui/blocks/block-quote.d.ts +0 -10
  98. package/dist/types/ui/blocks/block-quote.js +0 -1
  99. package/dist/types/ui/blocks/block-richtext.d.ts +0 -7
  100. package/dist/types/ui/blocks/block-richtext.js +0 -1
  101. package/dist/types/ui/blocks/block-steps.d.ts +0 -21
  102. package/dist/types/ui/blocks/block-steps.js +0 -1
  103. package/dist/types/ui/blocks/block-team.d.ts +0 -6
  104. package/dist/types/ui/blocks/block-team.js +0 -1
  105. package/dist/types/ui/blocks/block-testimonial.d.ts +0 -13
  106. package/dist/types/ui/blocks/block-testimonial.js +0 -1
  107. package/dist/types/ui/blocks/block-video.d.ts +0 -9
  108. package/dist/types/ui/blocks/block-video.js +0 -1
  109. package/dist/types/ui/blocks/block.d.ts +0 -17
  110. package/dist/types/ui/blocks/block.js +0 -1
  111. package/dist/types/ui/blocks/index.d.ts +0 -18
  112. package/dist/types/ui/blocks/index.js +0 -1
  113. package/dist/types/ui/component.d.ts +0 -6
  114. package/dist/types/ui/component.js +0 -1
  115. package/dist/types/ui/content/category.d.ts +0 -10
  116. package/dist/types/ui/content/category.js +0 -1
  117. package/dist/types/ui/content/form.d.ts +0 -21
  118. package/dist/types/ui/content/form.js +0 -1
  119. package/dist/types/ui/content/index.d.ts +0 -6
  120. package/dist/types/ui/content/index.js +0 -1
  121. package/dist/types/ui/content/page.d.ts +0 -38
  122. package/dist/types/ui/content/page.js +0 -1
  123. package/dist/types/ui/content/post.d.ts +0 -38
  124. package/dist/types/ui/content/post.js +0 -1
  125. package/dist/types/ui/content/team.d.ts +0 -17
  126. package/dist/types/ui/content/team.js +0 -1
  127. package/dist/types/ui/content/testimonial.d.ts +0 -18
  128. package/dist/types/ui/content/testimonial.js +0 -1
  129. package/dist/types/ui/form.d.ts +0 -12
  130. package/dist/types/ui/form.js +0 -1
  131. package/dist/types/ui/help/index.d.ts +0 -51
  132. package/dist/types/ui/help/index.js +0 -1
  133. package/dist/types/ui/meta/analytics.d.ts +0 -21
  134. package/dist/types/ui/meta/analytics.js +0 -1
  135. package/dist/types/ui/meta/config.d.ts +0 -22
  136. package/dist/types/ui/meta/config.js +0 -1
  137. package/dist/types/ui/meta/globals.d.ts +0 -33
  138. package/dist/types/ui/meta/globals.js +0 -1
  139. package/dist/types/ui/meta/index.d.ts +0 -6
  140. package/dist/types/ui/meta/index.js +0 -1
  141. package/dist/types/ui/meta/navigation.d.ts +0 -31
  142. package/dist/types/ui/meta/navigation.js +0 -1
  143. package/dist/types/ui/meta/redirect.d.ts +0 -12
  144. package/dist/types/ui/meta/redirect.js +0 -1
  145. package/dist/types/ui/meta/seo.d.ts +0 -19
  146. package/dist/types/ui/meta/seo.js +0 -1
  147. package/dist/types/ui/os/contact.d.ts +0 -22
  148. package/dist/types/ui/os/contact.js +0 -1
  149. package/dist/types/ui/os/conversation.d.ts +0 -23
  150. package/dist/types/ui/os/conversation.js +0 -1
  151. package/dist/types/ui/os/index.d.ts +0 -16
  152. package/dist/types/ui/os/index.js +0 -1
  153. package/dist/types/ui/os/organization.d.ts +0 -51
  154. package/dist/types/ui/os/organization.js +0 -1
  155. package/dist/types/ui/os/os-activity.d.ts +0 -26
  156. package/dist/types/ui/os/os-activity.js +0 -1
  157. package/dist/types/ui/os/os-deal.d.ts +0 -42
  158. package/dist/types/ui/os/os-deal.js +0 -1
  159. package/dist/types/ui/os/os-expense.d.ts +0 -21
  160. package/dist/types/ui/os/os-expense.js +0 -1
  161. package/dist/types/ui/os/os-invoice.d.ts +0 -46
  162. package/dist/types/ui/os/os-invoice.js +0 -1
  163. package/dist/types/ui/os/os-item.d.ts +0 -17
  164. package/dist/types/ui/os/os-item.js +0 -1
  165. package/dist/types/ui/os/os-payment.d.ts +0 -27
  166. package/dist/types/ui/os/os-payment.js +0 -1
  167. package/dist/types/ui/os/os-project.d.ts +0 -45
  168. package/dist/types/ui/os/os-project.js +0 -1
  169. package/dist/types/ui/os/os-proposal.d.ts +0 -61
  170. package/dist/types/ui/os/os-proposal.js +0 -1
  171. package/dist/types/ui/os/os-settings.d.ts +0 -17
  172. package/dist/types/ui/os/os-settings.js +0 -1
  173. package/dist/types/ui/os/os-subscription.d.ts +0 -12
  174. package/dist/types/ui/os/os-subscription.js +0 -1
  175. package/dist/types/ui/os/os-task.d.ts +0 -32
  176. package/dist/types/ui/os/os-task.js +0 -1
  177. package/dist/types/ui/os/os-tax-rate.d.ts +0 -12
  178. package/dist/types/ui/os/os-tax-rate.js +0 -1
  179. package/dist/types/ui/pageComponentMap.d.ts +0 -2
  180. package/dist/types/ui/pageComponentMap.js +0 -7
  181. package/dist/types/ui/pagination.d.ts +0 -6
  182. package/dist/types/ui/pagination.js +0 -1
  183. package/dist/types/ui/schema.d.ts +0 -78
  184. package/dist/types/ui/schema.js +0 -1
  185. package/dist/types/ui/state.d.ts +0 -5
  186. package/dist/types/ui/state.js +0 -1
  187. package/dist/types/ui/system/file.d.ts +0 -47
  188. package/dist/types/ui/system/file.js +0 -1
  189. package/dist/types/ui/system/folder.d.ts +0 -8
  190. package/dist/types/ui/system/folder.js +0 -1
  191. package/dist/types/ui/system/index.d.ts +0 -4
  192. package/dist/types/ui/system/index.js +0 -1
  193. package/dist/types/ui/system/role.d.ts +0 -20
  194. package/dist/types/ui/system/role.js +0 -1
  195. package/dist/types/ui/system/user.d.ts +0 -57
  196. package/dist/types/ui/system/user.js +0 -1
  197. package/dist/types/ui.d.ts +0 -21
  198. package/dist/types/ui.js +0 -1
  199. package/dist/utils/color.d.ts +0 -2
  200. package/dist/utils/color.js +0 -11
  201. package/dist/utils/fonts.d.ts +0 -5
  202. package/dist/utils/fonts.js +0 -18
  203. package/dist/utils/formkit.d.ts +0 -12
  204. package/dist/utils/formkit.js +0 -59
  205. package/dist/utils/icons.d.ts +0 -4
  206. package/dist/utils/icons.js +0 -36
  207. package/src/module.ts +0 -105
  208. package/src/runtime/assets/config/tailwind.conifg.js +0 -42
  209. package/src/runtime/components/MButton.vue +0 -17
  210. package/src/runtime/composables/useMToast.ts +0 -14
  211. package/src/runtime/design/tokens.ts +0 -22
  212. package/src/runtime/plugins/builder.ts +0 -326
  213. package/src/runtime/plugins/fontawesome.ts +0 -11
  214. package/src/runtime/plugins/formkit.ts +0 -9
  215. package/src/runtime/plugins/lightgallery.js +0 -21
  216. package/src/runtime/plugins/motion.ts +0 -6
  217. package/src/runtime/plugins/theme-switcher.ts +0 -32
  218. package/src/runtime/plugins/theme.ts +0 -57
  219. package/src/runtime/plugins/vuetify.ts +0 -36
  220. package/src/runtime/search/client.ts +0 -25
  221. package/src/runtime/search/components/MSearch.vue +0 -19
  222. package/src/runtime/search/plugin.ts +0 -9
  223. package/src/runtime/styles/index.scss +0 -101
  224. package/src/runtime/styles/tailwind.css +0 -9
  225. package/src/runtime/styles/vuetify.scss +0 -5
  226. package/src/types/runtime-config.d.ts +0 -12
  227. package/src/utils/color.js +0 -11
  228. package/src/utils/color.ts +0 -14
  229. package/src/utils/fonts.js +0 -18
  230. package/src/utils/fonts.ts +0 -24
  231. package/src/utils/formkit.js +0 -59
  232. package/src/utils/formkit.ts +0 -75
  233. package/src/utils/icons.js +0 -36
  234. package/src/utils/icons.ts +0 -62
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- export type FormFieldType = 'text' | 'email' | 'password' | 'number' | 'checkbox' | 'select' | 'textarea';
2
- export interface FormField {
3
- name: string;
4
- label: string;
5
- type: FormFieldType;
6
- placeholder?: string;
7
- schema?: unknown;
8
- options?: Array<{
9
- label: string;
10
- value: string;
11
- }>;
12
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,51 +0,0 @@
1
- import type { User } from '../system';
2
- import type { Form } from '../content';
3
- export interface HelpArticle {
4
- content?: string | null;
5
- date_created?: string | null;
6
- date_updated?: string | null;
7
- help_collection?: (string | HelpCollection) | null;
8
- id?: string;
9
- owner?: string | User | null;
10
- slug?: string | null;
11
- sort?: number | null;
12
- status?: string;
13
- summary?: string | null;
14
- title?: string | null;
15
- user_created?: string | User | null;
16
- user_updated?: string | User | null;
17
- }
18
- export interface HelpCollection {
19
- description?: string | null;
20
- icon?: string | null;
21
- id?: string;
22
- slug?: string | null;
23
- sort?: number | null;
24
- title?: string | null;
25
- articles?: (string | HelpArticle)[];
26
- }
27
- export interface HelpFeedback {
28
- comments?: string | null;
29
- date_created?: string | null;
30
- date_updated?: string | null;
31
- id?: string;
32
- rating?: number | null;
33
- title?: string | null;
34
- url?: string | null;
35
- user_created?: string | User | null;
36
- user_updated?: string | User | null;
37
- visitor_id?: string | null;
38
- }
39
- export interface Inbox {
40
- data?: {
41
- [key: string]: any;
42
- } | null;
43
- date_created?: string | null;
44
- date_updated?: string | null;
45
- form?: (string | Form) | null;
46
- id?: string;
47
- sort?: number | null;
48
- status?: string;
49
- user_created?: string | User | null;
50
- user_updated?: string | User | null;
51
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,21 +0,0 @@
1
- export interface Event {
2
- id?: string;
3
- key?: string | null;
4
- metadata?: {
5
- [key: string]: any;
6
- } | null;
7
- service?: string | null;
8
- session?: string | null;
9
- timestamp?: string | null;
10
- user?: string | null;
11
- }
12
- export interface Metric {
13
- id?: string;
14
- key?: string | null;
15
- metadata?: {
16
- [key: string]: any;
17
- } | null;
18
- service?: string | null;
19
- timestamp?: string | null;
20
- value?: number | null;
21
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- import type { SEO } from '.';
2
- export interface ChatConfig {
3
- /** Would you like to enable the chat / messenger widget on the site? */
4
- enabled?: boolean | null;
5
- hours?: {
6
- [key: string]: any;
7
- } | null;
8
- id?: string;
9
- modules?: {
10
- [key: string]: any;
11
- } | null;
12
- require_email?: string | null;
13
- }
14
- export interface PageSettings {
15
- [key: string]: any;
16
- }
17
- export interface ProjectsSettings {
18
- headline?: string | null;
19
- id?: string;
20
- seo?: (string | SEO) | null;
21
- title?: string | null;
22
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,33 +0,0 @@
1
- import type { File } from '../system/index.js';
2
- export interface Globals {
3
- address_country?: string | null;
4
- address_locality?: string | null;
5
- address_region?: string | null;
6
- /** URL for the build / deploy hook that starts a new build */
7
- build_hook_url?: string | null;
8
- description?: string | null;
9
- email?: string | null;
10
- id?: string;
11
- og_image?: (string | File) | null;
12
- phone?: string | null;
13
- postal_code?: string | null;
14
- routes?: {
15
- [key: string]: any;
16
- } | null;
17
- social_links: {
18
- [key: string]: any;
19
- } | null;
20
- street_address?: string | null;
21
- /** What's the website title? */
22
- tagline?: string | null;
23
- /** What's the website title? */
24
- title?: string | null;
25
- /** What's is the base url for the site? */
26
- url?: string | null;
27
- contact?: string;
28
- deployment?: string;
29
- /** This will be the default metadata used for SEO */
30
- seo?: string;
31
- social?: string;
32
- notice_deployment?: string;
33
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- export type * from './globals';
2
- export type * from './navigation';
3
- export type * from './redirect';
4
- export type * from './seo';
5
- export type * from './analytics';
6
- export type * from './config';
@@ -1 +0,0 @@
1
- export {};
@@ -1,31 +0,0 @@
1
- import type { User } from '../system/index.js';
2
- import type { Page } from '../content/index.js';
3
- export interface Navigation {
4
- date_created?: string | null;
5
- date_updated?: string | null;
6
- id?: string;
7
- status?: string;
8
- title?: string | null;
9
- user_created?: string | User | null;
10
- user_updated?: string | User | null;
11
- items?: (string | NavigationItem)[];
12
- }
13
- export interface NavigationItem {
14
- has_children?: boolean | null;
15
- /** Icon that displays in dropdown menus on website. */
16
- icon?: string | null;
17
- id?: string;
18
- /** Label to help User. Displays below the link in dropdown nav menus. */
19
- label?: string | null;
20
- navigation?: (string | Navigation) | null;
21
- open_in_new_tab?: boolean | null;
22
- page?: (string | Page) | null;
23
- parent?: (string | NavigationItem) | null;
24
- sort?: number | null;
25
- title?: string | null;
26
- type?: string | null;
27
- url?: string | null;
28
- children?: (string | NavigationItem)[];
29
- /** Control the icon and label displayed on the website. */
30
- display_details?: string;
31
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,12 +0,0 @@
1
- import type { User } from '../system';
2
- export interface Redirect {
3
- date_created?: string | null;
4
- date_updated?: string | null;
5
- id?: string;
6
- response_code?: number | null | string;
7
- url_new: string;
8
- url_old: string;
9
- user_created?: string | User | null;
10
- user_updated?: string | User | null;
11
- notice_redirects?: string;
12
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,19 +0,0 @@
1
- export interface SEO {
2
- /** Where should the canonical URL for this entry point to. */
3
- canonical_url?: string | null;
4
- id?: string;
5
- /** This entries meta description. Max 160 characters. */
6
- meta_description?: string | null;
7
- /** Instruct crawlers not to follow links on this page. */
8
- no_follow?: boolean | null;
9
- /** Instruct crawlers not to index this entry. */
10
- no_index?: boolean | null;
11
- /** This item's OG image. Defaults to global site OG image. The recommended size is 1200px x 630px. The image will be focal cropped to this dimension. */
12
- og_image?: (string | File) | null;
13
- /** How often to instruct search engines to crawl. */
14
- sitemap_change_frequency?: string | null;
15
- /** Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites, it only lets the search engines know which pages you deem most important for the crawlers. */
16
- sitemap_priority?: number | null;
17
- /** This entries title, defaults to title. Max 70 characters including the site name. */
18
- title?: string | null;
19
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- import type { User } from '../system';
2
- import type { OrganizationContact, OsDealContact, OsActivityContact } from '.';
3
- export interface Contact {
4
- id?: string;
5
- /** Is this an active contact? */
6
- status?: string | null;
7
- user_created?: (string | User) | null;
8
- date_created?: string | null;
9
- user_updated?: (string | User) | null;
10
- date_updated?: string | null;
11
- first_name?: string | null;
12
- last_name?: string | null;
13
- user?: (string | User) | null;
14
- email?: string | null;
15
- phone?: string | null;
16
- job_title?: string | null;
17
- contact_notes?: string | null;
18
- organizations?: (string | OrganizationContact)[];
19
- os_deals?: (string | OsDealContact)[];
20
- activity?: string;
21
- activities?: (string | OsActivityContact)[];
22
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,23 +0,0 @@
1
- import type { User } from '../system';
2
- export interface Conversation {
3
- date_created?: string | null;
4
- date_updated?: string | null;
5
- id?: string;
6
- status?: string;
7
- title?: string | null;
8
- visitor_id?: string | null;
9
- item?: string | null;
10
- collection?: string | null;
11
- messages?: (string | Message)[];
12
- }
13
- export interface Message {
14
- conversation?: (string | Conversation) | null;
15
- date_created?: string | null;
16
- date_updated?: string | null;
17
- id?: string;
18
- text?: string | null;
19
- user_created?: (string | User) | null;
20
- user_updated?: (string | User) | null;
21
- visitor_id?: string | null;
22
- contact_id?: string | null;
23
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- export type * from './contact';
2
- export type * from './conversation';
3
- export type * from './index';
4
- export type * from './organization';
5
- export type * from './os-activity';
6
- export type * from './os-deal';
7
- export type * from './os-expense';
8
- export type * from './os-invoice';
9
- export type * from './os-item';
10
- export type * from './os-payment';
11
- export type * from './os-project';
12
- export type * from './os-proposal';
13
- export type * from './os-settings';
14
- export type * from './os-subscription';
15
- export type * from './os-task';
16
- export type * from './os-tax-rate';
@@ -1 +0,0 @@
1
- export {};
@@ -1,51 +0,0 @@
1
- import type { User, File } from '../system';
2
- import type { OsPaymentTerm, Contact } from '.';
3
- export interface Organization {
4
- id?: string;
5
- status?: string;
6
- user_created?: (string | User) | null;
7
- date_created?: string | null;
8
- user_updated?: (string | User) | null;
9
- date_updated?: string | null;
10
- name?: string | null;
11
- website?: string | null;
12
- logo?: string | File | null;
13
- brand_color?: string | null;
14
- organization_notes?: string | null;
15
- /** Company email address (sales@company.com) */
16
- email?: string | null;
17
- ap_contact?: (string | Contact) | null;
18
- payment_terms?: (string | OsPaymentTerm) | null;
19
- owner?: (string | User) | null;
20
- /** Company phone number */
21
- phone?: string | null;
22
- branding?: string;
23
- contacts?: (string | OrganizationContact)[];
24
- addresses?: (string | OrganizationAddress)[];
25
- billing?: string;
26
- stripe_customer_id?: string | null;
27
- }
28
- export interface OrganizationAddress {
29
- id?: string;
30
- sort?: number | null;
31
- user_created?: (string | User) | null;
32
- date_created?: string | null;
33
- user_updated?: (string | User) | null;
34
- date_updated?: string | null;
35
- organization?: (string | Organization) | null;
36
- name?: string | null;
37
- street_address?: string | null;
38
- postal_code?: string | null;
39
- /** State (or region if outside US) */
40
- address_region?: string | null;
41
- address_country?: string | null;
42
- /** City */
43
- address_locality?: string | null;
44
- is_primary_billing?: boolean | null;
45
- }
46
- export interface OrganizationContact {
47
- id?: string;
48
- contacts_id?: (string | Contact) | null;
49
- organizations_id?: (string | Organization) | null;
50
- sort?: number | null;
51
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,26 +0,0 @@
1
- import type { User } from '../system';
2
- import type { Organization, Contact, OsDeal } from '.';
3
- export interface OsActivity {
4
- id?: string;
5
- status?: string;
6
- sort?: number | null;
7
- user_created?: (string | User) | null;
8
- date_created?: string | null;
9
- user_updated?: (string | User) | null;
10
- date_updated?: string | null;
11
- deal?: (string | OsDeal) | null;
12
- activity_type?: string | null;
13
- activity_notes?: string | null;
14
- name?: string | null;
15
- organization?: (string | Organization) | null;
16
- start_time?: string | null;
17
- end_time?: string | null;
18
- due_date?: string | null;
19
- assigned_to?: (string | User) | null;
20
- contacts?: (string | OsActivityContact)[];
21
- }
22
- export interface OsActivityContact {
23
- id?: string;
24
- os_activities_id?: (string | OsActivity) | null;
25
- contacts_id?: (string | Contact) | null;
26
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,42 +0,0 @@
1
- import type { User } from '../system';
2
- import type { Organization, Contact, OsProposal, OsActivity } from '.';
3
- export interface OsDeal {
4
- id?: string;
5
- status?: string;
6
- sort?: number | null;
7
- user_created?: (string | User) | null;
8
- date_created?: string | null;
9
- user_updated?: (string | User) | null;
10
- date_updated?: string | null;
11
- name?: string | null;
12
- owner?: (string | User) | null;
13
- organization?: (string | Organization) | null;
14
- close_date?: string | null;
15
- deal_stage?: (string | OsDealStage) | null;
16
- next_contact_date?: string | null;
17
- deal_value?: number | null;
18
- deal_notes?: string | null;
19
- comments?: string;
20
- proposals?: (string | OsProposal)[];
21
- contacts?: (string | OsDealContact)[];
22
- activity?: string;
23
- activities?: (string | OsActivity)[];
24
- }
25
- export interface OsDealContact {
26
- id?: string;
27
- primary?: boolean | null;
28
- os_deals_id?: (string | OsDeal) | null;
29
- contacts_id?: (string | Contact) | null;
30
- sort?: number | null;
31
- }
32
- export interface OsDealStage {
33
- id?: string;
34
- status?: string;
35
- sort?: number | null;
36
- user_created?: (string | User) | null;
37
- date_created?: string | null;
38
- user_updated?: (string | User) | null;
39
- date_updated?: string | null;
40
- name?: string | null;
41
- color?: string | null;
42
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,21 +0,0 @@
1
- import type { File, User } from '../system';
2
- import type { OsProject, OsInvoiceItem } from '.';
3
- export interface OsExpense {
4
- id?: string;
5
- sort?: number | null;
6
- user_created?: (string | User) | null;
7
- date_created?: string | null;
8
- user_updated?: (string | User) | null;
9
- date_updated?: string | null;
10
- category?: string | null;
11
- name?: string | null;
12
- cost?: number | null;
13
- description?: string | null;
14
- date?: string | null;
15
- file?: (string | File) | null;
16
- project?: (string | OsProject) | null;
17
- is_billable?: boolean | null;
18
- invoice_item?: (string | OsInvoiceItem) | null;
19
- status?: string;
20
- is_reimbursable?: boolean | null;
21
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,46 +0,0 @@
1
- import type { User } from '../system';
2
- import type { Organization, Contact, OsProject, OsPayment, OsTaxRate, OsExpense, OsItem } from '.';
3
- export interface OsInvoice {
4
- id?: string;
5
- status?: string;
6
- sort?: number | null;
7
- user_created?: (string | User) | null;
8
- date_created?: string | null;
9
- user_updated?: (string | User) | null;
10
- date_updated?: string | null;
11
- invoice_number?: string | null;
12
- due_date?: string | null;
13
- reference?: string | null;
14
- organization?: (string | Organization) | null;
15
- contact?: (string | Contact) | null;
16
- issue_date?: string | null;
17
- project?: (string | OsProject) | null;
18
- subtotal?: number | null;
19
- total_tax?: number | null;
20
- total?: number | null;
21
- amount_paid?: number | null;
22
- amount_due?: number | null;
23
- payments?: (string | OsPayment)[];
24
- line_items?: (string | OsInvoiceItem)[];
25
- }
26
- export interface OsInvoiceItem {
27
- id?: string;
28
- sort?: number | null;
29
- user_created?: (string | User) | null;
30
- date_created?: string | null;
31
- user_updated?: (string | User) | null;
32
- date_updated?: string | null;
33
- invoice?: (string | OsInvoice) | null;
34
- line_item_number?: number | null;
35
- description?: string | null;
36
- tax_rate?: (string | OsTaxRate) | null;
37
- tax_amount?: number | null;
38
- unit_price?: number | null;
39
- quantity?: number | null;
40
- line_amount?: number | null;
41
- billable_expense?: (string | OsExpense) | null;
42
- item?: (string | OsItem) | null;
43
- type?: string | null;
44
- item_name?: string | null;
45
- override_unit_price?: boolean | null;
46
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,17 +0,0 @@
1
- import type { User } from '../system';
2
- import type { OsTaxRate } from '.';
3
- export interface OsItem {
4
- id?: string;
5
- status?: string | null;
6
- sort?: number | null;
7
- user_created?: (string | User) | null;
8
- date_created?: string | null;
9
- user_updated?: (string | User) | null;
10
- date_updated?: string | null;
11
- name?: string | null;
12
- description?: string | null;
13
- unit_price?: number | null;
14
- default_tax_rate?: (string | OsTaxRate) | null;
15
- icon?: string | null;
16
- unit_cost?: number | null;
17
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,27 +0,0 @@
1
- import type { User } from '../system';
2
- import type { Organization, Contact, OsInvoice } from '.';
3
- export interface OsPayment {
4
- id?: string;
5
- status?: string;
6
- sort?: number | null;
7
- user_created?: (string | User) | null;
8
- date_created?: string | null;
9
- user_updated?: (string | User) | null;
10
- date_updated?: string | null;
11
- payment_date?: string | null;
12
- amount?: number | null;
13
- stripe_payment_id?: string;
14
- transaction_fee?: number | null;
15
- organization?: (string | Organization) | null;
16
- contact?: (string | Contact) | null;
17
- invoice?: (string | OsInvoice) | null;
18
- metadata?: object | null;
19
- receipt_url?: string | null;
20
- }
21
- export interface OsPaymentTerm {
22
- id?: string;
23
- user_created?: (string | User) | null;
24
- date_created?: string | null;
25
- user_updated?: (string | User) | null;
26
- date_updated?: string | null;
27
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,45 +0,0 @@
1
- import type { User } from '../system';
2
- import type { Organization, Contact, OsInvoice, OsTask, OsExpense } from '.';
3
- export interface OsProject {
4
- id?: string;
5
- status?: string;
6
- sort?: number | null;
7
- user_created?: (string | User) | null;
8
- date_created?: string | null;
9
- user_updated?: (string | User) | null;
10
- date_updated?: string | null;
11
- name?: string | null;
12
- organization?: (string | Organization) | null;
13
- description?: string | null;
14
- owner?: (string | User) | null;
15
- start_date?: string | null;
16
- due_date?: string | null;
17
- expenses?: (string | OsExpense)[];
18
- invoices?: (string | OsInvoice)[];
19
- contacts?: (string | OsProjectContact)[];
20
- billing?: string;
21
- tasks?: (string | OsTask)[];
22
- }
23
- export interface OsProjectContact {
24
- id?: string;
25
- os_projects_id?: (string | OsProject) | null;
26
- contacts_id?: (string | Contact) | null;
27
- sort?: number | null;
28
- }
29
- export interface OsProjectFile {
30
- id?: string;
31
- }
32
- export interface OsProjectTemplate {
33
- id?: string;
34
- status?: string;
35
- sort?: number | null;
36
- user_created?: (string | User) | null;
37
- date_created?: string | null;
38
- user_updated?: (string | User) | null;
39
- date_updated?: string | null;
40
- name?: string | null;
41
- tasks?: {
42
- [key: string]: any;
43
- } | null;
44
- description?: string | null;
45
- }
@@ -1 +0,0 @@
1
- export {};