@frankieone/one-sdk 0.1.0-poc.15

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 (45) hide show
  1. package/README.md +25 -0
  2. package/dist/index.esm.js +2 -0
  3. package/dist/index.esm.js.map +1 -0
  4. package/dist/index.umd.js +2 -0
  5. package/dist/index.umd.js.map +1 -0
  6. package/dist/types/api/ExternalIdvClient.d.ts +19 -0
  7. package/dist/types/api/FrankieApiClient.d.ts +54 -0
  8. package/dist/types/api/index.d.ts +1 -0
  9. package/dist/types/facades/POC/reactComponent.d.ts +644 -0
  10. package/dist/types/facades/POC/routing.d.ts +3 -0
  11. package/dist/types/facades/POC/viewWrapper.d.ts +4 -0
  12. package/dist/types/facades/POC/webEntry.d.ts +6 -0
  13. package/dist/types/index.d.ts +11 -0
  14. package/dist/types/models/Address.d.ts +67 -0
  15. package/dist/types/models/Admin.d.ts +1295 -0
  16. package/dist/types/models/Applicant.d.ts +115 -0
  17. package/dist/types/models/CheckSummary.d.ts +164 -0
  18. package/dist/types/models/ConfigurationReader.d.ts +7 -0
  19. package/dist/types/models/Core.d.ts +2725 -0
  20. package/dist/types/models/Document.d.ts +112 -0
  21. package/dist/types/models/General.d.ts +196 -0
  22. package/dist/types/models/Organisation.d.ts +36 -0
  23. package/dist/types/models/Profile.d.ts +27 -0
  24. package/dist/types/models/SupportingDocument.d.ts +95 -0
  25. package/dist/types/models/User.d.ts +27 -0
  26. package/dist/types/models/index.d.ts +14 -0
  27. package/dist/types/models/transformers/apiState.d.ts +23 -0
  28. package/dist/types/models/utils/address.d.ts +2 -0
  29. package/dist/types/models/utils/base64.d.ts +11 -0
  30. package/dist/types/models/utils/buildCycleUtils.d.ts +1 -0
  31. package/dist/types/models/utils/constants.d.ts +75 -0
  32. package/dist/types/models/utils/date.d.ts +5 -0
  33. package/dist/types/models/utils/getCountryDetails.d.ts +9 -0
  34. package/dist/types/models/utils/getDocumentDetails.d.ts +8 -0
  35. package/dist/types/models/utils/helper.d.ts +4 -0
  36. package/dist/types/models/utils/index.d.ts +11 -0
  37. package/dist/types/models/utils/isEmpty.d.ts +5 -0
  38. package/dist/types/models/utils/sanitiser.d.ts +8 -0
  39. package/dist/types/modules/router/ReactDictionaryRouter.d.ts +15 -0
  40. package/dist/types/modules/router/common/routing.d.ts +25 -0
  41. package/dist/types/modules/store/ReactInMemoryStore.d.ts +24 -0
  42. package/dist/types/uiComponents/reactWeb.d.ts +8 -0
  43. package/dist/types/utils/base64.d.ts +11 -0
  44. package/dist/types/utils/env2Url.d.ts +1 -0
  45. package/package.json +64 -0
@@ -0,0 +1,67 @@
1
+ import { Core } from "./Core";
2
+ export interface IAddressPayload {
3
+ buildingName: string | null;
4
+ postalCode: string | null;
5
+ state: string | null;
6
+ streetName: string | null;
7
+ streetNumber: string | null;
8
+ streetType: string | null;
9
+ suburb: string | null;
10
+ town: string | null;
11
+ unitNumber: string | null;
12
+ addressType: Core["AddressObject"]["addressType"] | null;
13
+ country: string | null;
14
+ addressId: string | null;
15
+ longForm: string | null;
16
+ data?: {
17
+ [k: string]: any;
18
+ };
19
+ isAddedByCustomer?: boolean | null;
20
+ }
21
+ export declare class Address implements IAddressPayload {
22
+ buildingName: string | null;
23
+ postalCode: string | null;
24
+ state: string | null;
25
+ streetNumber: string | null;
26
+ streetType: string | null;
27
+ suburb: string | null;
28
+ town: string | null;
29
+ unitNumber: string | null;
30
+ addressType: Core["AddressObject"]["addressType"] | null;
31
+ _streetName: string | null;
32
+ country: string | null;
33
+ addressId: string | null;
34
+ data: {
35
+ [k: string]: any;
36
+ };
37
+ isAddedByCustomer: boolean | null;
38
+ constructor();
39
+ constructor(a: IAddressConstructor);
40
+ set streetName(name: string | null);
41
+ get streetName(): string | null;
42
+ get isIncomplete(): boolean;
43
+ hasExplicitLongForm(): boolean;
44
+ set longForm(value: string | null);
45
+ get longForm(): string | null;
46
+ clone(): Address;
47
+ toJSON(): IAddressPayload;
48
+ static fromJSON(payload: IAddressPayload): Address;
49
+ static default(): Address;
50
+ }
51
+ export declare function addressTypeSorter(a: Address["addressType"], b: Address["addressType"]): number;
52
+ interface IAddressConstructor {
53
+ buildingName: string | null;
54
+ postalCode: string | null;
55
+ state: string | null;
56
+ streetName: string | null;
57
+ streetNumber: string | null;
58
+ streetType: string | null;
59
+ suburb: string | null;
60
+ town: string | null;
61
+ unitNumber: string | null;
62
+ addressType: Core["AddressObject"]["addressType"] | null;
63
+ country: string | null;
64
+ addressId: string | null;
65
+ isAddedByCustomer: boolean;
66
+ }
67
+ export {};