@tesouro/embedded-components-react 0.2.249 → 0.2.252

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.
@@ -1,7 +1,19 @@
1
1
  import "./client/index.js";
2
2
  import { client as e } from "./client.gen.js";
3
3
  //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js
4
- var t = (t) => (t?.client ?? e).get({
4
+ var t = (t) => (t.client ?? e).post({
5
+ security: [{
6
+ key: "HTTPBearer",
7
+ scheme: "bearer",
8
+ type: "http"
9
+ }],
10
+ url: "/api/widget-gateway/disclosure-acceptance",
11
+ ...t,
12
+ headers: {
13
+ "Content-Type": "application/json",
14
+ ...t.headers
15
+ }
16
+ }), ee = (t) => (t?.client ?? e).get({
5
17
  security: [{
6
18
  key: "HTTPBearer",
7
19
  scheme: "bearer",
@@ -9,7 +21,7 @@ var t = (t) => (t?.client ?? e).get({
9
21
  }],
10
22
  url: "/api/widget-gateway/init",
11
23
  ...t
12
- }), ee = (t) => (t?.client ?? e).get({
24
+ }), te = (t) => (t?.client ?? e).get({
13
25
  security: [{
14
26
  key: "APPToken",
15
27
  scheme: "bearer",
@@ -17,7 +29,7 @@ var t = (t) => (t?.client ?? e).get({
17
29
  }],
18
30
  url: "/embedded-banking/v1/application-status",
19
31
  ...t
20
- }), te = (t) => (t.client ?? e).post({
32
+ }), n = (t) => (t.client ?? e).post({
21
33
  security: [{
22
34
  key: "APPToken",
23
35
  scheme: "bearer",
@@ -29,7 +41,7 @@ var t = (t) => (t?.client ?? e).get({
29
41
  "Content-Type": "application/json",
30
42
  ...t.headers
31
43
  }
32
- }), n = (t) => (t.client ?? e).patch({
44
+ }), r = (t) => (t.client ?? e).patch({
33
45
  security: [{
34
46
  key: "APPToken",
35
47
  scheme: "bearer",
@@ -41,7 +53,7 @@ var t = (t) => (t?.client ?? e).get({
41
53
  "Content-Type": "application/json",
42
54
  ...t.headers
43
55
  }
44
- }), r = (t) => (t.client ?? e).post({
56
+ }), i = (t) => (t.client ?? e).post({
45
57
  security: [{
46
58
  key: "APPToken",
47
59
  scheme: "bearer",
@@ -49,7 +61,7 @@ var t = (t) => (t?.client ?? e).get({
49
61
  }],
50
62
  url: "/embedded-banking/v1/bank-account-applications/{id}/submission",
51
63
  ...t
52
- }), i = (t) => (t?.client ?? e).get({
64
+ }), a = (t) => (t?.client ?? e).get({
53
65
  security: [{
54
66
  key: "APPToken",
55
67
  scheme: "bearer",
@@ -61,7 +73,7 @@ var t = (t) => (t?.client ?? e).get({
61
73
  }],
62
74
  url: "/embedded-banking/v1/bank-accounts",
63
75
  ...t
64
- }), a = (t) => (t.client ?? e).post({
76
+ }), o = (t) => (t.client ?? e).post({
65
77
  security: [{
66
78
  key: "APPToken",
67
79
  scheme: "bearer",
@@ -77,7 +89,7 @@ var t = (t) => (t?.client ?? e).get({
77
89
  "Content-Type": "application/json",
78
90
  ...t.headers
79
91
  }
80
- }), o = (t) => (t.client ?? e).post({
92
+ }), s = (t) => (t.client ?? e).post({
81
93
  security: [{
82
94
  key: "APPToken",
83
95
  scheme: "bearer",
@@ -93,7 +105,7 @@ var t = (t) => (t?.client ?? e).get({
93
105
  "Content-Type": "application/json",
94
106
  ...t.headers
95
107
  }
96
- }), s = (t) => (t.client ?? e).get({
108
+ }), c = (t) => (t.client ?? e).get({
97
109
  security: [{
98
110
  key: "APPToken",
99
111
  scheme: "bearer",
@@ -105,7 +117,7 @@ var t = (t) => (t?.client ?? e).get({
105
117
  }],
106
118
  url: "/embedded-banking/v1/bank-accounts/{id}",
107
119
  ...t
108
- }), c = (t) => (t.client ?? e).patch({
120
+ }), l = (t) => (t.client ?? e).patch({
109
121
  security: [{
110
122
  key: "APPToken",
111
123
  scheme: "bearer",
@@ -121,7 +133,7 @@ var t = (t) => (t?.client ?? e).get({
121
133
  "Content-Type": "application/json",
122
134
  ...t.headers
123
135
  }
124
- }), l = (t) => (t.client ?? e).get({
136
+ }), u = (t) => (t.client ?? e).get({
125
137
  security: [{
126
138
  key: "APPToken",
127
139
  scheme: "bearer",
@@ -133,7 +145,7 @@ var t = (t) => (t?.client ?? e).get({
133
145
  }],
134
146
  url: "/embedded-banking/v1/bank-accounts/{id}/access",
135
147
  ...t
136
- }), u = (t) => (t.client ?? e).post({
148
+ }), d = (t) => (t.client ?? e).post({
137
149
  security: [{
138
150
  key: "APPToken",
139
151
  scheme: "bearer",
@@ -149,7 +161,7 @@ var t = (t) => (t?.client ?? e).get({
149
161
  "Content-Type": "application/json",
150
162
  ...t.headers
151
163
  }
152
- }), d = (t) => (t.client ?? e).get({
164
+ }), f = (t) => (t.client ?? e).get({
153
165
  security: [{
154
166
  key: "APPToken",
155
167
  scheme: "bearer",
@@ -161,7 +173,7 @@ var t = (t) => (t?.client ?? e).get({
161
173
  }],
162
174
  url: "/embedded-banking/v1/bank-accounts/{id}/transactions",
163
175
  ...t
164
- }), f = (t) => (t.client ?? e).get({
176
+ }), p = (t) => (t.client ?? e).get({
165
177
  security: [{
166
178
  key: "APPToken",
167
179
  scheme: "bearer",
@@ -173,7 +185,7 @@ var t = (t) => (t?.client ?? e).get({
173
185
  }],
174
186
  url: "/embedded-banking/v1/bank-accounts/{id}/transactions/download",
175
187
  ...t
176
- }), p = (t) => (t.client ?? e).get({
188
+ }), m = (t) => (t.client ?? e).get({
177
189
  security: [{
178
190
  key: "APPToken",
179
191
  scheme: "bearer",
@@ -185,7 +197,7 @@ var t = (t) => (t?.client ?? e).get({
185
197
  }],
186
198
  url: "/embedded-banking/v1/bank-accounts/{id}/transfers",
187
199
  ...t
188
- }), m = (t) => (t?.client ?? e).get({
200
+ }), h = (t) => (t?.client ?? e).get({
189
201
  security: [{
190
202
  key: "APPToken",
191
203
  scheme: "bearer",
@@ -197,7 +209,7 @@ var t = (t) => (t?.client ?? e).get({
197
209
  }],
198
210
  url: "/embedded-banking/v1/credit-cards",
199
211
  ...t
200
- }), h = (t) => (t.client ?? e).get({
212
+ }), g = (t) => (t.client ?? e).get({
201
213
  security: [{
202
214
  key: "APPToken",
203
215
  scheme: "bearer",
@@ -209,7 +221,7 @@ var t = (t) => (t?.client ?? e).get({
209
221
  }],
210
222
  url: "/embedded-banking/v1/credit-cards/{cardId}",
211
223
  ...t
212
- }), g = (t) => (t?.client ?? e).get({
224
+ }), _ = (t) => (t?.client ?? e).get({
213
225
  security: [{
214
226
  key: "APPToken",
215
227
  scheme: "bearer",
@@ -221,7 +233,7 @@ var t = (t) => (t?.client ?? e).get({
221
233
  }],
222
234
  url: "/embedded-banking/v1/debit-cards",
223
235
  ...t
224
- }), _ = (t) => (t.client ?? e).get({
236
+ }), v = (t) => (t.client ?? e).get({
225
237
  security: [{
226
238
  key: "APPToken",
227
239
  scheme: "bearer",
@@ -233,14 +245,6 @@ var t = (t) => (t?.client ?? e).get({
233
245
  }],
234
246
  url: "/embedded-banking/v1/debit-cards/{cardId}",
235
247
  ...t
236
- }), v = (t) => (t?.client ?? e).post({
237
- security: [{
238
- key: "HTTPBearer",
239
- scheme: "bearer",
240
- type: "http"
241
- }],
242
- url: "/embedded-banking/v1/disclosures/accept",
243
- ...t
244
248
  }), y = (t) => (t?.client ?? e).get({
245
249
  security: [{
246
250
  key: "APPToken",
@@ -1126,6 +1130,14 @@ var t = (t) => (t?.client ?? e).get({
1126
1130
  ...t.headers
1127
1131
  }
1128
1132
  }), Ze = (t) => (t?.client ?? e).get({
1133
+ security: [{
1134
+ key: "HTTPBearer",
1135
+ scheme: "bearer",
1136
+ type: "http"
1137
+ }],
1138
+ url: "/identity/v1/disclosures",
1139
+ ...t
1140
+ }), Qe = (t) => (t?.client ?? e).get({
1129
1141
  security: [{
1130
1142
  key: "APPToken",
1131
1143
  scheme: "bearer",
@@ -1137,7 +1149,7 @@ var t = (t) => (t?.client ?? e).get({
1137
1149
  }],
1138
1150
  url: "/identity/v1/locations",
1139
1151
  ...t
1140
- }), Qe = (t) => (t.client ?? e).post({
1152
+ }), $e = (t) => (t.client ?? e).post({
1141
1153
  security: [{
1142
1154
  key: "APPToken",
1143
1155
  scheme: "bearer",
@@ -1153,7 +1165,7 @@ var t = (t) => (t?.client ?? e).get({
1153
1165
  "Content-Type": "application/json",
1154
1166
  ...t.headers
1155
1167
  }
1156
- }), $e = (t) => (t.client ?? e).delete({
1168
+ }), et = (t) => (t.client ?? e).delete({
1157
1169
  security: [{
1158
1170
  key: "APPToken",
1159
1171
  scheme: "bearer",
@@ -1165,7 +1177,7 @@ var t = (t) => (t?.client ?? e).get({
1165
1177
  }],
1166
1178
  url: "/identity/v1/locations/{locationId}",
1167
1179
  ...t
1168
- }), et = (t) => (t.client ?? e).get({
1180
+ }), tt = (t) => (t.client ?? e).get({
1169
1181
  security: [{
1170
1182
  key: "APPToken",
1171
1183
  scheme: "bearer",
@@ -1177,7 +1189,7 @@ var t = (t) => (t?.client ?? e).get({
1177
1189
  }],
1178
1190
  url: "/identity/v1/locations/{locationId}",
1179
1191
  ...t
1180
- }), tt = (t) => (t.client ?? e).put({
1192
+ }), nt = (t) => (t.client ?? e).put({
1181
1193
  security: [{
1182
1194
  key: "APPToken",
1183
1195
  scheme: "bearer",
@@ -1193,7 +1205,7 @@ var t = (t) => (t?.client ?? e).get({
1193
1205
  "Content-Type": "application/json",
1194
1206
  ...t.headers
1195
1207
  }
1196
- }), nt = (t) => (t.client ?? e).post({
1208
+ }), rt = (t) => (t.client ?? e).post({
1197
1209
  security: [{
1198
1210
  key: "APPToken",
1199
1211
  scheme: "bearer",
@@ -1209,7 +1221,7 @@ var t = (t) => (t?.client ?? e).get({
1209
1221
  "Content-Type": "application/json",
1210
1222
  ...t.headers
1211
1223
  }
1212
- }), rt = (t) => (t?.client ?? e).get({
1224
+ }), it = (t) => (t?.client ?? e).get({
1213
1225
  security: [{
1214
1226
  key: "APPToken",
1215
1227
  scheme: "bearer",
@@ -1221,7 +1233,7 @@ var t = (t) => (t?.client ?? e).get({
1221
1233
  }],
1222
1234
  url: "/identity/v1/roles",
1223
1235
  ...t
1224
- }), it = (t) => (t.client ?? e).post({
1236
+ }), at = (t) => (t.client ?? e).post({
1225
1237
  security: [{
1226
1238
  key: "APPToken",
1227
1239
  scheme: "bearer",
@@ -1237,7 +1249,7 @@ var t = (t) => (t?.client ?? e).get({
1237
1249
  "Content-Type": "application/json",
1238
1250
  ...t.headers
1239
1251
  }
1240
- }), at = (t) => (t.client ?? e).get({
1252
+ }), ot = (t) => (t.client ?? e).get({
1241
1253
  security: [{
1242
1254
  key: "APPToken",
1243
1255
  scheme: "bearer",
@@ -1249,7 +1261,7 @@ var t = (t) => (t?.client ?? e).get({
1249
1261
  }],
1250
1262
  url: "/identity/v1/roles/{roleId}/permissions",
1251
1263
  ...t
1252
- }), ot = (t) => (t.client ?? e).get({
1264
+ }), st = (t) => (t.client ?? e).get({
1253
1265
  security: [{
1254
1266
  key: "HTTPBearer",
1255
1267
  scheme: "bearer",
@@ -1257,7 +1269,7 @@ var t = (t) => (t?.client ?? e).get({
1257
1269
  }],
1258
1270
  url: "/identity/v1/user-data/{key}",
1259
1271
  ...t
1260
- }), st = (t) => (t.client ?? e).put({
1272
+ }), ct = (t) => (t.client ?? e).put({
1261
1273
  security: [{
1262
1274
  key: "HTTPBearer",
1263
1275
  scheme: "bearer",
@@ -1269,7 +1281,7 @@ var t = (t) => (t?.client ?? e).get({
1269
1281
  "Content-Type": "application/json",
1270
1282
  ...t.headers
1271
1283
  }
1272
- }), ct = (t) => (t?.client ?? e).get({
1284
+ }), lt = (t) => (t?.client ?? e).get({
1273
1285
  security: [{
1274
1286
  key: "APPToken",
1275
1287
  scheme: "bearer",
@@ -1281,7 +1293,7 @@ var t = (t) => (t?.client ?? e).get({
1281
1293
  }],
1282
1294
  url: "/identity/v1/users",
1283
1295
  ...t
1284
- }), lt = (t) => (t.client ?? e).post({
1296
+ }), ut = (t) => (t.client ?? e).post({
1285
1297
  security: [{
1286
1298
  key: "APPToken",
1287
1299
  scheme: "bearer",
@@ -1297,7 +1309,7 @@ var t = (t) => (t?.client ?? e).get({
1297
1309
  "Content-Type": "application/json",
1298
1310
  ...t.headers
1299
1311
  }
1300
- }), ut = (t) => (t.client ?? e).patch({
1312
+ }), dt = (t) => (t.client ?? e).patch({
1301
1313
  security: [{
1302
1314
  key: "APPToken",
1303
1315
  scheme: "bearer",
@@ -1313,7 +1325,7 @@ var t = (t) => (t?.client ?? e).get({
1313
1325
  "Content-Type": "application/json",
1314
1326
  ...t.headers
1315
1327
  }
1316
- }), dt = (t) => (t.client ?? e).post({
1328
+ }), ft = (t) => (t.client ?? e).post({
1317
1329
  security: [{
1318
1330
  key: "APPToken",
1319
1331
  scheme: "bearer",
@@ -1327,4 +1339,4 @@ var t = (t) => (t?.client ?? e).get({
1327
1339
  ...t
1328
1340
  });
1329
1341
  //#endregion
1330
- export { v as acceptDisclosures, Xe as bulkUpdateDepartmentMembers, nt as bulkUpdateLocationMembers, it as bulkUpdateRoleMembers, b as connectExternalBankAccount, D as createAchMoneyMovement, te as createApplication, a as createBankAccount, O as createBookTransfer, Ke as createDepartment, Qe as createLocation, lt as createUser, qe as deactivateDepartment, $e as deactivateLocation, N as deleteApprovalPoliciesId, L as deleteCounterpartsId, G as deleteCounterpartsIdBankAccountsId, ae as deleteLedgerAccountsId, le as deleteMeasureUnitsId, me as deleteProductsId, ve as deleteReceiptsId, Se as deleteReceivablesId, Be as deleteTagsId, dt as disableUser, f as downloadBankAccountTransactions, k as getAnalyticsPayables, A as getAnalyticsReceivables, t as getApiWidgetGatewayInit, ee as getApplicationStatus, j as getApprovalPolicies, s as getBankAccount, l as getBankAccountAccess, d as getBankAccountTransactions, p as getBankAccountTransfers, i as getBankAccounts, F as getCounterparts, R as getCounterpartsId, B as getCounterpartsIdAddresses, U as getCounterpartsIdBankAccounts, h as getCreditCardById, m as getCreditCards, _ as getDebitCardById, g as getDebitCards, Je as getDepartment, Y as getEntitiesIdSettings, J as getEntitiesMe, Z as getEntityUsers, Q as getEntityUsersMe, ne as getEntityUsersMyEntity, C as getExternalBankAccountAccess, y as getExternalBankAccounts, re as getLedgerAccounts, et as getLocation, se as getMeasureUnits, $ as getPayables, de as getPaymentTerms, fe as getProducts, he as getProductsId, _e as getReceipts, be as getReceivables, Ce as getReceivablesId, ke as getReceivablesIdHistory, Me as getReceivablesIdMails, Ie as getReceivablesIdPdfLink, Re as getTags, He as getTransactions, Ue as getTransactionsValidations, ot as getUserData, ct as getUsers, u as grantBankAccountAccess, w as grantExternalBankAccountAccess, T as linkExternalBankAccount, Ge as listDepartments, Ze as listLocations, at as listRolePermissions, rt as listRoles, o as manageBankAccountAccess, P as patchApprovalPoliciesId, z as patchCounterpartsId, H as patchCounterpartsIdAddressesId, K as patchCounterpartsIdBankAccountsId, X as patchEntitiesIdSettings, oe as patchLedgerAccountsId, ue as patchMeasureUnitsId, ge as patchProductsId, ye as patchReceiptsId, we as patchReceivablesId, Ve as patchTagsId, M as postApprovalPolicies, I as postCounterparts, V as postCounterpartsIdAddresses, W as postCounterpartsIdBankAccounts, q as postCounterpartsIdBankAccountsIdMakeDefault, ie as postLedgerAccounts, ce as postMeasureUnits, pe as postProducts, xe as postReceivables, Te as postReceivablesIdAccept, Ee as postReceivablesIdCancel, De as postReceivablesIdClone, Oe as postReceivablesIdDecline, Ae as postReceivablesIdIssue, Ne as postReceivablesIdMarkAsPaid, Pe as postReceivablesIdMarkAsPartiallyPaid, Fe as postReceivablesIdMarkAsUncollectible, Le as postReceivablesIdSend, ze as postTags, je as putReceivablesIdLineItems, We as putTransactionsValidations, r as submitApplication, x as unlinkExternalBankAccount, n as updateApplication, c as updateBankAccount, Ye as updateDepartment, S as updateExternalBankAccount, tt as updateLocation, ut as updateUser, st as upsertUserData, E as validateExternalBankAccount };
1342
+ export { Xe as bulkUpdateDepartmentMembers, rt as bulkUpdateLocationMembers, at as bulkUpdateRoleMembers, b as connectExternalBankAccount, D as createAchMoneyMovement, n as createApplication, o as createBankAccount, O as createBookTransfer, Ke as createDepartment, $e as createLocation, ut as createUser, qe as deactivateDepartment, et as deactivateLocation, N as deleteApprovalPoliciesId, L as deleteCounterpartsId, G as deleteCounterpartsIdBankAccountsId, ae as deleteLedgerAccountsId, le as deleteMeasureUnitsId, me as deleteProductsId, ve as deleteReceiptsId, Se as deleteReceivablesId, Be as deleteTagsId, ft as disableUser, p as downloadBankAccountTransactions, k as getAnalyticsPayables, A as getAnalyticsReceivables, ee as getApiWidgetGatewayInit, te as getApplicationStatus, j as getApprovalPolicies, c as getBankAccount, u as getBankAccountAccess, f as getBankAccountTransactions, m as getBankAccountTransfers, a as getBankAccounts, F as getCounterparts, R as getCounterpartsId, B as getCounterpartsIdAddresses, U as getCounterpartsIdBankAccounts, g as getCreditCardById, h as getCreditCards, v as getDebitCardById, _ as getDebitCards, Je as getDepartment, Ze as getDisclosures, Y as getEntitiesIdSettings, J as getEntitiesMe, Z as getEntityUsers, Q as getEntityUsersMe, ne as getEntityUsersMyEntity, C as getExternalBankAccountAccess, y as getExternalBankAccounts, re as getLedgerAccounts, tt as getLocation, se as getMeasureUnits, $ as getPayables, de as getPaymentTerms, fe as getProducts, he as getProductsId, _e as getReceipts, be as getReceivables, Ce as getReceivablesId, ke as getReceivablesIdHistory, Me as getReceivablesIdMails, Ie as getReceivablesIdPdfLink, Re as getTags, He as getTransactions, Ue as getTransactionsValidations, st as getUserData, lt as getUsers, d as grantBankAccountAccess, w as grantExternalBankAccountAccess, T as linkExternalBankAccount, Ge as listDepartments, Qe as listLocations, ot as listRolePermissions, it as listRoles, s as manageBankAccountAccess, P as patchApprovalPoliciesId, z as patchCounterpartsId, H as patchCounterpartsIdAddressesId, K as patchCounterpartsIdBankAccountsId, X as patchEntitiesIdSettings, oe as patchLedgerAccountsId, ue as patchMeasureUnitsId, ge as patchProductsId, ye as patchReceiptsId, we as patchReceivablesId, Ve as patchTagsId, t as postApiWidgetGatewayDisclosureAcceptance, M as postApprovalPolicies, I as postCounterparts, V as postCounterpartsIdAddresses, W as postCounterpartsIdBankAccounts, q as postCounterpartsIdBankAccountsIdMakeDefault, ie as postLedgerAccounts, ce as postMeasureUnits, pe as postProducts, xe as postReceivables, Te as postReceivablesIdAccept, Ee as postReceivablesIdCancel, De as postReceivablesIdClone, Oe as postReceivablesIdDecline, Ae as postReceivablesIdIssue, Ne as postReceivablesIdMarkAsPaid, Pe as postReceivablesIdMarkAsPartiallyPaid, Fe as postReceivablesIdMarkAsUncollectible, Le as postReceivablesIdSend, ze as postTags, je as putReceivablesIdLineItems, We as putTransactionsValidations, i as submitApplication, x as unlinkExternalBankAccount, r as updateApplication, l as updateBankAccount, Ye as updateDepartment, S as updateExternalBankAccount, nt as updateLocation, dt as updateUser, ct as upsertUserData, E as validateExternalBankAccount };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.2.249", n = "9e221a7992474f213e42e313f536399b0bafe580", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.2.252", n = "564dda023d90103959a7f30ad006c2dbdfeb4f44", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.2.249",
3
+ "version": "0.2.252",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {