@metriport/api-sdk 8.0.0 → 8.0.1-alpha.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.
@@ -10,71 +10,57 @@ export type ResourceTypeForConsolidation = (typeof resourceTypeForConsolidation)
10
10
  export declare const resourceSchema: z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"]>, "many">;
11
11
  export declare const consolidationConversionType: readonly ["html", "pdf", "json"];
12
12
  export type ConsolidationConversionType = (typeof consolidationConversionType)[number];
13
- export declare const consolidatedFilterSchema: z.ZodObject<{
14
- resources: z.ZodOptional<z.ZodString>;
15
- dateFrom: z.ZodOptional<z.ZodDate>;
16
- dateTo: z.ZodOptional<z.ZodDate>;
13
+ export declare const getConsolidatedFiltersSchema: z.ZodObject<{
14
+ resources: z.ZodOptional<z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"]>, "many">>;
15
+ dateFrom: z.ZodOptional<z.ZodString>;
16
+ dateTo: z.ZodOptional<z.ZodString>;
17
+ conversionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["html", "pdf", "json"]>>>;
17
18
  }, "strip", z.ZodTypeAny, {
18
- resources?: string | undefined;
19
- dateFrom?: Date | undefined;
20
- dateTo?: Date | undefined;
19
+ resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
20
+ dateFrom?: string | undefined;
21
+ dateTo?: string | undefined;
22
+ conversionType?: "html" | "pdf" | "json" | undefined;
21
23
  }, {
22
- resources?: string | undefined;
23
- dateFrom?: Date | undefined;
24
- dateTo?: Date | undefined;
24
+ resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
25
+ dateFrom?: string | undefined;
26
+ dateTo?: string | undefined;
27
+ conversionType?: "html" | "pdf" | "json" | undefined;
25
28
  }>;
26
- export type ConsolidatedFilter = z.infer<typeof consolidatedFilterSchema>;
29
+ export type GetConsolidatedFilters = z.infer<typeof getConsolidatedFiltersSchema>;
27
30
  export declare const consolidatedCountSchema: z.ZodObject<{
28
31
  total: z.ZodNumber;
29
32
  resources: z.ZodRecord<z.ZodString, z.ZodNumber>;
30
33
  filter: z.ZodObject<{
31
- resources: z.ZodOptional<z.ZodString>;
32
- dateFrom: z.ZodOptional<z.ZodDate>;
33
- dateTo: z.ZodOptional<z.ZodDate>;
34
+ dateFrom: z.ZodOptional<z.ZodString>;
35
+ dateTo: z.ZodOptional<z.ZodString>;
36
+ resources: z.ZodString;
34
37
  }, "strip", z.ZodTypeAny, {
35
- resources?: string | undefined;
36
- dateFrom?: Date | undefined;
37
- dateTo?: Date | undefined;
38
+ resources: string;
39
+ dateFrom?: string | undefined;
40
+ dateTo?: string | undefined;
38
41
  }, {
39
- resources?: string | undefined;
40
- dateFrom?: Date | undefined;
41
- dateTo?: Date | undefined;
42
+ resources: string;
43
+ dateFrom?: string | undefined;
44
+ dateTo?: string | undefined;
42
45
  }>;
43
46
  }, "strip", z.ZodTypeAny, {
44
47
  filter: {
45
- resources?: string | undefined;
46
- dateFrom?: Date | undefined;
47
- dateTo?: Date | undefined;
48
+ resources: string;
49
+ dateFrom?: string | undefined;
50
+ dateTo?: string | undefined;
48
51
  };
49
52
  total: number;
50
53
  resources: Record<string, number>;
51
54
  }, {
52
55
  filter: {
53
- resources?: string | undefined;
54
- dateFrom?: Date | undefined;
55
- dateTo?: Date | undefined;
56
+ resources: string;
57
+ dateFrom?: string | undefined;
58
+ dateTo?: string | undefined;
56
59
  };
57
60
  total: number;
58
61
  resources: Record<string, number>;
59
62
  }>;
60
63
  export type ConsolidatedCountResponse = z.infer<typeof consolidatedCountSchema>;
61
- export declare const getConsolidatedFiltersSchema: z.ZodObject<{
62
- resources: z.ZodOptional<z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"]>, "many">>;
63
- dateFrom: z.ZodOptional<z.ZodString>;
64
- dateTo: z.ZodOptional<z.ZodString>;
65
- conversionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["html", "pdf", "json"]>>>;
66
- }, "strip", z.ZodTypeAny, {
67
- resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
68
- dateFrom?: string | undefined;
69
- dateTo?: string | undefined;
70
- conversionType?: "html" | "pdf" | "json" | undefined;
71
- }, {
72
- resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
73
- dateFrom?: string | undefined;
74
- dateTo?: string | undefined;
75
- conversionType?: "html" | "pdf" | "json" | undefined;
76
- }>;
77
- export type GetConsolidatedFilters = z.infer<typeof getConsolidatedFiltersSchema>;
78
64
  export declare const consolidatedQuerySchema: z.ZodObject<{
79
65
  resources: z.ZodOptional<z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"]>, "many">>;
80
66
  dateFrom: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"fhir.d.ts","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,4BAA4B,qjCA+D/B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC;AAExF,eAAO,MAAM,4BAA4B,mCAAoC,CAAC;AAC9E,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC;AAExF,eAAO,MAAM,gBAAgB,2BAA4B,CAAC;AAC1D,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,eAAO,MAAM,4BAA4B,6lCAI/B,CAAC;A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M,gBAAgB,2BAA4B,CAAC;AAC1D,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,eAAO,MAAM,4BAA4B,6lCAI/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzF,eAAO,MAAM,cAAc,mnCAAgD,CAAC;AAE5E,eAAO,MAAM,2BAA2B,kCAAmC,CAAC;AAC5E,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAKvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEhF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.consolidatedQuerySchema = exports.getConsolidatedFiltersSchema = exports.consolidatedCountSchema = exports.consolidatedFilterSchema = exports.consolidationConversionType = exports.resourceSchema = exports.resourceTypeForConsolidation = exports.generalResources = exports.resourcesSearchableBySubject = exports.resourcesSearchableByPatient = void 0;
3
+ exports.consolidatedQuerySchema = exports.consolidatedCountSchema = exports.getConsolidatedFiltersSchema = exports.consolidationConversionType = exports.resourceSchema = exports.resourceTypeForConsolidation = exports.generalResources = exports.resourcesSearchableBySubject = exports.resourcesSearchableByPatient = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const patient_1 = require("./patient");
6
6
  exports.resourcesSearchableByPatient = [
@@ -76,22 +76,19 @@ exports.resourceTypeForConsolidation = [
76
76
  ];
77
77
  exports.resourceSchema = zod_1.z.array(zod_1.z.enum(exports.resourceTypeForConsolidation));
78
78
  exports.consolidationConversionType = ["html", "pdf", "json"];
79
- exports.consolidatedFilterSchema = zod_1.z.object({
80
- resources: zod_1.z.string().optional(),
81
- dateFrom: zod_1.z.date().optional(),
82
- dateTo: zod_1.z.date().optional(),
83
- });
84
- exports.consolidatedCountSchema = zod_1.z.object({
85
- total: zod_1.z.number(),
86
- resources: zod_1.z.record(zod_1.z.number()),
87
- filter: exports.consolidatedFilterSchema,
88
- });
89
- exports.getConsolidatedFiltersSchema = exports.consolidatedFilterSchema.extend({
79
+ exports.getConsolidatedFiltersSchema = zod_1.z.object({
90
80
  resources: zod_1.z.enum(exports.resourceTypeForConsolidation).array().optional(),
91
81
  dateFrom: zod_1.z.string().optional(),
92
82
  dateTo: zod_1.z.string().optional(),
93
83
  conversionType: zod_1.z.enum(exports.consolidationConversionType).default("json").optional(),
94
84
  });
85
+ exports.consolidatedCountSchema = zod_1.z.object({
86
+ total: zod_1.z.number(),
87
+ resources: zod_1.z.record(zod_1.z.number()),
88
+ filter: exports.getConsolidatedFiltersSchema.pick({ dateFrom: true, dateTo: true }).extend({
89
+ resources: zod_1.z.string(),
90
+ }),
91
+ });
95
92
  exports.consolidatedQuerySchema = exports.getConsolidatedFiltersSchema.extend({
96
93
  requestId: zod_1.z.string(),
97
94
  startedAt: zod_1.z.date(),
@@ -1 +1 @@
1
- {"version":3,"file":"fhir.js","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uCAA8C;AAEjC,QAAA,4BAA4B,GAAG;IAC1C,SAAS;IACT,oBAAoB;IACpB,aAAa;IACb,qBAAqB;IACrB,YAAY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;IAC/B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,cAAc,EAAE,OAAC,CAAC,IAAI,CAAC,mCAA2B,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;CAC/E,CAAC,CAAC;AAIU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,MAAM,EAAE,oCAA4B,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACjF,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;KACtB,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,uBAAuB,GAAG,oCAA4B,CAAC,MAAM,CAAC;IACzE,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,IAAI,EAAE;IACnB,MAAM,EAAE,2BAAiB;CAC1B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metriport/api-sdk",
3
- "version": "8.0.0",
3
+ "version": "8.0.1-alpha.0",
4
4
  "description": "Metriport helps you access and manage health and medical data, through a single open source API.",
5
5
  "author": "Metriport Inc. <contact@metriport.com>",
6
6
  "homepage": "https://metriport.com/",
@@ -56,8 +56,8 @@
56
56
  "url": "https://github.com/metriport/metriport/issues"
57
57
  },
58
58
  "dependencies": {
59
- "@metriport/commonwell-sdk": "^4.15.8",
60
- "@metriport/shared": "^0.8.0",
59
+ "@metriport/commonwell-sdk": "^4.15.8-alpha.0",
60
+ "@metriport/shared": "^0.8.0-alpha.0",
61
61
  "axios": "^1.3.4",
62
62
  "dayjs": "^1.11.7",
63
63
  "dotenv": "^16.3.1",
@@ -75,5 +75,5 @@
75
75
  "ts-jest": "29.1.1",
76
76
  "typescript": "^4.9.5"
77
77
  },
78
- "gitHead": "5d65f4af80f79c8af06185ac7ef52e72d2c1df6d"
78
+ "gitHead": "4f5cbe251b2eaba4685cd1c7c78476b8d18bb884"
79
79
  }