@quesmed/types-rn 2.6.92 → 2.6.94
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/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdminData } from '../../..';
|
|
1
|
+
import { AdminData, DB_TYPE } from '../../..';
|
|
2
2
|
import { EBatchType, EEntitlementType, EMockTestType, EOsceType, EPaceType, EProductType, ETopicType, FileData, IContentArgs, IContentResult, IResultData } from '../../../models';
|
|
3
3
|
export interface IBookOptions extends Omit<IContentArgs, 'difficulty'> {
|
|
4
4
|
topicTypeId: ETopicType;
|
|
@@ -84,3 +84,21 @@ export interface IDeleteImagesVar {
|
|
|
84
84
|
}
|
|
85
85
|
export type IDeleteImagesdata = AdminData<IResultData, 'deleteImages'>;
|
|
86
86
|
export declare const DELETE_IMAGES: import("@apollo/client").DocumentNode;
|
|
87
|
+
export interface ICopyContentVar {
|
|
88
|
+
file: FileData;
|
|
89
|
+
source: DB_TYPE;
|
|
90
|
+
destination: DB_TYPE;
|
|
91
|
+
type: EBatchType;
|
|
92
|
+
}
|
|
93
|
+
export type ICopyContentData = AdminData<Omit<IResultData, 'logFile' | 'batchId'>, 'copyContent'>;
|
|
94
|
+
export declare const COPY_CONTENT: import("@apollo/client").DocumentNode;
|
|
95
|
+
export interface IContactSyncVar {
|
|
96
|
+
emails: string[];
|
|
97
|
+
}
|
|
98
|
+
export type IContactSyncData = AdminData<Omit<IResultData, 'logFile' | 'batchId' | 'recordIds'>, 'contactSync'>;
|
|
99
|
+
export declare const CONTACT_SYNC: import("@apollo/client").DocumentNode;
|
|
100
|
+
export interface IContactSyncStatusVar {
|
|
101
|
+
jobIds: string[];
|
|
102
|
+
}
|
|
103
|
+
export type IContactSyncStatusData = AdminData<Omit<IResultData, 'logFile' | 'batchId' | 'recordIds'>, 'contactSyncStatus'>;
|
|
104
|
+
export declare const CONTACT_SYNC_STATUS: import("@apollo/client").DocumentNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DELETE_IMAGES = exports.QUEUE_STATUS = exports.DELETE_RECORDS = exports.DOWNLOAD_IMAGES = exports.UPLOAD_IMAGES = exports.PUBLIC_BATCH = exports.UPDATE_BATCH = exports.IMPORT_BATCH = exports.VALIDATE_MOCKTEST = exports.VALIDATE_QUESTIONS = exports.VALIDATE_STATIONS = exports.VALIDATE_BOOK = void 0;
|
|
3
|
+
exports.CONTACT_SYNC_STATUS = exports.CONTACT_SYNC = exports.COPY_CONTENT = exports.DELETE_IMAGES = exports.QUEUE_STATUS = exports.DELETE_RECORDS = exports.DOWNLOAD_IMAGES = exports.UPLOAD_IMAGES = exports.PUBLIC_BATCH = exports.UPDATE_BATCH = exports.IMPORT_BATCH = exports.VALIDATE_MOCKTEST = exports.VALIDATE_QUESTIONS = exports.VALIDATE_STATIONS = exports.VALIDATE_BOOK = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
exports.VALIDATE_BOOK = (0, client_1.gql) `
|
|
6
6
|
mutation ValidateBook($input: ValidateBookInput!) {
|
|
@@ -168,3 +168,50 @@ exports.DELETE_IMAGES = (0, client_1.gql) `
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
`;
|
|
171
|
+
exports.COPY_CONTENT = (0, client_1.gql) `
|
|
172
|
+
mutation CopyContent(
|
|
173
|
+
$file: FileDataInput!
|
|
174
|
+
$destination: Int!
|
|
175
|
+
$source: Int!
|
|
176
|
+
$type: Int!
|
|
177
|
+
) {
|
|
178
|
+
admin {
|
|
179
|
+
copyContent(
|
|
180
|
+
file: $file
|
|
181
|
+
destination: $destination
|
|
182
|
+
source: $source
|
|
183
|
+
type: $type
|
|
184
|
+
) {
|
|
185
|
+
status
|
|
186
|
+
message
|
|
187
|
+
data
|
|
188
|
+
recordIds
|
|
189
|
+
errors
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
`;
|
|
194
|
+
exports.CONTACT_SYNC = (0, client_1.gql) `
|
|
195
|
+
mutation ContactSync($emails: [String]) {
|
|
196
|
+
admin {
|
|
197
|
+
contactSync(emails: $emails) {
|
|
198
|
+
status
|
|
199
|
+
message
|
|
200
|
+
data
|
|
201
|
+
errors
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
`;
|
|
206
|
+
exports.CONTACT_SYNC_STATUS = (0, client_1.gql) `
|
|
207
|
+
mutation ContactSyncStatus($jobIds: [String]) {
|
|
208
|
+
admin {
|
|
209
|
+
contactSyncStatus(jobIds: $jobIds) {
|
|
210
|
+
status
|
|
211
|
+
message
|
|
212
|
+
data
|
|
213
|
+
errors
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
`;
|