@contractspec/lib.contracts 1.54.0 → 1.55.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.
@@ -2,21 +2,21 @@ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.j
2
2
  import "../../../operations/index.js";
3
3
  import { OperationSpecRegistry } from "../../../operations/registry.js";
4
4
  import "../../../index.js";
5
- import * as _contractspec_lib_schema610 from "@contractspec/lib.schema";
5
+ import * as _contractspec_lib_schema432 from "@contractspec/lib.schema";
6
6
  import { SchemaModel } from "@contractspec/lib.schema";
7
7
 
8
8
  //#region src/integrations/openbanking/contracts/balances.d.ts
9
9
  declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
10
10
  tenantId: {
11
- type: _contractspec_lib_schema610.FieldType<string, string>;
11
+ type: _contractspec_lib_schema432.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  accountId: {
15
- type: _contractspec_lib_schema610.FieldType<string, string>;
15
+ type: _contractspec_lib_schema432.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  balanceTypes: {
19
- type: _contractspec_lib_schema610.FieldType<string, string>;
19
+ type: _contractspec_lib_schema432.FieldType<string, string>;
20
20
  isArray: true;
21
21
  isOptional: true;
22
22
  };
@@ -24,47 +24,47 @@ declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
24
24
  balances: {
25
25
  type: SchemaModel<{
26
26
  id: {
27
- type: _contractspec_lib_schema610.FieldType<string, string>;
27
+ type: _contractspec_lib_schema432.FieldType<string, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  accountId: {
31
- type: _contractspec_lib_schema610.FieldType<string, string>;
31
+ type: _contractspec_lib_schema432.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  tenantId: {
35
- type: _contractspec_lib_schema610.FieldType<string, string>;
35
+ type: _contractspec_lib_schema432.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  connectionId: {
39
- type: _contractspec_lib_schema610.FieldType<string, string>;
39
+ type: _contractspec_lib_schema432.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  balanceType: {
43
- type: _contractspec_lib_schema610.FieldType<string, string>;
43
+ type: _contractspec_lib_schema432.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  currentBalance: {
47
- type: _contractspec_lib_schema610.FieldType<number, number>;
47
+ type: _contractspec_lib_schema432.FieldType<number, number>;
48
48
  isOptional: false;
49
49
  };
50
50
  availableBalance: {
51
- type: _contractspec_lib_schema610.FieldType<number, number>;
51
+ type: _contractspec_lib_schema432.FieldType<number, number>;
52
52
  isOptional: true;
53
53
  };
54
54
  currency: {
55
- type: _contractspec_lib_schema610.FieldType<string, string>;
55
+ type: _contractspec_lib_schema432.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  lastUpdatedAt: {
59
- type: _contractspec_lib_schema610.FieldType<Date, string>;
59
+ type: _contractspec_lib_schema432.FieldType<Date, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  createdAt: {
63
- type: _contractspec_lib_schema610.FieldType<Date, string>;
63
+ type: _contractspec_lib_schema432.FieldType<Date, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  metadata: {
67
- type: _contractspec_lib_schema610.FieldType<Record<string, unknown>, Record<string, unknown>>;
67
+ type: _contractspec_lib_schema432.FieldType<Record<string, unknown>, Record<string, unknown>>;
68
68
  isOptional: true;
69
69
  };
70
70
  }>;
@@ -72,77 +72,77 @@ declare const OpenBankingGetBalances: OperationSpec<SchemaModel<{
72
72
  isArray: true;
73
73
  };
74
74
  asOf: {
75
- type: _contractspec_lib_schema610.FieldType<Date, string>;
75
+ type: _contractspec_lib_schema432.FieldType<Date, string>;
76
76
  isOptional: true;
77
77
  };
78
78
  }>, undefined>;
79
79
  declare const OpenBankingRefreshBalances: OperationSpec<SchemaModel<{
80
80
  tenantId: {
81
- type: _contractspec_lib_schema610.FieldType<string, string>;
81
+ type: _contractspec_lib_schema432.FieldType<string, string>;
82
82
  isOptional: false;
83
83
  };
84
84
  accountId: {
85
- type: _contractspec_lib_schema610.FieldType<string, string>;
85
+ type: _contractspec_lib_schema432.FieldType<string, string>;
86
86
  isOptional: false;
87
87
  };
88
88
  connectionId: {
89
- type: _contractspec_lib_schema610.FieldType<string, string>;
89
+ type: _contractspec_lib_schema432.FieldType<string, string>;
90
90
  isOptional: true;
91
91
  };
92
92
  balanceTypes: {
93
- type: _contractspec_lib_schema610.FieldType<string, string>;
93
+ type: _contractspec_lib_schema432.FieldType<string, string>;
94
94
  isArray: true;
95
95
  isOptional: true;
96
96
  };
97
97
  forceRefresh: {
98
- type: _contractspec_lib_schema610.FieldType<boolean, boolean>;
98
+ type: _contractspec_lib_schema432.FieldType<boolean, boolean>;
99
99
  isOptional: true;
100
100
  };
101
101
  }>, SchemaModel<{
102
102
  balances: {
103
103
  type: SchemaModel<{
104
104
  id: {
105
- type: _contractspec_lib_schema610.FieldType<string, string>;
105
+ type: _contractspec_lib_schema432.FieldType<string, string>;
106
106
  isOptional: false;
107
107
  };
108
108
  accountId: {
109
- type: _contractspec_lib_schema610.FieldType<string, string>;
109
+ type: _contractspec_lib_schema432.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  };
112
112
  tenantId: {
113
- type: _contractspec_lib_schema610.FieldType<string, string>;
113
+ type: _contractspec_lib_schema432.FieldType<string, string>;
114
114
  isOptional: false;
115
115
  };
116
116
  connectionId: {
117
- type: _contractspec_lib_schema610.FieldType<string, string>;
117
+ type: _contractspec_lib_schema432.FieldType<string, string>;
118
118
  isOptional: false;
119
119
  };
120
120
  balanceType: {
121
- type: _contractspec_lib_schema610.FieldType<string, string>;
121
+ type: _contractspec_lib_schema432.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  currentBalance: {
125
- type: _contractspec_lib_schema610.FieldType<number, number>;
125
+ type: _contractspec_lib_schema432.FieldType<number, number>;
126
126
  isOptional: false;
127
127
  };
128
128
  availableBalance: {
129
- type: _contractspec_lib_schema610.FieldType<number, number>;
129
+ type: _contractspec_lib_schema432.FieldType<number, number>;
130
130
  isOptional: true;
131
131
  };
132
132
  currency: {
133
- type: _contractspec_lib_schema610.FieldType<string, string>;
133
+ type: _contractspec_lib_schema432.FieldType<string, string>;
134
134
  isOptional: false;
135
135
  };
136
136
  lastUpdatedAt: {
137
- type: _contractspec_lib_schema610.FieldType<Date, string>;
137
+ type: _contractspec_lib_schema432.FieldType<Date, string>;
138
138
  isOptional: false;
139
139
  };
140
140
  createdAt: {
141
- type: _contractspec_lib_schema610.FieldType<Date, string>;
141
+ type: _contractspec_lib_schema432.FieldType<Date, string>;
142
142
  isOptional: false;
143
143
  };
144
144
  metadata: {
145
- type: _contractspec_lib_schema610.FieldType<Record<string, unknown>, Record<string, unknown>>;
145
+ type: _contractspec_lib_schema432.FieldType<Record<string, unknown>, Record<string, unknown>>;
146
146
  isOptional: true;
147
147
  };
148
148
  }>;
@@ -150,11 +150,11 @@ declare const OpenBankingRefreshBalances: OperationSpec<SchemaModel<{
150
150
  isArray: true;
151
151
  };
152
152
  refreshedAt: {
153
- type: _contractspec_lib_schema610.FieldType<Date, string>;
153
+ type: _contractspec_lib_schema432.FieldType<Date, string>;
154
154
  isOptional: false;
155
155
  };
156
156
  errors: {
157
- type: _contractspec_lib_schema610.FieldType<string, string>;
157
+ type: _contractspec_lib_schema432.FieldType<string, string>;
158
158
  isArray: true;
159
159
  isOptional: true;
160
160
  };
@@ -2,140 +2,140 @@ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.j
2
2
  import "../../../operations/index.js";
3
3
  import { OperationSpecRegistry } from "../../../operations/registry.js";
4
4
  import "../../../index.js";
5
- import * as _contractspec_lib_schema643 from "@contractspec/lib.schema";
5
+ import * as _contractspec_lib_schema530 from "@contractspec/lib.schema";
6
6
  import { SchemaModel } from "@contractspec/lib.schema";
7
7
 
8
8
  //#region src/integrations/openbanking/contracts/transactions.d.ts
9
9
  declare const OpenBankingListTransactions: OperationSpec<SchemaModel<{
10
10
  tenantId: {
11
- type: _contractspec_lib_schema643.FieldType<string, string>;
11
+ type: _contractspec_lib_schema530.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  accountId: {
15
- type: _contractspec_lib_schema643.FieldType<string, string>;
15
+ type: _contractspec_lib_schema530.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  from: {
19
- type: _contractspec_lib_schema643.FieldType<Date, string>;
19
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
20
20
  isOptional: true;
21
21
  };
22
22
  to: {
23
- type: _contractspec_lib_schema643.FieldType<Date, string>;
23
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
24
24
  isOptional: true;
25
25
  };
26
26
  cursor: {
27
- type: _contractspec_lib_schema643.FieldType<string, string>;
27
+ type: _contractspec_lib_schema530.FieldType<string, string>;
28
28
  isOptional: true;
29
29
  };
30
30
  pageSize: {
31
- type: _contractspec_lib_schema643.FieldType<number, number>;
31
+ type: _contractspec_lib_schema530.FieldType<number, number>;
32
32
  isOptional: true;
33
33
  };
34
34
  direction: {
35
- type: _contractspec_lib_schema643.FieldType<string, string>;
35
+ type: _contractspec_lib_schema530.FieldType<string, string>;
36
36
  isOptional: true;
37
37
  };
38
38
  minimumAmount: {
39
- type: _contractspec_lib_schema643.FieldType<number, number>;
39
+ type: _contractspec_lib_schema530.FieldType<number, number>;
40
40
  isOptional: true;
41
41
  };
42
42
  maximumAmount: {
43
- type: _contractspec_lib_schema643.FieldType<number, number>;
43
+ type: _contractspec_lib_schema530.FieldType<number, number>;
44
44
  isOptional: true;
45
45
  };
46
46
  category: {
47
- type: _contractspec_lib_schema643.FieldType<string, string>;
47
+ type: _contractspec_lib_schema530.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  }>, SchemaModel<{
51
51
  transactions: {
52
52
  type: SchemaModel<{
53
53
  id: {
54
- type: _contractspec_lib_schema643.FieldType<string, string>;
54
+ type: _contractspec_lib_schema530.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  accountId: {
58
- type: _contractspec_lib_schema643.FieldType<string, string>;
58
+ type: _contractspec_lib_schema530.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  tenantId: {
62
- type: _contractspec_lib_schema643.FieldType<string, string>;
62
+ type: _contractspec_lib_schema530.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  connectionId: {
66
- type: _contractspec_lib_schema643.FieldType<string, string>;
66
+ type: _contractspec_lib_schema530.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  externalId: {
70
- type: _contractspec_lib_schema643.FieldType<string, string>;
70
+ type: _contractspec_lib_schema530.FieldType<string, string>;
71
71
  isOptional: false;
72
72
  };
73
73
  amount: {
74
- type: _contractspec_lib_schema643.FieldType<number, number>;
74
+ type: _contractspec_lib_schema530.FieldType<number, number>;
75
75
  isOptional: false;
76
76
  };
77
77
  currency: {
78
- type: _contractspec_lib_schema643.FieldType<string, string>;
78
+ type: _contractspec_lib_schema530.FieldType<string, string>;
79
79
  isOptional: false;
80
80
  };
81
81
  date: {
82
- type: _contractspec_lib_schema643.FieldType<Date, string>;
82
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  bookingDate: {
86
- type: _contractspec_lib_schema643.FieldType<Date, string>;
86
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
87
87
  isOptional: true;
88
88
  };
89
89
  valueDate: {
90
- type: _contractspec_lib_schema643.FieldType<Date, string>;
90
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
91
91
  isOptional: true;
92
92
  };
93
93
  description: {
94
- type: _contractspec_lib_schema643.FieldType<string, string>;
94
+ type: _contractspec_lib_schema530.FieldType<string, string>;
95
95
  isOptional: true;
96
96
  };
97
97
  counterpartyName: {
98
- type: _contractspec_lib_schema643.FieldType<string, string>;
98
+ type: _contractspec_lib_schema530.FieldType<string, string>;
99
99
  isOptional: true;
100
100
  };
101
101
  counterpartyAccount: {
102
- type: _contractspec_lib_schema643.FieldType<string, string>;
102
+ type: _contractspec_lib_schema530.FieldType<string, string>;
103
103
  isOptional: true;
104
104
  };
105
105
  merchantCategoryCode: {
106
- type: _contractspec_lib_schema643.FieldType<string, string>;
106
+ type: _contractspec_lib_schema530.FieldType<string, string>;
107
107
  isOptional: true;
108
108
  };
109
109
  rawCategory: {
110
- type: _contractspec_lib_schema643.FieldType<string, string>;
110
+ type: _contractspec_lib_schema530.FieldType<string, string>;
111
111
  isOptional: true;
112
112
  };
113
113
  standardizedCategory: {
114
- type: _contractspec_lib_schema643.FieldType<string, string>;
114
+ type: _contractspec_lib_schema530.FieldType<string, string>;
115
115
  isOptional: true;
116
116
  };
117
117
  transactionType: {
118
- type: _contractspec_lib_schema643.FieldType<string, string>;
118
+ type: _contractspec_lib_schema530.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  status: {
122
- type: _contractspec_lib_schema643.FieldType<string, string>;
122
+ type: _contractspec_lib_schema530.FieldType<string, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  runningBalance: {
126
- type: _contractspec_lib_schema643.FieldType<number, number>;
126
+ type: _contractspec_lib_schema530.FieldType<number, number>;
127
127
  isOptional: true;
128
128
  };
129
129
  metadata: {
130
- type: _contractspec_lib_schema643.FieldType<Record<string, unknown>, Record<string, unknown>>;
130
+ type: _contractspec_lib_schema530.FieldType<Record<string, unknown>, Record<string, unknown>>;
131
131
  isOptional: true;
132
132
  };
133
133
  createdAt: {
134
- type: _contractspec_lib_schema643.FieldType<Date, string>;
134
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
135
135
  isOptional: false;
136
136
  };
137
137
  updatedAt: {
138
- type: _contractspec_lib_schema643.FieldType<Date, string>;
138
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
139
139
  isOptional: false;
140
140
  };
141
141
  }>;
@@ -143,66 +143,66 @@ declare const OpenBankingListTransactions: OperationSpec<SchemaModel<{
143
143
  isArray: true;
144
144
  };
145
145
  nextCursor: {
146
- type: _contractspec_lib_schema643.FieldType<string, string>;
146
+ type: _contractspec_lib_schema530.FieldType<string, string>;
147
147
  isOptional: true;
148
148
  };
149
149
  hasMore: {
150
- type: _contractspec_lib_schema643.FieldType<boolean, boolean>;
150
+ type: _contractspec_lib_schema530.FieldType<boolean, boolean>;
151
151
  isOptional: true;
152
152
  };
153
153
  }>, undefined>;
154
154
  declare const OpenBankingSyncTransactions: OperationSpec<SchemaModel<{
155
155
  tenantId: {
156
- type: _contractspec_lib_schema643.FieldType<string, string>;
156
+ type: _contractspec_lib_schema530.FieldType<string, string>;
157
157
  isOptional: false;
158
158
  };
159
159
  accountId: {
160
- type: _contractspec_lib_schema643.FieldType<string, string>;
160
+ type: _contractspec_lib_schema530.FieldType<string, string>;
161
161
  isOptional: false;
162
162
  };
163
163
  from: {
164
- type: _contractspec_lib_schema643.FieldType<Date, string>;
164
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
165
165
  isOptional: true;
166
166
  };
167
167
  to: {
168
- type: _contractspec_lib_schema643.FieldType<Date, string>;
168
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
169
169
  isOptional: true;
170
170
  };
171
171
  connectionId: {
172
- type: _contractspec_lib_schema643.FieldType<string, string>;
172
+ type: _contractspec_lib_schema530.FieldType<string, string>;
173
173
  isOptional: true;
174
174
  };
175
175
  includePending: {
176
- type: _contractspec_lib_schema643.FieldType<boolean, boolean>;
176
+ type: _contractspec_lib_schema530.FieldType<boolean, boolean>;
177
177
  isOptional: true;
178
178
  };
179
179
  backfillDays: {
180
- type: _contractspec_lib_schema643.FieldType<number, number>;
180
+ type: _contractspec_lib_schema530.FieldType<number, number>;
181
181
  isOptional: true;
182
182
  };
183
183
  }>, SchemaModel<{
184
184
  synced: {
185
- type: _contractspec_lib_schema643.FieldType<number, number>;
185
+ type: _contractspec_lib_schema530.FieldType<number, number>;
186
186
  isOptional: false;
187
187
  };
188
188
  failed: {
189
- type: _contractspec_lib_schema643.FieldType<number, number>;
189
+ type: _contractspec_lib_schema530.FieldType<number, number>;
190
190
  isOptional: false;
191
191
  };
192
192
  earliestSyncedAt: {
193
- type: _contractspec_lib_schema643.FieldType<Date, string>;
193
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
194
194
  isOptional: true;
195
195
  };
196
196
  latestSyncedAt: {
197
- type: _contractspec_lib_schema643.FieldType<Date, string>;
197
+ type: _contractspec_lib_schema530.FieldType<Date, string>;
198
198
  isOptional: true;
199
199
  };
200
200
  nextSinceToken: {
201
- type: _contractspec_lib_schema643.FieldType<string, string>;
201
+ type: _contractspec_lib_schema530.FieldType<string, string>;
202
202
  isOptional: true;
203
203
  };
204
204
  errors: {
205
- type: _contractspec_lib_schema643.FieldType<string, string>;
205
+ type: _contractspec_lib_schema530.FieldType<string, string>;
206
206
  isArray: true;
207
207
  isOptional: true;
208
208
  };