@lssm/example.service-business-os 0.0.0-canary-20251217083314 → 0.0.0-canary-20251220002821

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 (212) hide show
  1. package/LICENSE +21 -0
  2. package/dist/client/client.contracts.d.ts +19 -18
  3. package/dist/client/client.contracts.d.ts.map +1 -0
  4. package/dist/client/client.contracts.js +2 -1
  5. package/dist/client/client.contracts.js.map +1 -0
  6. package/dist/client/client.schema.d.ts +18 -17
  7. package/dist/client/client.schema.d.ts.map +1 -0
  8. package/dist/client/client.schema.js +18 -19
  9. package/dist/client/client.schema.js.map +1 -0
  10. package/dist/docs/service-business-os.docblock.js +2 -1
  11. package/dist/docs/service-business-os.docblock.js.map +1 -0
  12. package/dist/entities/index.d.ts +157 -156
  13. package/dist/entities/index.d.ts.map +1 -0
  14. package/dist/entities/index.js +98 -98
  15. package/dist/entities/index.js.map +1 -0
  16. package/dist/events.d.ts +91 -90
  17. package/dist/events.d.ts.map +1 -0
  18. package/dist/events.js +32 -33
  19. package/dist/events.js.map +1 -0
  20. package/dist/example.d.ts +2 -1
  21. package/dist/example.d.ts.map +1 -0
  22. package/dist/example.js +2 -1
  23. package/dist/example.js.map +1 -0
  24. package/dist/handlers/index.d.ts +2 -1
  25. package/dist/handlers/index.d.ts.map +1 -0
  26. package/dist/handlers/index.js +2 -1
  27. package/dist/handlers/index.js.map +1 -0
  28. package/dist/invoice/invoice.contracts.d.ts +19 -18
  29. package/dist/invoice/invoice.contracts.d.ts.map +1 -0
  30. package/dist/invoice/invoice.contracts.js +2 -1
  31. package/dist/invoice/invoice.contracts.js.map +1 -0
  32. package/dist/invoice/invoice.schema.d.ts +18 -17
  33. package/dist/invoice/invoice.schema.d.ts.map +1 -0
  34. package/dist/invoice/invoice.schema.js +18 -19
  35. package/dist/invoice/invoice.schema.js.map +1 -0
  36. package/dist/job/job.contracts.d.ts +64 -63
  37. package/dist/job/job.contracts.d.ts.map +1 -0
  38. package/dist/job/job.contracts.js +10 -11
  39. package/dist/job/job.contracts.js.map +1 -0
  40. package/dist/job/job.schema.d.ts +22 -21
  41. package/dist/job/job.schema.d.ts.map +1 -0
  42. package/dist/job/job.schema.js +22 -23
  43. package/dist/job/job.schema.js.map +1 -0
  44. package/dist/libs/contracts/dist/capabilities/openbanking.js +2 -1
  45. package/dist/libs/contracts/dist/capabilities/openbanking.js.map +1 -0
  46. package/dist/libs/contracts/dist/contract-registry/schemas.js +2 -1
  47. package/dist/libs/contracts/dist/contract-registry/schemas.js.map +1 -0
  48. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
  49. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
  50. package/dist/libs/contracts/dist/docs/index.js +2 -6
  51. package/dist/libs/contracts/dist/docs/meta.docs.js +30 -0
  52. package/dist/libs/contracts/dist/docs/meta.docs.js.map +1 -0
  53. package/dist/libs/contracts/dist/docs/presentations.js +2 -1
  54. package/dist/libs/contracts/dist/docs/presentations.js.map +1 -0
  55. package/dist/libs/contracts/dist/docs/registry.js +2 -1
  56. package/dist/libs/contracts/dist/docs/registry.js.map +1 -0
  57. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
  58. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
  59. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
  60. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
  61. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
  62. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
  63. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
  64. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
  65. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
  66. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
  67. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
  68. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
  69. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
  70. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
  71. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
  72. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
  73. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
  74. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
  75. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
  76. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
  77. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
  78. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
  79. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
  80. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
  81. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
  82. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
  83. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
  84. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
  85. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
  86. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
  87. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
  88. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
  89. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
  90. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
  91. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
  92. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
  93. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
  94. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
  95. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
  96. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
  97. package/dist/libs/contracts/dist/docs/tech-contracts.docs.js +97 -0
  98. package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
  99. package/dist/libs/contracts/dist/events.js +2 -1
  100. package/dist/libs/contracts/dist/events.js.map +1 -0
  101. package/dist/libs/contracts/dist/index.js +2 -1
  102. package/dist/libs/contracts/dist/integrations/contracts.js +65 -66
  103. package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -0
  104. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
  105. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
  106. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
  107. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
  108. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
  109. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
  110. package/dist/libs/contracts/dist/integrations/openbanking/models.js +60 -61
  111. package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +1 -0
  112. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +2 -1
  113. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
  114. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +2 -1
  115. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
  116. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +2 -1
  117. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
  118. package/dist/libs/contracts/dist/integrations/providers/gmail.js +2 -1
  119. package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +1 -0
  120. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +2 -1
  121. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
  122. package/dist/libs/contracts/dist/integrations/providers/mistral.js +2 -1
  123. package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +1 -0
  124. package/dist/libs/contracts/dist/integrations/providers/postmark.js +2 -1
  125. package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +1 -0
  126. package/dist/libs/contracts/dist/integrations/providers/powens.js +2 -1
  127. package/dist/libs/contracts/dist/integrations/providers/powens.js.map +1 -0
  128. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +2 -1
  129. package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +1 -0
  130. package/dist/libs/contracts/dist/integrations/providers/stripe.js +2 -1
  131. package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +1 -0
  132. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +2 -1
  133. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
  134. package/dist/libs/contracts/dist/knowledge/contracts.js +44 -45
  135. package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -0
  136. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +2 -1
  137. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
  138. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
  139. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
  140. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
  141. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
  142. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +2 -1
  143. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
  144. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +2 -1
  145. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
  146. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
  147. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
  148. package/dist/libs/contracts/dist/llm/exporters.js +2 -1
  149. package/dist/libs/contracts/dist/llm/exporters.js.map +1 -0
  150. package/dist/libs/contracts/dist/onboarding-base.js +22 -23
  151. package/dist/libs/contracts/dist/onboarding-base.js.map +1 -0
  152. package/dist/libs/contracts/dist/ownership.js +4 -2
  153. package/dist/libs/contracts/dist/ownership.js.map +1 -0
  154. package/dist/libs/contracts/dist/presentations.v2.js +2 -1
  155. package/dist/libs/contracts/dist/presentations.v2.js.map +1 -0
  156. package/dist/libs/contracts/dist/regenerator/service.js +2 -1
  157. package/dist/libs/contracts/dist/regenerator/service.js.map +1 -0
  158. package/dist/libs/contracts/dist/schema/dist/index.js +3873 -6
  159. package/dist/libs/contracts/dist/schema/dist/index.js.map +1 -0
  160. package/dist/libs/contracts/dist/spec.js +2 -1
  161. package/dist/libs/contracts/dist/spec.js.map +1 -0
  162. package/dist/libs/schema/dist/index.js +4889 -6
  163. package/dist/libs/schema/dist/index.js.map +1 -0
  164. package/dist/payment/payment.contracts.d.ts +18 -17
  165. package/dist/payment/payment.contracts.d.ts.map +1 -0
  166. package/dist/payment/payment.contracts.js +2 -1
  167. package/dist/payment/payment.contracts.js.map +1 -0
  168. package/dist/payment/payment.schema.d.ts +17 -16
  169. package/dist/payment/payment.schema.d.ts.map +1 -0
  170. package/dist/payment/payment.schema.js +17 -18
  171. package/dist/payment/payment.schema.js.map +1 -0
  172. package/dist/presentations/index.d.ts +2 -1
  173. package/dist/presentations/index.d.ts.map +1 -0
  174. package/dist/presentations/index.js +2 -1
  175. package/dist/presentations/index.js.map +1 -0
  176. package/dist/presentations.d.ts +2 -1
  177. package/dist/presentations.d.ts.map +1 -0
  178. package/dist/presentations.js +2 -1
  179. package/dist/presentations.js.map +1 -0
  180. package/dist/quote/quote.contracts.d.ts +37 -36
  181. package/dist/quote/quote.contracts.d.ts.map +1 -0
  182. package/dist/quote/quote.contracts.js +2 -1
  183. package/dist/quote/quote.contracts.js.map +1 -0
  184. package/dist/quote/quote.schema.d.ts +26 -25
  185. package/dist/quote/quote.schema.d.ts.map +1 -0
  186. package/dist/quote/quote.schema.js +26 -27
  187. package/dist/quote/quote.schema.js.map +1 -0
  188. package/dist/service.feature.d.ts +2 -1
  189. package/dist/service.feature.d.ts.map +1 -0
  190. package/dist/service.feature.js +2 -1
  191. package/dist/service.feature.js.map +1 -0
  192. package/package.json +19 -12
  193. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  194. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  195. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  196. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  197. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  198. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  199. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  200. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  201. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  202. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
  203. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  204. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  205. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  206. package/dist/libs/schema/dist/EnumType.js +0 -2
  207. package/dist/libs/schema/dist/FieldType.js +0 -49
  208. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  209. package/dist/libs/schema/dist/SchemaModel.js +0 -39
  210. package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
  211. package/dist/libs/schema/dist/entity/index.js +0 -2
  212. package/dist/libs/schema/dist/entity/types.js +0 -1
