@lssm/lib.contracts 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.
- package/LICENSE +21 -0
- package/dist/app-config/contracts.d.ts +50 -50
- package/dist/app-config/contracts.js +54 -56
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/events.js +31 -33
- package/dist/app-config/lifecycle-contracts.d.ts +80 -80
- package/dist/app-config/lifecycle-contracts.js +66 -68
- package/dist/client/react/form-render.d.ts +6 -6
- package/dist/client/react/form-render.js +15 -15
- package/dist/contracts-adapter-hydration.js +2 -2
- package/dist/data-views/query-generator.d.ts +2 -2
- package/dist/data-views/query-generator.js +1 -1
- package/dist/data-views/runtime.d.ts +2 -2
- package/dist/data-views/runtime.js +2 -2
- package/dist/docs/index.js +0 -6
- package/dist/docs/meta.docs.js +3 -0
- package/dist/docs/tech-contracts.docs.js +3 -0
- package/dist/forms.d.ts +4 -4
- package/dist/forms.js +3 -2
- package/dist/index.js +2 -3
- package/dist/integrations/contracts.d.ts +105 -104
- package/dist/integrations/contracts.js +63 -65
- package/dist/integrations/openbanking/contracts/accounts.d.ts +69 -68
- package/dist/integrations/openbanking/contracts/accounts.js +29 -31
- package/dist/integrations/openbanking/contracts/balances.d.ts +37 -36
- package/dist/integrations/openbanking/contracts/balances.js +16 -18
- package/dist/integrations/openbanking/contracts/transactions.d.ts +51 -50
- package/dist/integrations/openbanking/contracts/transactions.js +30 -32
- package/dist/integrations/openbanking/guards.js +1 -0
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/models.js +58 -60
- package/dist/integrations/providers/impls/gmail-inbound.js +1 -1
- package/dist/integrations/providers/impls/gmail-outbound.js +4 -4
- package/dist/integrations/providers/impls/mistral-llm.d.ts +1 -1
- package/dist/integrations/providers/impls/mistral-llm.js +1 -1
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +1 -1
- package/dist/integrations/providers/impls/provider-factory.js +4 -1
- package/dist/integrations/providers/impls/qdrant-vector.js +2 -2
- package/dist/integrations/runtime.d.ts +1 -1
- package/dist/integrations/runtime.js +1 -1
- package/dist/integrations/secrets/manager.js +1 -1
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +1 -1
- package/dist/jsonschema.d.ts +3 -3
- package/dist/knowledge/contracts.d.ts +69 -68
- package/dist/knowledge/contracts.js +42 -44
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.js +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/onboarding-base.js +20 -22
- package/dist/ownership.d.ts +4 -6
- package/dist/ownership.js +4 -5
- package/dist/presentations.d.ts +3 -3
- package/dist/presentations.v2.js +5 -2
- package/dist/promptRegistry.d.ts +2 -2
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js +1 -0
- package/dist/resources.js +4 -1
- package/dist/schema/dist/index.js +4683 -6
- package/dist/schema-to-markdown.d.ts +1 -1
- package/dist/schema-to-markdown.js +1 -1
- package/dist/server/graphql-pothos.js +0 -1
- package/dist/server/rest-elysia.d.ts +1 -1
- package/dist/server/rest-express.js +0 -3
- package/dist/server/rest-generic.d.ts +1 -1
- package/dist/server/rest-generic.js +0 -1
- package/dist/server/rest-next-mcp.js +1 -1
- package/dist/server/rest-next-pages.js +0 -3
- package/dist/workflow/adapters/db-adapter.d.ts +19 -7
- package/dist/workflow/adapters/db-adapter.js +3 -3
- package/dist/workflow/expression.js +3 -2
- package/dist/workflow/validation.js +1 -0
- package/package.json +19 -18
- package/dist/docs/PUBLISHING.docblock.d.ts +0 -6
- package/dist/docs/PUBLISHING.docblock.js +0 -17
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -17
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -17
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -17
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -17
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.d.ts +0 -6
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -17
- package/dist/schema/dist/EnumType.js +0 -2
- package/dist/schema/dist/FieldType.js +0 -49
- package/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/schema/dist/entity/index.js +0 -2
- package/dist/schema/dist/entity/types.js +0 -1
|
@@ -1,46 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SchemaModel } from "../../../schema/dist/SchemaModel.js";
|
|
3
|
-
import "../../../schema/dist/index.js";
|
|
1
|
+
import { E5, x8 } from "../../../schema/dist/index.js";
|
|
4
2
|
import { defineCommand, defineQuery } from "../../../spec.js";
|
|
5
3
|
import { BankAccountRecord } from "../models.js";
|
|
6
4
|
import { OPENBANKING_TELEMETRY_EVENTS } from "../telemetry.js";
|
|
7
5
|
|
|
8
6
|
//#region src/integrations/openbanking/contracts/accounts.ts
|
|
9
|
-
const OpenBankingListAccountsInput = new
|
|
7
|
+
const OpenBankingListAccountsInput = new x8({
|
|
10
8
|
name: "OpenBankingListAccountsInput",
|
|
11
9
|
description: "Parameters for listing bank accounts through the open banking provider.",
|
|
12
10
|
fields: {
|
|
13
11
|
tenantId: {
|
|
14
|
-
type:
|
|
12
|
+
type: E5.ID(),
|
|
15
13
|
isOptional: false
|
|
16
14
|
},
|
|
17
15
|
userId: {
|
|
18
|
-
type:
|
|
16
|
+
type: E5.ID(),
|
|
19
17
|
isOptional: false
|
|
20
18
|
},
|
|
21
19
|
connectionId: {
|
|
22
|
-
type:
|
|
20
|
+
type: E5.ID(),
|
|
23
21
|
isOptional: true
|
|
24
22
|
},
|
|
25
23
|
includeBalances: {
|
|
26
|
-
type:
|
|
24
|
+
type: E5.Boolean(),
|
|
27
25
|
isOptional: true
|
|
28
26
|
},
|
|
29
27
|
institutionId: {
|
|
30
|
-
type:
|
|
28
|
+
type: E5.String_unsecure(),
|
|
31
29
|
isOptional: true
|
|
32
30
|
},
|
|
33
31
|
cursor: {
|
|
34
|
-
type:
|
|
32
|
+
type: E5.String_unsecure(),
|
|
35
33
|
isOptional: true
|
|
36
34
|
},
|
|
37
35
|
pageSize: {
|
|
38
|
-
type:
|
|
36
|
+
type: E5.Int_unsecure(),
|
|
39
37
|
isOptional: true
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
40
|
});
|
|
43
|
-
const OpenBankingListAccountsOutput = new
|
|
41
|
+
const OpenBankingListAccountsOutput = new x8({
|
|
44
42
|
name: "OpenBankingListAccountsOutput",
|
|
45
43
|
description: "Paginated list of bank accounts available to the tenant and user.",
|
|
46
44
|
fields: {
|
|
@@ -50,87 +48,87 @@ const OpenBankingListAccountsOutput = new SchemaModel({
|
|
|
50
48
|
isArray: true
|
|
51
49
|
},
|
|
52
50
|
nextCursor: {
|
|
53
|
-
type:
|
|
51
|
+
type: E5.String_unsecure(),
|
|
54
52
|
isOptional: true
|
|
55
53
|
},
|
|
56
54
|
hasMore: {
|
|
57
|
-
type:
|
|
55
|
+
type: E5.Boolean(),
|
|
58
56
|
isOptional: true
|
|
59
57
|
}
|
|
60
58
|
}
|
|
61
59
|
});
|
|
62
|
-
const OpenBankingGetAccountInput = new
|
|
60
|
+
const OpenBankingGetAccountInput = new x8({
|
|
63
61
|
name: "OpenBankingGetAccountInput",
|
|
64
62
|
description: "Parameters for retrieving a specific bank account.",
|
|
65
63
|
fields: {
|
|
66
64
|
tenantId: {
|
|
67
|
-
type:
|
|
65
|
+
type: E5.ID(),
|
|
68
66
|
isOptional: false
|
|
69
67
|
},
|
|
70
68
|
accountId: {
|
|
71
|
-
type:
|
|
69
|
+
type: E5.ID(),
|
|
72
70
|
isOptional: false
|
|
73
71
|
},
|
|
74
72
|
includeBalances: {
|
|
75
|
-
type:
|
|
73
|
+
type: E5.Boolean(),
|
|
76
74
|
isOptional: true
|
|
77
75
|
},
|
|
78
76
|
includeLatestTransactions: {
|
|
79
|
-
type:
|
|
77
|
+
type: E5.Boolean(),
|
|
80
78
|
isOptional: true
|
|
81
79
|
}
|
|
82
80
|
}
|
|
83
81
|
});
|
|
84
|
-
const OpenBankingSyncAccountsInput = new
|
|
82
|
+
const OpenBankingSyncAccountsInput = new x8({
|
|
85
83
|
name: "OpenBankingSyncAccountsInput",
|
|
86
84
|
description: "Command payload to trigger an account synchronisation against the open banking provider.",
|
|
87
85
|
fields: {
|
|
88
86
|
tenantId: {
|
|
89
|
-
type:
|
|
87
|
+
type: E5.ID(),
|
|
90
88
|
isOptional: false
|
|
91
89
|
},
|
|
92
90
|
userId: {
|
|
93
|
-
type:
|
|
91
|
+
type: E5.ID(),
|
|
94
92
|
isOptional: true
|
|
95
93
|
},
|
|
96
94
|
connectionId: {
|
|
97
|
-
type:
|
|
95
|
+
type: E5.ID(),
|
|
98
96
|
isOptional: false
|
|
99
97
|
},
|
|
100
98
|
accountIds: {
|
|
101
|
-
type:
|
|
99
|
+
type: E5.ID(),
|
|
102
100
|
isArray: true,
|
|
103
101
|
isOptional: true
|
|
104
102
|
},
|
|
105
103
|
forceFullRefresh: {
|
|
106
|
-
type:
|
|
104
|
+
type: E5.Boolean(),
|
|
107
105
|
isOptional: true
|
|
108
106
|
},
|
|
109
107
|
triggerWorkflows: {
|
|
110
|
-
type:
|
|
108
|
+
type: E5.Boolean(),
|
|
111
109
|
isOptional: true
|
|
112
110
|
}
|
|
113
111
|
}
|
|
114
112
|
});
|
|
115
|
-
const OpenBankingSyncAccountsOutput = new
|
|
113
|
+
const OpenBankingSyncAccountsOutput = new x8({
|
|
116
114
|
name: "OpenBankingSyncAccountsOutput",
|
|
117
115
|
description: "Result of a bank account synchronisation run.",
|
|
118
116
|
fields: {
|
|
119
117
|
synced: {
|
|
120
|
-
type:
|
|
118
|
+
type: E5.Int_unsecure(),
|
|
121
119
|
isOptional: false
|
|
122
120
|
},
|
|
123
121
|
failed: {
|
|
124
|
-
type:
|
|
122
|
+
type: E5.Int_unsecure(),
|
|
125
123
|
isOptional: false
|
|
126
124
|
},
|
|
127
125
|
errors: {
|
|
128
|
-
type:
|
|
126
|
+
type: E5.String_unsecure(),
|
|
129
127
|
isArray: true,
|
|
130
128
|
isOptional: true
|
|
131
129
|
},
|
|
132
130
|
nextSyncSuggestedAt: {
|
|
133
|
-
type:
|
|
131
|
+
type: E5.DateTime(),
|
|
134
132
|
isOptional: true
|
|
135
133
|
}
|
|
136
134
|
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { ContractSpec } from "../../../spec.js";
|
|
1
|
+
import { AnyContractSpec, ContractSpec } from "../../../spec.js";
|
|
2
2
|
import { SpecRegistry } from "../../../registry.js";
|
|
3
|
-
import
|
|
3
|
+
import "../../../index.js";
|
|
4
|
+
import * as _lssm_lib_schema482 from "@lssm/lib.schema";
|
|
4
5
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
6
|
|
|
6
7
|
//#region src/integrations/openbanking/contracts/balances.d.ts
|
|
7
8
|
declare const OpenBankingGetBalances: ContractSpec<SchemaModel<{
|
|
8
9
|
tenantId: {
|
|
9
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
10
11
|
isOptional: false;
|
|
11
12
|
};
|
|
12
13
|
accountId: {
|
|
13
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
14
15
|
isOptional: false;
|
|
15
16
|
};
|
|
16
17
|
balanceTypes: {
|
|
17
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
18
19
|
isArray: true;
|
|
19
20
|
isOptional: true;
|
|
20
21
|
};
|
|
@@ -22,47 +23,47 @@ declare const OpenBankingGetBalances: ContractSpec<SchemaModel<{
|
|
|
22
23
|
balances: {
|
|
23
24
|
type: SchemaModel<{
|
|
24
25
|
id: {
|
|
25
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
26
27
|
isOptional: false;
|
|
27
28
|
};
|
|
28
29
|
accountId: {
|
|
29
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
30
31
|
isOptional: false;
|
|
31
32
|
};
|
|
32
33
|
tenantId: {
|
|
33
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
34
35
|
isOptional: false;
|
|
35
36
|
};
|
|
36
37
|
connectionId: {
|
|
37
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
38
39
|
isOptional: false;
|
|
39
40
|
};
|
|
40
41
|
balanceType: {
|
|
41
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
42
43
|
isOptional: false;
|
|
43
44
|
};
|
|
44
45
|
currentBalance: {
|
|
45
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
46
47
|
isOptional: false;
|
|
47
48
|
};
|
|
48
49
|
availableBalance: {
|
|
49
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
50
51
|
isOptional: true;
|
|
51
52
|
};
|
|
52
53
|
currency: {
|
|
53
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
54
55
|
isOptional: false;
|
|
55
56
|
};
|
|
56
57
|
lastUpdatedAt: {
|
|
57
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
58
59
|
isOptional: false;
|
|
59
60
|
};
|
|
60
61
|
createdAt: {
|
|
61
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
62
63
|
isOptional: false;
|
|
63
64
|
};
|
|
64
65
|
metadata: {
|
|
65
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema482.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
66
67
|
isOptional: true;
|
|
67
68
|
};
|
|
68
69
|
}>;
|
|
@@ -70,77 +71,77 @@ declare const OpenBankingGetBalances: ContractSpec<SchemaModel<{
|
|
|
70
71
|
isArray: true;
|
|
71
72
|
};
|
|
72
73
|
asOf: {
|
|
73
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
74
75
|
isOptional: true;
|
|
75
76
|
};
|
|
76
77
|
}>, undefined>;
|
|
77
78
|
declare const OpenBankingRefreshBalances: ContractSpec<SchemaModel<{
|
|
78
79
|
tenantId: {
|
|
79
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
80
81
|
isOptional: false;
|
|
81
82
|
};
|
|
82
83
|
accountId: {
|
|
83
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
84
85
|
isOptional: false;
|
|
85
86
|
};
|
|
86
87
|
connectionId: {
|
|
87
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
88
89
|
isOptional: true;
|
|
89
90
|
};
|
|
90
91
|
balanceTypes: {
|
|
91
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
92
93
|
isArray: true;
|
|
93
94
|
isOptional: true;
|
|
94
95
|
};
|
|
95
96
|
forceRefresh: {
|
|
96
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema482.FieldType<boolean, boolean>;
|
|
97
98
|
isOptional: true;
|
|
98
99
|
};
|
|
99
100
|
}>, SchemaModel<{
|
|
100
101
|
balances: {
|
|
101
102
|
type: SchemaModel<{
|
|
102
103
|
id: {
|
|
103
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
104
105
|
isOptional: false;
|
|
105
106
|
};
|
|
106
107
|
accountId: {
|
|
107
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
108
109
|
isOptional: false;
|
|
109
110
|
};
|
|
110
111
|
tenantId: {
|
|
111
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
112
113
|
isOptional: false;
|
|
113
114
|
};
|
|
114
115
|
connectionId: {
|
|
115
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
116
117
|
isOptional: false;
|
|
117
118
|
};
|
|
118
119
|
balanceType: {
|
|
119
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
120
121
|
isOptional: false;
|
|
121
122
|
};
|
|
122
123
|
currentBalance: {
|
|
123
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
124
125
|
isOptional: false;
|
|
125
126
|
};
|
|
126
127
|
availableBalance: {
|
|
127
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema482.FieldType<number, number>;
|
|
128
129
|
isOptional: true;
|
|
129
130
|
};
|
|
130
131
|
currency: {
|
|
131
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
132
133
|
isOptional: false;
|
|
133
134
|
};
|
|
134
135
|
lastUpdatedAt: {
|
|
135
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
136
137
|
isOptional: false;
|
|
137
138
|
};
|
|
138
139
|
createdAt: {
|
|
139
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
140
141
|
isOptional: false;
|
|
141
142
|
};
|
|
142
143
|
metadata: {
|
|
143
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema482.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
144
145
|
isOptional: true;
|
|
145
146
|
};
|
|
146
147
|
}>;
|
|
@@ -148,16 +149,16 @@ declare const OpenBankingRefreshBalances: ContractSpec<SchemaModel<{
|
|
|
148
149
|
isArray: true;
|
|
149
150
|
};
|
|
150
151
|
refreshedAt: {
|
|
151
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema482.FieldType<Date, string>;
|
|
152
153
|
isOptional: false;
|
|
153
154
|
};
|
|
154
155
|
errors: {
|
|
155
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema482.FieldType<string, string>;
|
|
156
157
|
isArray: true;
|
|
157
158
|
isOptional: true;
|
|
158
159
|
};
|
|
159
160
|
}>, undefined>;
|
|
160
|
-
declare const openBankingBalanceContracts: Record<string,
|
|
161
|
+
declare const openBankingBalanceContracts: Record<string, AnyContractSpec>;
|
|
161
162
|
declare function registerOpenBankingBalanceContracts(registry: SpecRegistry): SpecRegistry;
|
|
162
163
|
//#endregion
|
|
163
164
|
export { OpenBankingGetBalances, OpenBankingRefreshBalances, openBankingBalanceContracts, registerOpenBankingBalanceContracts };
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SchemaModel } from "../../../schema/dist/SchemaModel.js";
|
|
3
|
-
import "../../../schema/dist/index.js";
|
|
1
|
+
import { E5, x8 } from "../../../schema/dist/index.js";
|
|
4
2
|
import { defineCommand, defineQuery } from "../../../spec.js";
|
|
5
3
|
import { AccountBalanceRecord } from "../models.js";
|
|
6
4
|
import { OPENBANKING_TELEMETRY_EVENTS } from "../telemetry.js";
|
|
7
5
|
|
|
8
6
|
//#region src/integrations/openbanking/contracts/balances.ts
|
|
9
|
-
const OpenBankingGetBalancesInput = new
|
|
7
|
+
const OpenBankingGetBalancesInput = new x8({
|
|
10
8
|
name: "OpenBankingGetBalancesInput",
|
|
11
9
|
description: "Parameters for retrieving bank account balances from the canonical ledger.",
|
|
12
10
|
fields: {
|
|
13
11
|
tenantId: {
|
|
14
|
-
type:
|
|
12
|
+
type: E5.ID(),
|
|
15
13
|
isOptional: false
|
|
16
14
|
},
|
|
17
15
|
accountId: {
|
|
18
|
-
type:
|
|
16
|
+
type: E5.ID(),
|
|
19
17
|
isOptional: false
|
|
20
18
|
},
|
|
21
19
|
balanceTypes: {
|
|
22
|
-
type:
|
|
20
|
+
type: E5.String_unsecure(),
|
|
23
21
|
isArray: true,
|
|
24
22
|
isOptional: true
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
25
|
});
|
|
28
|
-
const OpenBankingGetBalancesOutput = new
|
|
26
|
+
const OpenBankingGetBalancesOutput = new x8({
|
|
29
27
|
name: "OpenBankingGetBalancesOutput",
|
|
30
28
|
description: "Canonical balances for a bank account.",
|
|
31
29
|
fields: {
|
|
@@ -35,39 +33,39 @@ const OpenBankingGetBalancesOutput = new SchemaModel({
|
|
|
35
33
|
isArray: true
|
|
36
34
|
},
|
|
37
35
|
asOf: {
|
|
38
|
-
type:
|
|
36
|
+
type: E5.DateTime(),
|
|
39
37
|
isOptional: true
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
40
|
});
|
|
43
|
-
const OpenBankingRefreshBalancesInput = new
|
|
41
|
+
const OpenBankingRefreshBalancesInput = new x8({
|
|
44
42
|
name: "OpenBankingRefreshBalancesInput",
|
|
45
43
|
description: "Command payload to refresh balances for a bank account via the open banking provider.",
|
|
46
44
|
fields: {
|
|
47
45
|
tenantId: {
|
|
48
|
-
type:
|
|
46
|
+
type: E5.ID(),
|
|
49
47
|
isOptional: false
|
|
50
48
|
},
|
|
51
49
|
accountId: {
|
|
52
|
-
type:
|
|
50
|
+
type: E5.ID(),
|
|
53
51
|
isOptional: false
|
|
54
52
|
},
|
|
55
53
|
connectionId: {
|
|
56
|
-
type:
|
|
54
|
+
type: E5.ID(),
|
|
57
55
|
isOptional: true
|
|
58
56
|
},
|
|
59
57
|
balanceTypes: {
|
|
60
|
-
type:
|
|
58
|
+
type: E5.String_unsecure(),
|
|
61
59
|
isArray: true,
|
|
62
60
|
isOptional: true
|
|
63
61
|
},
|
|
64
62
|
forceRefresh: {
|
|
65
|
-
type:
|
|
63
|
+
type: E5.Boolean(),
|
|
66
64
|
isOptional: true
|
|
67
65
|
}
|
|
68
66
|
}
|
|
69
67
|
});
|
|
70
|
-
const OpenBankingRefreshBalancesOutput = new
|
|
68
|
+
const OpenBankingRefreshBalancesOutput = new x8({
|
|
71
69
|
name: "OpenBankingRefreshBalancesOutput",
|
|
72
70
|
description: "Result of a balance refresh against the open banking provider.",
|
|
73
71
|
fields: {
|
|
@@ -77,11 +75,11 @@ const OpenBankingRefreshBalancesOutput = new SchemaModel({
|
|
|
77
75
|
isArray: true
|
|
78
76
|
},
|
|
79
77
|
refreshedAt: {
|
|
80
|
-
type:
|
|
78
|
+
type: E5.DateTime(),
|
|
81
79
|
isOptional: false
|
|
82
80
|
},
|
|
83
81
|
errors: {
|
|
84
|
-
type:
|
|
82
|
+
type: E5.String_unsecure(),
|
|
85
83
|
isArray: true,
|
|
86
84
|
isOptional: true
|
|
87
85
|
}
|