@visa-check-r/integrations 0.0.9 → 0.0.11
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/dist/index.cjs.js +13 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +13 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -422,7 +422,7 @@ var updatePasswordResponseFields = ["success"];
|
|
|
422
422
|
|
|
423
423
|
// src/services/user/auth.service.ts
|
|
424
424
|
var createAuthService = (client) => ({
|
|
425
|
-
async
|
|
425
|
+
async changePassword(input, fetchFields, option) {
|
|
426
426
|
var _a, _b;
|
|
427
427
|
const res = await client.request(
|
|
428
428
|
authSchema.updatePassword(
|
|
@@ -1049,8 +1049,8 @@ var _getVisaProfileResponseNestedFields = {
|
|
|
1049
1049
|
...getReadinessScoreReviewResponseNestedFields
|
|
1050
1050
|
};
|
|
1051
1051
|
var getVisaProfileResponseNestedFields = {
|
|
1052
|
-
|
|
1053
|
-
|
|
1052
|
+
visaProfile: visaProfileQuery,
|
|
1053
|
+
..._getVisaProfileResponseNestedFields
|
|
1054
1054
|
};
|
|
1055
1055
|
var listVisaProfilesResponse = ["visaProfiles", "total"];
|
|
1056
1056
|
var listVisaProfilesResponseNestedFields = {
|
|
@@ -1198,18 +1198,24 @@ var createVisaProfileService = (client) => ({
|
|
|
1198
1198
|
return (_c = res.data) == null ? void 0 : _c.getVisaProfile;
|
|
1199
1199
|
},
|
|
1200
1200
|
async listVisaProfiles(input, fetchFields, option) {
|
|
1201
|
-
var _a, _b, _c;
|
|
1201
|
+
var _a, _b, _c, _d, _e;
|
|
1202
|
+
console.log(
|
|
1203
|
+
gqlQueryStringBuilder(
|
|
1204
|
+
(_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : listVisaProfilesResponse,
|
|
1205
|
+
(_b = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _b : listVisaProfilesResponseNestedFields
|
|
1206
|
+
)
|
|
1207
|
+
);
|
|
1202
1208
|
const res = await client.request(
|
|
1203
1209
|
visaProfileSchema.listVisaProfiles(
|
|
1204
1210
|
gqlQueryStringBuilder(
|
|
1205
|
-
(
|
|
1206
|
-
(
|
|
1211
|
+
(_c = fetchFields == null ? void 0 : fetchFields.root) != null ? _c : listVisaProfilesResponse,
|
|
1212
|
+
(_d = fetchFields == null ? void 0 : fetchFields.nestedFields) != null ? _d : listVisaProfilesResponseNestedFields
|
|
1207
1213
|
)
|
|
1208
1214
|
),
|
|
1209
1215
|
input,
|
|
1210
1216
|
option
|
|
1211
1217
|
);
|
|
1212
|
-
return (
|
|
1218
|
+
return (_e = res.data) == null ? void 0 : _e.listVisaProfiles;
|
|
1213
1219
|
}
|
|
1214
1220
|
});
|
|
1215
1221
|
|