@@ -1,64 +1,65 @@
1
- import * as _lssm_lib_schema434 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts17 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema110 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts11 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/invoice/invoice.contracts.d.ts
5
5
  /**
6
6
  * Issue an invoice.
7
7
  */
8
- declare const IssueInvoiceContract: _lssm_lib_contracts17.ContractSpec<_lssm_lib_schema434.SchemaModel<{
8
+ declare const IssueInvoiceContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema110.SchemaModel<{
9
9
  jobId: {
10
- type: _lssm_lib_schema434.FieldType<string, string>;
10
+ type: _lssm_lib_schema110.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  dueDate: {
14
- type: _lssm_lib_schema434.FieldType<Date, string>;
14
+ type: _lssm_lib_schema110.FieldType<Date, string>;
15
15
  isOptional: true;
16
16
  };
17
17
  notes: {
18
- type: _lssm_lib_schema434.FieldType<string, string>;
18
+ type: _lssm_lib_schema110.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  lineItems: {
22
- type: _lssm_lib_schema434.FieldType<unknown, unknown>;
22
+ type: _lssm_lib_schema110.FieldType<unknown, unknown>;
23
23
  isOptional: true;
24
24
  };
25
- }>, _lssm_lib_schema434.SchemaModel<{
25
+ }>, _lssm_lib_schema110.SchemaModel<{
26
26
  id: {
27
- type: _lssm_lib_schema434.FieldType<string, string>;
27
+ type: _lssm_lib_schema110.FieldType<string, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  jobId: {
31
- type: _lssm_lib_schema434.FieldType<string, string>;
31
+ type: _lssm_lib_schema110.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  invoiceNumber: {
35
- type: _lssm_lib_schema434.FieldType<string, string>;
35
+ type: _lssm_lib_schema110.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  amount: {
39
- type: _lssm_lib_schema434.FieldType<number, number>;
39
+ type: _lssm_lib_schema110.FieldType<number, number>;
40
40
  isOptional: false;
41
41
  };
42
42
  currency: {
43
- type: _lssm_lib_schema434.FieldType<string, string>;
43
+ type: _lssm_lib_schema110.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  status: {
47
- type: _lssm_lib_schema434.FieldType<string, string>;
47
+ type: _lssm_lib_schema110.FieldType<string, string>;
48
48
  isOptional: false;
49
49
  };
50
50
  dueDate: {
51
- type: _lssm_lib_schema434.FieldType<Date, string>;
51
+ type: _lssm_lib_schema110.FieldType<Date, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  issuedAt: {
55
- type: _lssm_lib_schema434.FieldType<Date, string>;
55
+ type: _lssm_lib_schema110.FieldType<Date, string>;
56
56
  isOptional: true;
57
57
  };
58
58
  paidAt: {
59
- type: _lssm_lib_schema434.FieldType<Date, string>;
59
+ type: _lssm_lib_schema110.FieldType<Date, string>;
60
60
  isOptional: true;
61
61
  };
62
62
  }>, undefined>;
63
63
  //#endregion
64
- export { IssueInvoiceContract };
64
+ export { IssueInvoiceContract };
65
+ //# sourceMappingURL=invoice.contracts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice.contracts.d.ts","names":[],"sources":["../../src/invoice/invoice.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAQa,4CAAoB,iCAAA;EAApB,KAAA,EAAA;IAgBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;oBAhB+B;EAAA,CAAA;;;;;;;;;;;UAAA,mBAAA,CAAA;;;EAAA,KAAA,EAAA"}
@@ -30,4 +30,5 @@ const IssueInvoiceContract = defineCommand({
30
30
  });
31
31
 
32
32
  //#endregion
33
- export { IssueInvoiceContract };
33
+ export { IssueInvoiceContract };
34
+ //# sourceMappingURL=invoice.contracts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice.contracts.js","names":[],"sources":["../../src/invoice/invoice.contracts.ts"],"sourcesContent":["import { defineCommand } from '@lssm/lib.contracts';\nimport { InvoiceModel, IssueInvoiceInputModel } from './invoice.schema';\n\nconst OWNERS = ['@examples.service-business-os'] as const;\n\n/**\n * Issue an invoice.\n */\nexport const IssueInvoiceContract = defineCommand({\n meta: {\n name: 'service.invoice.issue',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['service-business-os', 'invoice', 'issue'],\n description: 'Issue an invoice for a job.',\n goal: 'Bill clients.',\n context: 'Billing.',\n },\n io: {\n input: IssueInvoiceInputModel,\n output: InvoiceModel,\n },\n policy: { auth: 'user' },\n});\n"],"mappings":";;;;;AAGA,MAAM,SAAS,CAAC,gCAAgC;;;;AAKhD,MAAa,uBAAuB,cAAc;CAChD,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAuB;GAAW;GAAQ;EACjD,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACT;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC"}
@@ -1,67 +1,68 @@
1
- import * as _lssm_lib_schema256 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema125 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/invoice/invoice.schema.d.ts
4
4
  /**
5
5
  * Invoice issued for a job.
6
6
  */
7
- declare const InvoiceModel: _lssm_lib_schema256.SchemaModel<{
7
+ declare const InvoiceModel: _lssm_lib_schema125.SchemaModel<{
8
8
  id: {
9
- type: _lssm_lib_schema256.FieldType<string, string>;
9
+ type: _lssm_lib_schema125.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  jobId: {
13
- type: _lssm_lib_schema256.FieldType<string, string>;
13
+ type: _lssm_lib_schema125.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  invoiceNumber: {
17
- type: _lssm_lib_schema256.FieldType<string, string>;
17
+ type: _lssm_lib_schema125.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  amount: {
21
- type: _lssm_lib_schema256.FieldType<number, number>;
21
+ type: _lssm_lib_schema125.FieldType<number, number>;
22
22
  isOptional: false;
23
23
  };
24
24
  currency: {
25
- type: _lssm_lib_schema256.FieldType<string, string>;
25
+ type: _lssm_lib_schema125.FieldType<string, string>;
26
26
  isOptional: false;
27
27
  };
28
28
  status: {
29
- type: _lssm_lib_schema256.FieldType<string, string>;
29
+ type: _lssm_lib_schema125.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  dueDate: {
33
- type: _lssm_lib_schema256.FieldType<Date, string>;
33
+ type: _lssm_lib_schema125.FieldType<Date, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  issuedAt: {
37
- type: _lssm_lib_schema256.FieldType<Date, string>;
37
+ type: _lssm_lib_schema125.FieldType<Date, string>;
38
38
  isOptional: true;
39
39
  };
40
40
  paidAt: {
41
- type: _lssm_lib_schema256.FieldType<Date, string>;
41
+ type: _lssm_lib_schema125.FieldType<Date, string>;
42
42
  isOptional: true;
43
43
  };
44
44
  }>;
45
45
  /**
46
46
  * Input for issuing an invoice.
47
47
  */
48
- declare const IssueInvoiceInputModel: _lssm_lib_schema256.SchemaModel<{
48
+ declare const IssueInvoiceInputModel: _lssm_lib_schema125.SchemaModel<{
49
49
  jobId: {
50
- type: _lssm_lib_schema256.FieldType<string, string>;
50
+ type: _lssm_lib_schema125.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  dueDate: {
54
- type: _lssm_lib_schema256.FieldType<Date, string>;
54
+ type: _lssm_lib_schema125.FieldType<Date, string>;
55
55
  isOptional: true;
56
56
  };
57
57
  notes: {
58
- type: _lssm_lib_schema256.FieldType<string, string>;
58
+ type: _lssm_lib_schema125.FieldType<string, string>;
59
59
  isOptional: true;
60
60
  };
61
61
  lineItems: {
62
- type: _lssm_lib_schema256.FieldType<unknown, unknown>;
62
+ type: _lssm_lib_schema125.FieldType<unknown, unknown>;
63
63
  isOptional: true;
64
64
  };
65
65
  }>;
66
66
  //#endregion
67
- export { InvoiceModel, IssueInvoiceInputModel };
67
+ export { InvoiceModel, IssueInvoiceInputModel };
68
+ //# sourceMappingURL=invoice.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice.schema.d.ts","names":[],"sources":["../../src/invoice/invoice.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,YAiBX,sBAjBuB,WAiBvB,CAAA;EAAA,EAAA,EAAA;UAAA,mBAAA,CAAA;;;;;;;;;;;;IAjBuB,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAsBZ,UAAA,EAAA,KAAA;EASX,CAAA;;;;;;IATiC,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAAtB,4CAAsB;;UASjC,mBAAA,CAAA"}
@@ -1,49 +1,47 @@
1
- import { ScalarTypeEnum } from "../libs/schema/dist/ScalarTypeEnum.js";
2
- import { defineSchemaModel } from "../libs/schema/dist/SchemaModel.js";
3
- import "../libs/schema/dist/index.js";
1
+ import { E5, K5 } from "../libs/schema/dist/index.js";
4
2
 
5
3
  //#region src/invoice/invoice.schema.ts
6
4
  /**
7
5
  * Invoice issued for a job.
8
6
  */
9
- const InvoiceModel = defineSchemaModel({
7
+ const InvoiceModel = K5({
10
8
  name: "Invoice",
11
9
  description: "Invoice issued for a job",
12
10
  fields: {
13
11
  id: {
14
- type: ScalarTypeEnum.String_unsecure(),
12
+ type: E5.String_unsecure(),
15
13
  isOptional: false
16
14
  },
17
15
  jobId: {
18
- type: ScalarTypeEnum.String_unsecure(),
16
+ type: E5.String_unsecure(),
19
17
  isOptional: false
20
18
  },
21
19
  invoiceNumber: {
22
- type: ScalarTypeEnum.String_unsecure(),
20
+ type: E5.String_unsecure(),
23
21
  isOptional: false
24
22
  },
25
23
  amount: {
26
- type: ScalarTypeEnum.Float_unsecure(),
24
+ type: E5.Float_unsecure(),
27
25
  isOptional: false
28
26
  },
29
27
  currency: {
30
- type: ScalarTypeEnum.String_unsecure(),
28
+ type: E5.String_unsecure(),
31
29
  isOptional: false
32
30
  },
33
31
  status: {
34
- type: ScalarTypeEnum.String_unsecure(),
32
+ type: E5.String_unsecure(),
35
33
  isOptional: false
36
34
  },
37
35
  dueDate: {
38
- type: ScalarTypeEnum.DateTime(),
36
+ type: E5.DateTime(),
39
37
  isOptional: true
40
38
  },
41
39
  issuedAt: {
42
- type: ScalarTypeEnum.DateTime(),
40
+ type: E5.DateTime(),
43
41
  isOptional: true
44
42
  },
45
43
  paidAt: {
46
- type: ScalarTypeEnum.DateTime(),
44
+ type: E5.DateTime(),
47
45
  isOptional: true
48
46
  }
49
47
  }
@@ -51,28 +49,29 @@ const InvoiceModel = defineSchemaModel({
51
49
  /**
52
50
  * Input for issuing an invoice.
53
51
  */
54
- const IssueInvoiceInputModel = defineSchemaModel({
52
+ const IssueInvoiceInputModel = K5({
55
53
  name: "IssueInvoiceInput",
56
54
  description: "Input for issuing an invoice",
57
55
  fields: {
58
56
  jobId: {
59
- type: ScalarTypeEnum.String_unsecure(),
57
+ type: E5.String_unsecure(),
60
58
  isOptional: false
61
59
  },
62
60
  dueDate: {
63
- type: ScalarTypeEnum.DateTime(),
61
+ type: E5.DateTime(),
64
62
  isOptional: true
65
63
  },
66
64
  notes: {
67
- type: ScalarTypeEnum.String_unsecure(),
65
+ type: E5.String_unsecure(),
68
66
  isOptional: true
69
67
  },
70
68
  lineItems: {
71
- type: ScalarTypeEnum.JSON(),
69
+ type: E5.JSON(),
72
70
  isOptional: true
73
71
  }
74
72
  }
75
73
  });
76
74
 
77
75
  //#endregion
78
- export { InvoiceModel, IssueInvoiceInputModel };
76
+ export { InvoiceModel, IssueInvoiceInputModel };
77
+ //# sourceMappingURL=invoice.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoice.schema.js","names":["defineSchemaModel","ScalarTypeEnum"],"sources":["../../src/invoice/invoice.schema.ts"],"sourcesContent":["import { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\n\n/**\n * Invoice issued for a job.\n */\nexport const InvoiceModel = defineSchemaModel({\n name: 'Invoice',\n description: 'Invoice issued for a job',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n jobId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n invoiceNumber: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n amount: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },\n currency: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n dueDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n issuedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n paidAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n },\n});\n\n/**\n * Input for issuing an invoice.\n */\nexport const IssueInvoiceInputModel = defineSchemaModel({\n name: 'IssueInvoiceInput',\n description: 'Input for issuing an invoice',\n fields: {\n jobId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n dueDate: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n notes: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n lineItems: { type: ScalarTypeEnum.JSON(), isOptional: true },\n },\n});\n"],"mappings":";;;;;;AAKA,MAAa,eAAeA,GAAkB;CAC5C,MAAM;CACN,aAAa;CACb,QAAQ;EACN,IAAI;GAAE,MAAMC,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACjE,OAAO;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACpE,eAAe;GACb,MAAMA,GAAe,iBAAiB;GACtC,YAAY;GACb;EACD,QAAQ;GAAE,MAAMA,GAAe,gBAAgB;GAAE,YAAY;GAAO;EACpE,UAAU;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACvE,QAAQ;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACrE,SAAS;GAAE,MAAMA,GAAe,UAAU;GAAE,YAAY;GAAM;EAC9D,UAAU;GAAE,MAAMA,GAAe,UAAU;GAAE,YAAY;GAAM;EAC/D,QAAQ;GAAE,MAAMA,GAAe,UAAU;GAAE,YAAY;GAAM;EAC9D;CACF,CAAC;;;;AAKF,MAAa,yBAAyBD,GAAkB;CACtD,MAAM;CACN,aAAa;CACb,QAAQ;EACN,OAAO;GAAE,MAAMC,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACpE,SAAS;GAAE,MAAMA,GAAe,UAAU;GAAE,YAAY;GAAM;EAC9D,OAAO;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAM;EACnE,WAAW;GAAE,MAAMA,GAAe,MAAM;GAAE,YAAY;GAAM;EAC7D;CACF,CAAC"}
@@ -1,58 +1,58 @@
1
- import * as _lssm_lib_schema285 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts11 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema155 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts13 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/job/job.contracts.d.ts
5
- declare const ListJobsInputModel: _lssm_lib_schema285.SchemaModel<{
5
+ declare const ListJobsInputModel: _lssm_lib_schema155.SchemaModel<{
6
6
  status: {
7
- type: _lssm_lib_schema285.FieldType<string, string>;
7
+ type: _lssm_lib_schema155.FieldType<string, string>;
8
8
  isOptional: true;
9
9
  };
10
10
  clientId: {
11
- type: _lssm_lib_schema285.FieldType<string, string>;
11
+ type: _lssm_lib_schema155.FieldType<string, string>;
12
12
  isOptional: true;
13
13
  };
14
14
  limit: {
15
- type: _lssm_lib_schema285.FieldType<number, number>;
15
+ type: _lssm_lib_schema155.FieldType<number, number>;
16
16
  isOptional: true;
17
17
  };
18
18
  offset: {
19
- type: _lssm_lib_schema285.FieldType<number, number>;
19
+ type: _lssm_lib_schema155.FieldType<number, number>;
20
20
  isOptional: true;
21
21
  };
22
22
  }>;
23
- declare const ListJobsOutputModel: _lssm_lib_schema285.SchemaModel<{
23
+ declare const ListJobsOutputModel: _lssm_lib_schema155.SchemaModel<{
24
24
  jobs: {
25
- type: _lssm_lib_schema285.SchemaModel<{
25
+ type: _lssm_lib_schema155.SchemaModel<{
26
26
  id: {
27
- type: _lssm_lib_schema285.FieldType<string, string>;
27
+ type: _lssm_lib_schema155.FieldType<string, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  quoteId: {
31
- type: _lssm_lib_schema285.FieldType<string, string>;
31
+ type: _lssm_lib_schema155.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  clientId: {
35
- type: _lssm_lib_schema285.FieldType<string, string>;
35
+ type: _lssm_lib_schema155.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  title: {
39
- type: _lssm_lib_schema285.FieldType<string, string>;
39
+ type: _lssm_lib_schema155.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  status: {
43
- type: _lssm_lib_schema285.FieldType<string, string>;
43
+ type: _lssm_lib_schema155.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  scheduledAt: {
47
- type: _lssm_lib_schema285.FieldType<Date, string>;
47
+ type: _lssm_lib_schema155.FieldType<Date, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  completedAt: {
51
- type: _lssm_lib_schema285.FieldType<Date, string>;
51
+ type: _lssm_lib_schema155.FieldType<Date, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  assignedTo: {
55
- type: _lssm_lib_schema285.FieldType<string, string>;
55
+ type: _lssm_lib_schema155.FieldType<string, string>;
56
56
  isOptional: true;
57
57
  };
58
58
  }>;
@@ -60,60 +60,60 @@ declare const ListJobsOutputModel: _lssm_lib_schema285.SchemaModel<{
60
60
  isList: boolean;
61
61
  };
62
62
  total: {
63
- type: _lssm_lib_schema285.FieldType<number, number>;
63
+ type: _lssm_lib_schema155.FieldType<number, number>;
64
64
  isOptional: false;
65
65
  };
66
66
  }>;
67
- declare const ListJobsOperation: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema285.SchemaModel<{
67
+ declare const ListJobsOperation: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema155.SchemaModel<{
68
68
  status: {
69
- type: _lssm_lib_schema285.FieldType<string, string>;
69
+ type: _lssm_lib_schema155.FieldType<string, string>;
70
70
  isOptional: true;
71
71
  };
72
72
  clientId: {
73
- type: _lssm_lib_schema285.FieldType<string, string>;
73
+ type: _lssm_lib_schema155.FieldType<string, string>;
74
74
  isOptional: true;
75
75
  };
76
76
  limit: {
77
- type: _lssm_lib_schema285.FieldType<number, number>;
77
+ type: _lssm_lib_schema155.FieldType<number, number>;
78
78
  isOptional: true;
79
79
  };
80
80
  offset: {
81
- type: _lssm_lib_schema285.FieldType<number, number>;
81
+ type: _lssm_lib_schema155.FieldType<number, number>;
82
82
  isOptional: true;
83
83
  };
84
- }>, _lssm_lib_schema285.SchemaModel<{
84
+ }>, _lssm_lib_schema155.SchemaModel<{
85
85
  jobs: {
86
- type: _lssm_lib_schema285.SchemaModel<{
86
+ type: _lssm_lib_schema155.SchemaModel<{
87
87
  id: {
88
- type: _lssm_lib_schema285.FieldType<string, string>;
88
+ type: _lssm_lib_schema155.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  quoteId: {
92
- type: _lssm_lib_schema285.FieldType<string, string>;
92
+ type: _lssm_lib_schema155.FieldType<string, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  clientId: {
96
- type: _lssm_lib_schema285.FieldType<string, string>;
96
+ type: _lssm_lib_schema155.FieldType<string, string>;
97
97
  isOptional: false;
98
98
  };
99
99
  title: {
100
- type: _lssm_lib_schema285.FieldType<string, string>;
100
+ type: _lssm_lib_schema155.FieldType<string, string>;
101
101
  isOptional: false;
102
102
  };
103
103
  status: {
104
- type: _lssm_lib_schema285.FieldType<string, string>;
104
+ type: _lssm_lib_schema155.FieldType<string, string>;
105
105
  isOptional: false;
106
106
  };
107
107
  scheduledAt: {
108
- type: _lssm_lib_schema285.FieldType<Date, string>;
108
+ type: _lssm_lib_schema155.FieldType<Date, string>;
109
109
  isOptional: true;
110
110
  };
111
111
  completedAt: {
112
- type: _lssm_lib_schema285.FieldType<Date, string>;
112
+ type: _lssm_lib_schema155.FieldType<Date, string>;
113
113
  isOptional: true;
114
114
  };
115
115
  assignedTo: {
116
- type: _lssm_lib_schema285.FieldType<string, string>;
116
+ type: _lssm_lib_schema155.FieldType<string, string>;
117
117
  isOptional: true;
118
118
  };
119
119
  }>;
@@ -121,117 +121,118 @@ declare const ListJobsOperation: _lssm_lib_contracts11.ContractSpec<_lssm_lib_sc
121
121
  isList: boolean;
122
122
  };
123
123
  total: {
124
- type: _lssm_lib_schema285.FieldType<number, number>;
124
+ type: _lssm_lib_schema155.FieldType<number, number>;
125
125
  isOptional: false;
126
126
  };
127
127
  }>, undefined>;
128
128
  /**
129
129
  * Schedule a job.
130
130
  */
131
- declare const ScheduleJobContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema285.SchemaModel<{
131
+ declare const ScheduleJobContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema155.SchemaModel<{
132
132
  quoteId: {
133
- type: _lssm_lib_schema285.FieldType<string, string>;
133
+ type: _lssm_lib_schema155.FieldType<string, string>;
134
134
  isOptional: false;
135
135
  };
136
136
  scheduledAt: {
137
- type: _lssm_lib_schema285.FieldType<Date, string>;
137
+ type: _lssm_lib_schema155.FieldType<Date, string>;
138
138
  isOptional: false;
139
139
  };
140
140
  assignedTo: {
141
- type: _lssm_lib_schema285.FieldType<string, string>;
141
+ type: _lssm_lib_schema155.FieldType<string, string>;
142
142
  isOptional: true;
143
143
  };
144
144
  location: {
145
- type: _lssm_lib_schema285.FieldType<unknown, unknown>;
145
+ type: _lssm_lib_schema155.FieldType<unknown, unknown>;
146
146
  isOptional: true;
147
147
  };
148
148
  title: {
149
- type: _lssm_lib_schema285.FieldType<string, string>;
149
+ type: _lssm_lib_schema155.FieldType<string, string>;
150
150
  isOptional: true;
151
151
  };
152
- }>, _lssm_lib_schema285.SchemaModel<{
152
+ }>, _lssm_lib_schema155.SchemaModel<{
153
153
  id: {
154
- type: _lssm_lib_schema285.FieldType<string, string>;
154
+ type: _lssm_lib_schema155.FieldType<string, string>;
155
155
  isOptional: false;
156
156
  };
157
157
  quoteId: {
158
- type: _lssm_lib_schema285.FieldType<string, string>;
158
+ type: _lssm_lib_schema155.FieldType<string, string>;
159
159
  isOptional: false;
160
160
  };
161
161
  clientId: {
162
- type: _lssm_lib_schema285.FieldType<string, string>;
162
+ type: _lssm_lib_schema155.FieldType<string, string>;
163
163
  isOptional: false;
164
164
  };
165
165
  title: {
166
- type: _lssm_lib_schema285.FieldType<string, string>;
166
+ type: _lssm_lib_schema155.FieldType<string, string>;
167
167
  isOptional: false;
168
168
  };
169
169
  status: {
170
- type: _lssm_lib_schema285.FieldType<string, string>;
170
+ type: _lssm_lib_schema155.FieldType<string, string>;
171
171
  isOptional: false;
172
172
  };
173
173
  scheduledAt: {
174
- type: _lssm_lib_schema285.FieldType<Date, string>;
174
+ type: _lssm_lib_schema155.FieldType<Date, string>;
175
175
  isOptional: true;
176
176
  };
177
177
  completedAt: {
178
- type: _lssm_lib_schema285.FieldType<Date, string>;
178
+ type: _lssm_lib_schema155.FieldType<Date, string>;
179
179
  isOptional: true;
180
180
  };
181
181
  assignedTo: {
182
- type: _lssm_lib_schema285.FieldType<string, string>;
182
+ type: _lssm_lib_schema155.FieldType<string, string>;
183
183
  isOptional: true;
184
184
  };
185
185
  }>, undefined>;
186
186
  /**
187
187
  * Complete a job.
188
188
  */
189
- declare const CompleteJobContract: _lssm_lib_contracts11.ContractSpec<_lssm_lib_schema285.SchemaModel<{
189
+ declare const CompleteJobContract: _lssm_lib_contracts13.ContractSpec<_lssm_lib_schema155.SchemaModel<{
190
190
  jobId: {
191
- type: _lssm_lib_schema285.FieldType<string, string>;
191
+ type: _lssm_lib_schema155.FieldType<string, string>;
192
192
  isOptional: false;
193
193
  };
194
194
  completedAt: {
195
- type: _lssm_lib_schema285.FieldType<Date, string>;
195
+ type: _lssm_lib_schema155.FieldType<Date, string>;
196
196
  isOptional: true;
197
197
  };
198
198
  notes: {
199
- type: _lssm_lib_schema285.FieldType<string, string>;
199
+ type: _lssm_lib_schema155.FieldType<string, string>;
200
200
  isOptional: true;
201
201
  };
202
- }>, _lssm_lib_schema285.SchemaModel<{
202
+ }>, _lssm_lib_schema155.SchemaModel<{
203
203
  id: {
204
- type: _lssm_lib_schema285.FieldType<string, string>;
204
+ type: _lssm_lib_schema155.FieldType<string, string>;
205
205
  isOptional: false;
206
206
  };
207
207
  quoteId: {
208
- type: _lssm_lib_schema285.FieldType<string, string>;
208
+ type: _lssm_lib_schema155.FieldType<string, string>;
209
209
  isOptional: false;
210
210
  };
211
211
  clientId: {
212
- type: _lssm_lib_schema285.FieldType<string, string>;
212
+ type: _lssm_lib_schema155.FieldType<string, string>;
213
213
  isOptional: false;
214
214
  };
215
215
  title: {
216
- type: _lssm_lib_schema285.FieldType<string, string>;
216
+ type: _lssm_lib_schema155.FieldType<string, string>;
217
217
  isOptional: false;
218
218
  };
219
219
  status: {
220
- type: _lssm_lib_schema285.FieldType<string, string>;
220
+ type: _lssm_lib_schema155.FieldType<string, string>;
221
221
  isOptional: false;
222
222
  };
223
223
  scheduledAt: {
224
- type: _lssm_lib_schema285.FieldType<Date, string>;
224
+ type: _lssm_lib_schema155.FieldType<Date, string>;
225
225
  isOptional: true;
226
226
  };
227
227
  completedAt: {
228
- type: _lssm_lib_schema285.FieldType<Date, string>;
228
+ type: _lssm_lib_schema155.FieldType<Date, string>;
229
229
  isOptional: true;
230
230
  };
231
231
  assignedTo: {
232
- type: _lssm_lib_schema285.FieldType<string, string>;
232
+ type: _lssm_lib_schema155.FieldType<string, string>;
233
233
  isOptional: true;
234
234
  };
235
235
  }>, undefined>;
236
236
  //#endregion
237
- export { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract };
237
+ export { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract };
238
+ //# sourceMappingURL=job.contracts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"job.contracts.d.ts","names":[],"sources":["../../src/job/job.contracts.ts"],"sourcesContent":[],"mappings":";;;;cAYa,wCAAkB;;UAS7B,mBAAA,CAAA;;EATW,CAAA;EASX,QAAA,EAAA;;;;;IAT6B,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAWlB,UAAA,EAAA,IAAA;EAOX,CAAA;;;;;;cAPW,yCAAmB;;;;cAO9B,mBAAA,CAAA;;;MAP8B,OAAA,EAAA;QASnB,IAAA,+BAgBX,CAAA,MAAA,EAAA,MAAA,CAAA;QAAA,UAAA,EAAA,KAAA;;;;kBAhB4B,EAAA,KAAA;MAAA,CAAA;;;;;;;;;;;;;iBAAA,EAAA;QAAA,IAAA,+BAAA,KAAA,EAAA,MAAA,CAAA;QAuBjB,UAgBX,EAAA,IAAA;MAAA,CAAA;;;;;;qBAhB8B;IAAA,MAAA,EAAA,OAAA;;;;;;;cAvBnB,yCAAiB,iCAAA;;UAgB5B,mBAAA,CAAA;;;EAO8B,QAAA,EAAA;IAqBnB,IAAA,+BAgBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;oBAhB8B;EAAA,CAAA;;;;;;;;;cA5CF,mBAAA,CAAA;;;MA4CE,OAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cArBnB,2CAAmB,iCAAA;;UAgB9B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;UAhB8B,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqBnB,2CAAmB,iCAAA;;UAgB9B,mBAAA,CAAA;;;;;;;;;;;;;UAhB8B,mBAAA,CAAA"}
@@ -1,35 +1,33 @@
1
- import { ScalarTypeEnum } from "../libs/schema/dist/ScalarTypeEnum.js";
2
- import { defineSchemaModel } from "../libs/schema/dist/SchemaModel.js";
3
- import "../libs/schema/dist/index.js";
1
+ import { E5, K5 } from "../libs/schema/dist/index.js";
4
2
  import { defineCommand, defineQuery } from "../libs/contracts/dist/spec.js";
5
3
  import "../libs/contracts/dist/index.js";
6
4
  import { CompleteJobInputModel, JobModel, ScheduleJobInputModel } from "./job.schema.js";
7
5
 
8
6
  //#region src/job/job.contracts.ts
9
7
  const OWNERS = ["@examples.service-business-os"];
10
- const ListJobsInputModel = defineSchemaModel({
8
+ const ListJobsInputModel = K5({
11
9
  name: "ListJobsInput",
12
10
  description: "Input for listing jobs",
13
11
  fields: {
14
12
  status: {
15
- type: ScalarTypeEnum.String_unsecure(),
13
+ type: E5.String_unsecure(),
16
14
  isOptional: true
17
15
  },
18
16
  clientId: {
19
- type: ScalarTypeEnum.String_unsecure(),
17
+ type: E5.String_unsecure(),
20
18
  isOptional: true
21
19
  },
22
20
  limit: {
23
- type: ScalarTypeEnum.Int_unsecure(),
21
+ type: E5.Int_unsecure(),
24
22
  isOptional: true
25
23
  },
26
24
  offset: {
27
- type: ScalarTypeEnum.Int_unsecure(),
25
+ type: E5.Int_unsecure(),
28
26
  isOptional: true
29
27
  }
30
28
  }
31
29
  });
32
- const ListJobsOutputModel = defineSchemaModel({
30
+ const ListJobsOutputModel = K5({
33
31
  name: "ListJobsOutput",
34
32
  description: "Output for listing jobs",
35
33
  fields: {
@@ -39,7 +37,7 @@ const ListJobsOutputModel = defineSchemaModel({
39
37
  isList: true
40
38
  },
41
39
  total: {
42
- type: ScalarTypeEnum.Int_unsecure(),
40
+ type: E5.Int_unsecure(),
43
41
  isOptional: false
44
42
  }
45
43
  }
@@ -116,4 +114,5 @@ const CompleteJobContract = defineCommand({
116
114
  });
117
115
 
118
116
  //#endregion
119
- export { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract };
117
+ export { CompleteJobContract, ListJobsInputModel, ListJobsOperation, ListJobsOutputModel, ScheduleJobContract };
118
+ //# sourceMappingURL=job.contracts.js.map