@visa-check-r/integrations 0.0.19 → 0.0.21
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 +2 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +0 -17
- package/dist/index.d.ts +0 -17
- package/dist/index.esm.js +2 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -36,25 +36,8 @@ type ConsultantDashboardMetricCount = Record<ConsultantDashboardMetricCountKey,
|
|
|
36
36
|
type AdminDashboardMatrixKey = "visaProfileCount" | "partnerCount" | "consultantCount" | "pendingReviewCount";
|
|
37
37
|
type AdminDashboardMatrix = Record<AdminDashboardMatrixKey, number>;
|
|
38
38
|
type HtmlString = string;
|
|
39
|
-
/**
|
|
40
|
-
* message ConsultantInvite {
|
|
41
|
-
// @gotags: bson:"id"
|
|
42
|
-
string id = 1;
|
|
43
|
-
// @gotags: bson:"consultantId"
|
|
44
|
-
string consultantId = 2;
|
|
45
|
-
// @gotags: bson:"email"
|
|
46
|
-
string email = 3;
|
|
47
|
-
// @gotags: bson:"expirationDate"
|
|
48
|
-
string expirationDate = 4;
|
|
49
|
-
// @gotags: bson:"createdAt"
|
|
50
|
-
string createdAt = 7;
|
|
51
|
-
// @gotags: bson:"updatedAt"
|
|
52
|
-
string updatedAt = 8;
|
|
53
|
-
}
|
|
54
|
-
*/
|
|
55
39
|
interface ConsultantInvite {
|
|
56
40
|
id: string;
|
|
57
|
-
consultantId: string;
|
|
58
41
|
email: string;
|
|
59
42
|
expirationDate: string;
|
|
60
43
|
createdAt: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -36,25 +36,8 @@ type ConsultantDashboardMetricCount = Record<ConsultantDashboardMetricCountKey,
|
|
|
36
36
|
type AdminDashboardMatrixKey = "visaProfileCount" | "partnerCount" | "consultantCount" | "pendingReviewCount";
|
|
37
37
|
type AdminDashboardMatrix = Record<AdminDashboardMatrixKey, number>;
|
|
38
38
|
type HtmlString = string;
|
|
39
|
-
/**
|
|
40
|
-
* message ConsultantInvite {
|
|
41
|
-
// @gotags: bson:"id"
|
|
42
|
-
string id = 1;
|
|
43
|
-
// @gotags: bson:"consultantId"
|
|
44
|
-
string consultantId = 2;
|
|
45
|
-
// @gotags: bson:"email"
|
|
46
|
-
string email = 3;
|
|
47
|
-
// @gotags: bson:"expirationDate"
|
|
48
|
-
string expirationDate = 4;
|
|
49
|
-
// @gotags: bson:"createdAt"
|
|
50
|
-
string createdAt = 7;
|
|
51
|
-
// @gotags: bson:"updatedAt"
|
|
52
|
-
string updatedAt = 8;
|
|
53
|
-
}
|
|
54
|
-
*/
|
|
55
39
|
interface ConsultantInvite {
|
|
56
40
|
id: string;
|
|
57
|
-
consultantId: string;
|
|
58
41
|
email: string;
|
|
59
42
|
expirationDate: string;
|
|
60
43
|
createdAt: string;
|
package/dist/index.esm.js
CHANGED
|
@@ -221,7 +221,6 @@ var userSchema = {
|
|
|
221
221
|
|
|
222
222
|
// src/services/user/user.entity.ts
|
|
223
223
|
var consultantInviteQuery = [
|
|
224
|
-
"consultantId",
|
|
225
224
|
"createdAt",
|
|
226
225
|
"email",
|
|
227
226
|
"expirationDate",
|
|
@@ -433,8 +432,8 @@ var authSchema = {
|
|
|
433
432
|
}
|
|
434
433
|
`,
|
|
435
434
|
signUp: (query) => `
|
|
436
|
-
mutation signUp($user: UserInput!, $password: String
|
|
437
|
-
signUp(user: $user, password: $password) {
|
|
435
|
+
mutation signUp($user: UserInput!, $password: String!, $partnerReferenceCode: String, $consultantCode: String) {
|
|
436
|
+
signUp(user: $user, password: $password, partnerReferenceCode: $partnerReferenceCode, consultantCode: $consultantCode) {
|
|
438
437
|
${query}
|
|
439
438
|
}
|
|
440
439
|
}
|