@financeable/aggregation 0.15.1 → 0.16.0

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 (42) hide show
  1. package/examples/package-lock.json +3 -3
  2. package/hooks/oauth2scopes.d.ts +1 -1
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/models/components/abnstatus1.d.ts +13 -0
  7. package/models/components/abnstatus1.d.ts.map +1 -0
  8. package/models/components/{entityattributesinput.js → abnstatus1.js} +11 -15
  9. package/models/components/abnstatus1.js.map +1 -0
  10. package/models/components/businessloanbusinessapplicationrelationships.d.ts +6 -3
  11. package/models/components/businessloanbusinessapplicationrelationships.d.ts.map +1 -1
  12. package/models/components/businessloanbusinessapplicationrelationships.js +2 -2
  13. package/models/components/businessloanbusinessapplicationrelationships.js.map +1 -1
  14. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts +6 -3
  15. package/models/components/commercialsecuredloancommercialapplicationrelationships.d.ts.map +1 -1
  16. package/models/components/commercialsecuredloancommercialapplicationrelationships.js +2 -2
  17. package/models/components/commercialsecuredloancommercialapplicationrelationships.js.map +1 -1
  18. package/models/components/entityattributes.d.ts +6 -19
  19. package/models/components/entityattributes.d.ts.map +1 -1
  20. package/models/components/entityattributes.js +6 -16
  21. package/models/components/entityattributes.js.map +1 -1
  22. package/models/components/entitycreateattributescreateitem.d.ts +70 -0
  23. package/models/components/entitycreateattributescreateitem.d.ts.map +1 -0
  24. package/models/components/entitycreateattributescreateitem.js +86 -0
  25. package/models/components/entitycreateattributescreateitem.js.map +1 -0
  26. package/models/components/index.d.ts +2 -1
  27. package/models/components/index.d.ts.map +1 -1
  28. package/models/components/index.js +2 -1
  29. package/models/components/index.js.map +1 -1
  30. package/package.json +3 -3
  31. package/src/hooks/oauth2scopes.ts +1 -1
  32. package/src/lib/config.ts +3 -3
  33. package/src/models/components/abnstatus1.ts +20 -0
  34. package/src/models/components/businessloanbusinessapplicationrelationships.ts +10 -7
  35. package/src/models/components/commercialsecuredloancommercialapplicationrelationships.ts +10 -7
  36. package/src/models/components/entityattributes.ts +11 -27
  37. package/src/models/components/entitycreateattributescreateitem.ts +103 -0
  38. package/src/models/components/index.ts +2 -1
  39. package/models/components/entityattributesinput.d.ts +0 -24
  40. package/models/components/entityattributesinput.d.ts.map +0 -1
  41. package/models/components/entityattributesinput.js.map +0 -1
  42. package/src/models/components/entityattributesinput.ts +0 -49
@@ -1,49 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
-
7
- export type EntityAttributesInput = {
8
- id?: string | undefined;
9
- entityName?: string | undefined;
10
- abn?: string | undefined;
11
- turnover?: number | undefined;
12
- industryType?: string | undefined;
13
- emails?: Array<string> | undefined;
14
- phoneNumbers?: Array<string> | undefined;
15
- };
16
-
17
- /** @internal */
18
- export type EntityAttributesInput$Outbound = {
19
- id?: string | undefined;
20
- entityName?: string | undefined;
21
- abn?: string | undefined;
22
- turnover?: number | undefined;
23
- industryType?: string | undefined;
24
- emails?: Array<string> | undefined;
25
- phoneNumbers?: Array<string> | undefined;
26
- };
27
-
28
- /** @internal */
29
- export const EntityAttributesInput$outboundSchema: z.ZodType<
30
- EntityAttributesInput$Outbound,
31
- z.ZodTypeDef,
32
- EntityAttributesInput
33
- > = z.object({
34
- id: z.string().optional(),
35
- entityName: z.string().optional(),
36
- abn: z.string().optional(),
37
- turnover: z.number().int().optional(),
38
- industryType: z.string().optional(),
39
- emails: z.array(z.string()).optional(),
40
- phoneNumbers: z.array(z.string()).optional(),
41
- });
42
-
43
- export function entityAttributesInputToJSON(
44
- entityAttributesInput: EntityAttributesInput,
45
- ): string {
46
- return JSON.stringify(
47
- EntityAttributesInput$outboundSchema.parse(entityAttributesInput),
48
- );
49
- }