@triveria/wallet 0.0.58 → 0.0.60

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 (2) hide show
  1. package/api.js +87 -87
  2. package/package.json +1 -1
package/api.js CHANGED
@@ -1090,9 +1090,9 @@ const DefaultApiFp = function (configuration) {
1090
1090
  var _a, _b, _c;
1091
1091
  return __awaiter(this, void 0, void 0, function* () {
1092
1092
  const localVarAxiosArgs = yield localVarAxiosParamCreator.accreditAsTrustedIssuer(walletId, options);
1093
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1094
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.accreditAsTrustedIssuer']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1095
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1093
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1094
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.accreditAsTrustedIssuer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1095
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1096
1096
  });
1097
1097
  },
1098
1098
  /**
@@ -1106,9 +1106,9 @@ const DefaultApiFp = function (configuration) {
1106
1106
  var _a, _b, _c;
1107
1107
  return __awaiter(this, void 0, void 0, function* () {
1108
1108
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialCreate(walletId, credentialPayload, options);
1109
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1110
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialCreate']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1111
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1109
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1110
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1111
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1112
1112
  });
1113
1113
  },
1114
1114
  /**
@@ -1122,9 +1122,9 @@ const DefaultApiFp = function (configuration) {
1122
1122
  var _a, _b, _c;
1123
1123
  return __awaiter(this, void 0, void 0, function* () {
1124
1124
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialGet(credentialId, walletId, options);
1125
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1126
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialGet']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1127
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1125
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1126
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1127
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1128
1128
  });
1129
1129
  },
1130
1130
  /**
@@ -1138,9 +1138,9 @@ const DefaultApiFp = function (configuration) {
1138
1138
  var _a, _b, _c;
1139
1139
  return __awaiter(this, void 0, void 0, function* () {
1140
1140
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialImport(walletId, credentialImport, options);
1141
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1142
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialImport']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1143
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1141
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1142
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialImport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1143
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1144
1144
  });
1145
1145
  },
1146
1146
  /**
@@ -1155,9 +1155,9 @@ const DefaultApiFp = function (configuration) {
1155
1155
  var _a, _b, _c;
1156
1156
  return __awaiter(this, void 0, void 0, function* () {
1157
1157
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialList(walletId, interaction, type, options);
1158
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1159
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialList']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1160
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1158
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1159
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1160
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1161
1161
  });
1162
1162
  },
1163
1163
  /**
@@ -1172,9 +1172,9 @@ const DefaultApiFp = function (configuration) {
1172
1172
  var _a, _b, _c;
1173
1173
  return __awaiter(this, void 0, void 0, function* () {
1174
1174
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialMetadataPatch(credentialId, walletId, credentialMetadata, options);
1175
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1176
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialMetadataPatch']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1177
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1175
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1176
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialMetadataPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1177
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1178
1178
  });
1179
1179
  },
1180
1180
  /**
@@ -1189,9 +1189,9 @@ const DefaultApiFp = function (configuration) {
1189
1189
  var _a, _b, _c;
1190
1190
  return __awaiter(this, void 0, void 0, function* () {
1191
1191
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialPatch(credentialId, walletId, credentialPayload, options);
1192
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1193
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialPatch']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1194
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1192
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1193
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1194
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1195
1195
  });
1196
1196
  },
1197
1197
  /**
@@ -1205,9 +1205,9 @@ const DefaultApiFp = function (configuration) {
1205
1205
  var _a, _b, _c;
1206
1206
  return __awaiter(this, void 0, void 0, function* () {
1207
1207
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialRequest(walletId, credentialRequest, options);
1208
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1209
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialRequest']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1210
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1208
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1209
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1210
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1211
1211
  });
1212
1212
  },
1213
1213
  /**
@@ -1221,9 +1221,9 @@ const DefaultApiFp = function (configuration) {
1221
1221
  var _a, _b, _c;
1222
1222
  return __awaiter(this, void 0, void 0, function* () {
1223
1223
  const localVarAxiosArgs = yield localVarAxiosParamCreator.credentialRevoke(credentialId, walletId, options);
1224
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1225
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialRevoke']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1226
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1224
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1225
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.credentialRevoke']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1226
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1227
1227
  });
1228
1228
  },
1229
1229
  /**
@@ -1237,9 +1237,9 @@ const DefaultApiFp = function (configuration) {
1237
1237
  var _a, _b, _c;
1238
1238
  return __awaiter(this, void 0, void 0, function* () {
1239
1239
  const localVarAxiosArgs = yield localVarAxiosParamCreator.deferredStatus(deferredId, walletId, options);
1240
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1241
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.deferredStatus']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1242
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1240
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1241
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.deferredStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1242
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1243
1243
  });
1244
1244
  },
1245
1245
  /**
@@ -1252,9 +1252,9 @@ const DefaultApiFp = function (configuration) {
1252
1252
  var _a, _b, _c;
1253
1253
  return __awaiter(this, void 0, void 0, function* () {
1254
1254
  const localVarAxiosArgs = yield localVarAxiosParamCreator.getCurrentDid(walletId, options);
1255
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1256
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getCurrentDid']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1257
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1255
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1256
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getCurrentDid']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1257
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1258
1258
  });
1259
1259
  },
1260
1260
  /**
@@ -1266,9 +1266,9 @@ const DefaultApiFp = function (configuration) {
1266
1266
  var _a, _b, _c;
1267
1267
  return __awaiter(this, void 0, void 0, function* () {
1268
1268
  const localVarAxiosArgs = yield localVarAxiosParamCreator.healthCheck(options);
1269
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1270
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.healthCheck']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1271
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1269
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1270
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.healthCheck']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1271
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1272
1272
  });
1273
1273
  },
1274
1274
  /**
@@ -1282,9 +1282,9 @@ const DefaultApiFp = function (configuration) {
1282
1282
  var _a, _b, _c;
1283
1283
  return __awaiter(this, void 0, void 0, function* () {
1284
1284
  const localVarAxiosArgs = yield localVarAxiosParamCreator.holderCreateAuthOffer(walletId, holderAuthOfferCreationRequest, options);
1285
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1286
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.holderCreateAuthOffer']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1287
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1285
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1286
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.holderCreateAuthOffer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1287
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1288
1288
  });
1289
1289
  },
1290
1290
  /**
@@ -1297,9 +1297,9 @@ const DefaultApiFp = function (configuration) {
1297
1297
  var _a, _b, _c;
1298
1298
  return __awaiter(this, void 0, void 0, function* () {
1299
1299
  const localVarAxiosArgs = yield localVarAxiosParamCreator.issuerCredentialTypesList(url, options);
1300
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1301
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.issuerCredentialTypesList']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1302
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1300
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1301
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.issuerCredentialTypesList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1302
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1303
1303
  });
1304
1304
  },
1305
1305
  /**
@@ -1313,9 +1313,9 @@ const DefaultApiFp = function (configuration) {
1313
1313
  var _a, _b, _c;
1314
1314
  return __awaiter(this, void 0, void 0, function* () {
1315
1315
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcAcceptOffer(walletId, vcOffer, options);
1316
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1317
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAcceptOffer']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1318
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1316
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1317
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAcceptOffer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1318
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1319
1319
  });
1320
1320
  },
1321
1321
  /**
@@ -1330,9 +1330,9 @@ const DefaultApiFp = function (configuration) {
1330
1330
  var _a, _b, _c;
1331
1331
  return __awaiter(this, void 0, void 0, function* () {
1332
1332
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcAddCredToIssuanceQueue(credentialId, walletId, issuanceQueueCredentialAdd, options);
1333
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1334
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAddCredToIssuanceQueue']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1335
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1333
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1334
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcAddCredToIssuanceQueue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1335
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1336
1336
  });
1337
1337
  },
1338
1338
  /**
@@ -1345,9 +1345,9 @@ const DefaultApiFp = function (configuration) {
1345
1345
  var _a, _b, _c;
1346
1346
  return __awaiter(this, void 0, void 0, function* () {
1347
1347
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcCreateIdTokenRequest(walletId, options);
1348
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1349
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcCreateIdTokenRequest']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1350
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1348
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1349
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcCreateIdTokenRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1350
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1351
1351
  });
1352
1352
  },
1353
1353
  /**
@@ -1361,9 +1361,9 @@ const DefaultApiFp = function (configuration) {
1361
1361
  var _a, _b, _c;
1362
1362
  return __awaiter(this, void 0, void 0, function* () {
1363
1363
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcInitiateDeferred(walletId, initAuthOffer, options);
1364
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1365
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcInitiateDeferred']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1366
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1364
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1365
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcInitiateDeferred']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1366
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1367
1367
  });
1368
1368
  },
1369
1369
  /**
@@ -1377,9 +1377,9 @@ const DefaultApiFp = function (configuration) {
1377
1377
  var _a, _b, _c;
1378
1378
  return __awaiter(this, void 0, void 0, function* () {
1379
1379
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcInitiateIntime(walletId, initAuthOffer, options);
1380
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1381
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcInitiateIntime']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1382
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1380
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1381
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcInitiateIntime']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1382
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1383
1383
  });
1384
1384
  },
1385
1385
  /**
@@ -1393,9 +1393,9 @@ const DefaultApiFp = function (configuration) {
1393
1393
  var _a, _b, _c;
1394
1394
  return __awaiter(this, void 0, void 0, function* () {
1395
1395
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcInitiatePreauth(walletId, initPreAuthOffer, options);
1396
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1397
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcInitiatePreauth']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1398
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1396
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1397
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcInitiatePreauth']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1398
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1399
1399
  });
1400
1400
  },
1401
1401
  /**
@@ -1409,9 +1409,9 @@ const DefaultApiFp = function (configuration) {
1409
1409
  var _a, _b, _c;
1410
1410
  return __awaiter(this, void 0, void 0, function* () {
1411
1411
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcPresentCredentials(walletId, presentationRequest, options);
1412
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1413
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcPresentCredentials']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1414
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1412
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1413
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcPresentCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1414
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1415
1415
  });
1416
1416
  },
1417
1417
  /**
@@ -1425,9 +1425,9 @@ const DefaultApiFp = function (configuration) {
1425
1425
  var _a, _b, _c;
1426
1426
  return __awaiter(this, void 0, void 0, function* () {
1427
1427
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcSendIdToken(walletId, idTokenSendRequest, options);
1428
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1429
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcSendIdToken']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1430
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1428
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1429
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcSendIdToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1430
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1431
1431
  });
1432
1432
  },
1433
1433
  /**
@@ -1441,9 +1441,9 @@ const DefaultApiFp = function (configuration) {
1441
1441
  var _a, _b, _c;
1442
1442
  return __awaiter(this, void 0, void 0, function* () {
1443
1443
  const localVarAxiosArgs = yield localVarAxiosParamCreator.oidcVerifyInitUrl(walletId, verifyInitRequest, options);
1444
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1445
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcVerifyInitUrl']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1446
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1444
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1445
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.oidcVerifyInitUrl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1446
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1447
1447
  });
1448
1448
  },
1449
1449
  /**
@@ -1456,9 +1456,9 @@ const DefaultApiFp = function (configuration) {
1456
1456
  var _a, _b, _c;
1457
1457
  return __awaiter(this, void 0, void 0, function* () {
1458
1458
  const localVarAxiosArgs = yield localVarAxiosParamCreator.onboardLegalEntity(walletId, options);
1459
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1460
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.onboardLegalEntity']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1461
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1459
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1460
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.onboardLegalEntity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1461
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1462
1462
  });
1463
1463
  },
1464
1464
  /**
@@ -1471,9 +1471,9 @@ const DefaultApiFp = function (configuration) {
1471
1471
  var _a, _b, _c;
1472
1472
  return __awaiter(this, void 0, void 0, function* () {
1473
1473
  const localVarAxiosArgs = yield localVarAxiosParamCreator.walletCreate(wallet, options);
1474
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1475
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletCreate']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1476
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1474
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1475
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1476
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1477
1477
  });
1478
1478
  },
1479
1479
  /**
@@ -1486,9 +1486,9 @@ const DefaultApiFp = function (configuration) {
1486
1486
  var _a, _b, _c;
1487
1487
  return __awaiter(this, void 0, void 0, function* () {
1488
1488
  const localVarAxiosArgs = yield localVarAxiosParamCreator.walletGet(walletId, options);
1489
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1490
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletGet']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1491
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1489
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1490
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1491
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1492
1492
  });
1493
1493
  },
1494
1494
  /**
@@ -1500,9 +1500,9 @@ const DefaultApiFp = function (configuration) {
1500
1500
  var _a, _b, _c;
1501
1501
  return __awaiter(this, void 0, void 0, function* () {
1502
1502
  const localVarAxiosArgs = yield localVarAxiosParamCreator.walletList(options);
1503
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1504
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletList']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1505
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1503
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1504
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1505
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1506
1506
  });
1507
1507
  },
1508
1508
  /**
@@ -1515,9 +1515,9 @@ const DefaultApiFp = function (configuration) {
1515
1515
  var _a, _b, _c;
1516
1516
  return __awaiter(this, void 0, void 0, function* () {
1517
1517
  const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotifications(walletId, options);
1518
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1519
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletNotifications']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1520
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1518
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1519
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletNotifications']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1520
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1521
1521
  });
1522
1522
  },
1523
1523
  /**
@@ -1531,9 +1531,9 @@ const DefaultApiFp = function (configuration) {
1531
1531
  var _a, _b, _c;
1532
1532
  return __awaiter(this, void 0, void 0, function* () {
1533
1533
  const localVarAxiosArgs = yield localVarAxiosParamCreator.walletPatch(walletId, wallet, options);
1534
- const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1535
- const operationBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletPatch']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
1536
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
1534
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1535
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1536
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1537
1537
  });
1538
1538
  },
1539
1539
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.58",
4
+ "version": "0.0.60",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {