@procraft/widget-order 2.30.13 → 2.30.14
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/CourseItem/index.js +9 -1
- package/dist/CourseItem/index.js.map +1 -1
- package/dist/modules/gql/generated/helpers/apollo-helpers.d.ts +91 -17
- package/dist/modules/gql/generated/types.d.ts +74 -8
- package/dist/modules/gql/generated/types.js +12 -1
- package/dist/modules/gql/generated/types.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils.d.ts +12 -0
- package/dist/utils.js +66 -1
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/src/CourseItem/index.tsx +21 -21
- package/src/modules/gql/generated/helpers/apollo-helpers.ts +97 -23
- package/src/modules/gql/generated/schema.json +763 -42
- package/src/modules/gql/generated/types.ts +81 -8
- package/src/utils.ts +66 -0
package/dist/CourseItem/index.js
CHANGED
|
@@ -34,6 +34,8 @@ const Reviews_1 = require("./Reviews");
|
|
|
34
34
|
const Sales_1 = __importDefault(require("./Sales"));
|
|
35
35
|
const styles_1 = require("./styles");
|
|
36
36
|
const Course_1 = require("../models/Course");
|
|
37
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
38
|
+
const utils_1 = require("../utils");
|
|
37
39
|
const CourseItem = (props) => {
|
|
38
40
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
39
41
|
const { orderLink, materialsLimit, course, catalogItem: item, ratesVisible, style, } = props;
|
|
@@ -101,7 +103,7 @@ const CourseItem = (props) => {
|
|
|
101
103
|
extraBgColor,
|
|
102
104
|
]);
|
|
103
105
|
return react_1.useMemo(() => {
|
|
104
|
-
var _a, _b;
|
|
106
|
+
var _a, _b, _c, _d;
|
|
105
107
|
if (!item) {
|
|
106
108
|
return null;
|
|
107
109
|
}
|
|
@@ -119,6 +121,9 @@ const CourseItem = (props) => {
|
|
|
119
121
|
react_1.default.createElement(Typography_1.default, { className: "title", component: "h3" }, (tariff === null || tariff === void 0 ? void 0 : tariff.name) && tariff.name !== 'Единые условия'
|
|
120
122
|
? tariff.name
|
|
121
123
|
: course.name),
|
|
124
|
+
(((_d = (_c = item.course) === null || _c === void 0 ? void 0 : _c.courseMeta) === null || _d === void 0 ? void 0 : _d.courseKind) === types_1.CourseKind.WEBINAR && item.course.courseMeta.webinarStartsAt) && (react_1.default.createElement(WebinarDate, null,
|
|
125
|
+
"\u041D\u0430\u0447\u0430\u043B\u043E ",
|
|
126
|
+
utils_1.formatDateOptionalTime(item.course.courseMeta.webinarStartsAt))),
|
|
122
127
|
ratesVisible && item.reviewsCount ? (react_1.default.createElement(Reviews_1.Reviews, { textColor: coloredTextColor, reviewsCount: item.reviewsCount, item: item })) : null,
|
|
123
128
|
tariff ? (react_1.default.createElement(Materials_1.default, { backgroundColor: contentBgColor, textColor: contentTextColor, linkColor: coloredTextColor, benefits: tariff.marketingBenefits, extraBenefits: extraBenefits, limit: materialsLimit })) : null,
|
|
124
129
|
fieldValuesByType,
|
|
@@ -137,5 +142,8 @@ const CourseItem = (props) => {
|
|
|
137
142
|
style,
|
|
138
143
|
]);
|
|
139
144
|
};
|
|
145
|
+
const WebinarDate = styled_components_1.default.div `
|
|
146
|
+
margin: 0 0 10px;
|
|
147
|
+
`;
|
|
140
148
|
exports.default = CourseItem;
|
|
141
149
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/CourseItem/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/CourseItem/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAyD;AACzD,0EAAiD;AACjD,gDAAsN;AACtN,kDAA4C;AAC5C,0DAAgG;AAEhG,2DAAqD;AAErD,4DAAmC;AACnC,+CAAyC;AACzC,uCAAiC;AACjC,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,CAAC,IAAI;oBAEP,iBAAiB;oBAElB,uCAAK,SAAS,EAAC,QAAQ,GAAG;oBAE1B,8BAAC,yBAAW,IACV,WAAW,EAAE,IAAI,EACjB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,mBAAmB,EACxC,aAAa,EAAE,YAAY,EAC3B,eAAe,EAAE,cAAc,EAC/B,gBAAgB,EAAE,cAAc,EAChC,aAAa,EAAE,gBAAgB,EAC/B,qBAAqB,EAAE,cAAc,GACrC,CACQ,CACC;YAEf,8BAAC,eAAK,IACJ,WAAW,EAAE,IAAI,EACjB,SAAS,EAAE,SAAS,EACpB,mBAAmB,EAAE,mBAAmB,EACxC,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,YAAY,EACzB,eAAe,EAAE,cAAc,EAC/B,cAAc,EAAE,gBAAgB,GAChC,CACD,CACJ,CAAA;IACH,CAAC,EAAE;QACD,IAAI;QACJ,MAAM;QACN,aAAa;QACb,cAAc;QACd,iBAAiB;QACjB,SAAS;QACT,mBAAmB;QACnB,YAAY;QACZ,KAAK;KACN,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,2BAAM,CAAC,GAAG,CAAA;;CAE7B,CAAA;AAED,kBAAe,UAAU,CAAA"}
|
|
@@ -28,7 +28,17 @@ export declare type CatalogFieldValueFieldPolicy = {
|
|
|
28
28
|
params?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
29
29
|
type?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
30
30
|
};
|
|
31
|
-
export declare type
|
|
31
|
+
export declare type CatalogItemKeySpecifier = ('internalId' | CatalogItemKeySpecifier)[];
|
|
32
|
+
export declare type CatalogItemFieldPolicy = {
|
|
33
|
+
internalId?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
34
|
+
};
|
|
35
|
+
export declare type CheckoutPositionKeySpecifier = ('uid' | 'catalogItemId' | 'products' | CheckoutPositionKeySpecifier)[];
|
|
36
|
+
export declare type CheckoutPositionFieldPolicy = {
|
|
37
|
+
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
38
|
+
catalogItemId?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
39
|
+
products?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
40
|
+
};
|
|
41
|
+
export declare type CheckoutPriceDetailsKeySpecifier = ('catalogPrice' | 'price' | 'saleDiscount' | 'promoCodeDiscount' | 'subscriptionPrice' | 'subscriptionFirstPrice' | 'hasInstallment' | 'denyReason' | CheckoutPriceDetailsKeySpecifier)[];
|
|
32
42
|
export declare type CheckoutPriceDetailsFieldPolicy = {
|
|
33
43
|
catalogPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
34
44
|
price?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -37,6 +47,12 @@ export declare type CheckoutPriceDetailsFieldPolicy = {
|
|
|
37
47
|
subscriptionPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
38
48
|
subscriptionFirstPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
39
49
|
hasInstallment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
50
|
+
denyReason?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
51
|
+
};
|
|
52
|
+
export declare type CheckoutProductKeySpecifier = ('name' | 'amount' | CheckoutProductKeySpecifier)[];
|
|
53
|
+
export declare type CheckoutProductFieldPolicy = {
|
|
54
|
+
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
55
|
+
amount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
40
56
|
};
|
|
41
57
|
export declare type ClientFormKeySpecifier = ('id' | 'uid' | 'name' | 'orgId' | 'isDraft' | 'createdAt' | 'deletedAt' | 'kind' | ClientFormKeySpecifier)[];
|
|
42
58
|
export declare type ClientFormFieldPolicy = {
|
|
@@ -102,12 +118,13 @@ export declare type CourseItemFieldPolicy = {
|
|
|
102
118
|
prolongationDays?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
103
119
|
courseMeta?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
104
120
|
};
|
|
105
|
-
export declare type CourseItemMetaKeySpecifier = ('courseName' | 'courseKind' | 'courseSubKindLabel' | 'courseSubKind' | CourseItemMetaKeySpecifier)[];
|
|
121
|
+
export declare type CourseItemMetaKeySpecifier = ('courseName' | 'courseKind' | 'courseSubKindLabel' | 'courseSubKind' | 'webinarStartsAt' | CourseItemMetaKeySpecifier)[];
|
|
106
122
|
export declare type CourseItemMetaFieldPolicy = {
|
|
107
123
|
courseName?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
108
124
|
courseKind?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
109
125
|
courseSubKindLabel?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
110
126
|
courseSubKind?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
127
|
+
webinarStartsAt?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
111
128
|
};
|
|
112
129
|
export declare type CoursePublicCustomKeySpecifier = ('id' | 'name' | 'uid' | 'catalogItems' | 'tariffs' | 'tariffPerFlowDataItems' | 'kind' | 'subKind' | 'subKindLabel' | CoursePublicCustomKeySpecifier)[];
|
|
113
130
|
export declare type CoursePublicCustomFieldPolicy = {
|
|
@@ -191,6 +208,14 @@ export declare type FileMetaFieldPolicy = {
|
|
|
191
208
|
lastModified?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
192
209
|
customInfo?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
193
210
|
};
|
|
211
|
+
export declare type FinanceDocumentKeySpecifier = ('uid' | 'url' | 'fileName' | 'name' | 'kind' | FinanceDocumentKeySpecifier)[];
|
|
212
|
+
export declare type FinanceDocumentFieldPolicy = {
|
|
213
|
+
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
214
|
+
url?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
215
|
+
fileName?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
216
|
+
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
217
|
+
kind?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
218
|
+
};
|
|
194
219
|
export declare type FlowPublicCustomKeySpecifier = ('id' | 'uid' | 'name' | 'colorStyle' | 'startsAt' | 'finishesAt' | 'kind' | FlowPublicCustomKeySpecifier)[];
|
|
195
220
|
export declare type FlowPublicCustomFieldPolicy = {
|
|
196
221
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -216,9 +241,10 @@ export declare type LandingOrderPayloadFieldPolicy = {
|
|
|
216
241
|
order?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
217
242
|
denyReason?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
218
243
|
};
|
|
219
|
-
export declare type LandingSiteKeySpecifier = ('id' | 'cardFields' | 'background' | 'extraScript' | 'verificationCode' | 'showFeedbackWidget' | LandingSiteKeySpecifier)[];
|
|
244
|
+
export declare type LandingSiteKeySpecifier = ('id' | 'registerAuthMethod' | 'cardFields' | 'background' | 'extraScript' | 'verificationCode' | 'showFeedbackWidget' | LandingSiteKeySpecifier)[];
|
|
220
245
|
export declare type LandingSiteFieldPolicy = {
|
|
221
246
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
247
|
+
registerAuthMethod?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
222
248
|
cardFields?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
223
249
|
background?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
224
250
|
extraScript?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -230,7 +256,7 @@ export declare type LandingSitePrivateFieldPolicy = {
|
|
|
230
256
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
231
257
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
232
258
|
};
|
|
233
|
-
export declare type LandingTemplate__FragmentKeySpecifier = ('foo' | 'id' | 'name' | 'component' | 'description' | 'components' | 'props' | 'uri' | LandingTemplate__FragmentKeySpecifier)[];
|
|
259
|
+
export declare type LandingTemplate__FragmentKeySpecifier = ('foo' | 'id' | 'name' | 'component' | 'description' | 'components' | 'props' | 'uri' | 'favicon' | LandingTemplate__FragmentKeySpecifier)[];
|
|
234
260
|
export declare type LandingTemplate__FragmentFieldPolicy = {
|
|
235
261
|
foo?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
236
262
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -240,11 +266,13 @@ export declare type LandingTemplate__FragmentFieldPolicy = {
|
|
|
240
266
|
components?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
241
267
|
props?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
242
268
|
uri?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
269
|
+
favicon?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
243
270
|
};
|
|
244
|
-
export declare type LandingViewerUserRole_FragmentKeySpecifier = ('id' | 'uid' | 'human' | 'contacts' | LandingViewerUserRole_FragmentKeySpecifier)[];
|
|
271
|
+
export declare type LandingViewerUserRole_FragmentKeySpecifier = ('id' | 'uid' | 'auths' | 'human' | 'contacts' | LandingViewerUserRole_FragmentKeySpecifier)[];
|
|
245
272
|
export declare type LandingViewerUserRole_FragmentFieldPolicy = {
|
|
246
273
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
247
274
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
275
|
+
auths?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
248
276
|
human?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
249
277
|
contacts?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
250
278
|
};
|
|
@@ -270,14 +298,12 @@ export declare type MasterClientProfileCommonFieldPolicy = {
|
|
|
270
298
|
extraFieldsAnswers?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
271
299
|
supervised?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
272
300
|
};
|
|
273
|
-
export declare type MasterProfileCustomKeySpecifier = ('id' | 'uid' | 'label' | '
|
|
301
|
+
export declare type MasterProfileCustomKeySpecifier = ('id' | 'uid' | 'label' | 'documents' | 'installmentComment' | 'currency' | 'cashPaymentAliases' | 'orgPhoto' | MasterProfileCustomKeySpecifier)[];
|
|
274
302
|
export declare type MasterProfileCustomFieldPolicy = {
|
|
275
303
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
276
304
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
277
305
|
label?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
278
|
-
|
|
279
|
-
pdfPrivacyPolicy?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
280
|
-
pdfExtraDocument?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
306
|
+
documents?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
281
307
|
installmentComment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
282
308
|
currency?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
283
309
|
cashPaymentAliases?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -310,7 +336,15 @@ export declare type OrderCatalogItemMasterFieldPolicy = {
|
|
|
310
336
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
311
337
|
currency?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
312
338
|
};
|
|
313
|
-
export declare type
|
|
339
|
+
export declare type OrderCatalogItemOrgKeySpecifier = ('id' | 'uid' | 'currency' | 'contacts' | 'sendingTransport' | OrderCatalogItemOrgKeySpecifier)[];
|
|
340
|
+
export declare type OrderCatalogItemOrgFieldPolicy = {
|
|
341
|
+
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
342
|
+
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
343
|
+
currency?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
344
|
+
contacts?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
345
|
+
sendingTransport?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
346
|
+
};
|
|
347
|
+
export declare type OrderCatalogItem_FragmentKeySpecifier = ('id' | 'uid' | 'name' | 'title' | 'unitPrice' | 'unitPriceOriginal' | 'org' | 'master' | 'course' | 'Tariff' | 'sales' | 'promoCode' | 'priceWithPromoCode' | 'reviewsCount' | 'reviews' | 'fieldValues' | 'partialPayment' | OrderCatalogItem_FragmentKeySpecifier)[];
|
|
314
348
|
export declare type OrderCatalogItem_FragmentFieldPolicy = {
|
|
315
349
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
316
350
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -318,6 +352,7 @@ export declare type OrderCatalogItem_FragmentFieldPolicy = {
|
|
|
318
352
|
title?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
319
353
|
unitPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
320
354
|
unitPriceOriginal?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
355
|
+
org?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
321
356
|
master?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
322
357
|
course?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
323
358
|
Tariff?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -327,13 +362,14 @@ export declare type OrderCatalogItem_FragmentFieldPolicy = {
|
|
|
327
362
|
reviewsCount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
328
363
|
reviews?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
329
364
|
fieldValues?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
365
|
+
partialPayment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
330
366
|
};
|
|
331
367
|
export declare type OrderConditionKeySpecifier = ('kind' | 'data' | OrderConditionKeySpecifier)[];
|
|
332
368
|
export declare type OrderConditionFieldPolicy = {
|
|
333
369
|
kind?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
334
370
|
data?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
335
371
|
};
|
|
336
|
-
export declare type OrderCustomKeySpecifier = ('id' | 'uid' | 'price' | 'salePrice' | 'catalogPrice' | 'saleDiscount' | 'promoCodeDiscount' | 'subscriptionPrice' | 'subscriptionFirstPrice' | 'status' | 'paymentUrl' | 'partialPrices' | 'isMultiday' | 'usedPartialPayment' | 'positions' | 'promoCode' | OrderCustomKeySpecifier)[];
|
|
372
|
+
export declare type OrderCustomKeySpecifier = ('id' | 'uid' | 'price' | 'salePrice' | 'catalogPrice' | 'saleDiscount' | 'promoCodeDiscount' | 'subscriptionPrice' | 'subscriptionFirstPrice' | 'status' | 'paymentUrl' | 'partialPrices' | 'isMultiday' | 'contractOfferIds' | 'usedPartialPayment' | 'positions' | 'promoCode' | OrderCustomKeySpecifier)[];
|
|
337
373
|
export declare type OrderCustomFieldPolicy = {
|
|
338
374
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
339
375
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -348,11 +384,12 @@ export declare type OrderCustomFieldPolicy = {
|
|
|
348
384
|
paymentUrl?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
349
385
|
partialPrices?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
350
386
|
isMultiday?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
387
|
+
contractOfferIds?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
351
388
|
usedPartialPayment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
352
389
|
positions?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
353
390
|
promoCode?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
354
391
|
};
|
|
355
|
-
export declare type OrderPositionKeySpecifier = ('uid' | 'name' | 'quantity' | 'usedCapacity' | 'price' | 'work' | 'catalogItemId' | 'parentId' | 'sales' | 'partialPayment' | OrderPositionKeySpecifier)[];
|
|
392
|
+
export declare type OrderPositionKeySpecifier = ('uid' | 'name' | 'quantity' | 'usedCapacity' | 'price' | 'work' | 'catalogItemId' | 'parentId' | 'sales' | 'partialPayment' | 'item' | 'checkoutProducts' | OrderPositionKeySpecifier)[];
|
|
356
393
|
export declare type OrderPositionFieldPolicy = {
|
|
357
394
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
358
395
|
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -364,6 +401,8 @@ export declare type OrderPositionFieldPolicy = {
|
|
|
364
401
|
parentId?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
365
402
|
sales?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
366
403
|
partialPayment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
404
|
+
item?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
405
|
+
checkoutProducts?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
367
406
|
};
|
|
368
407
|
export declare type OrderReviewCustomKeySpecifier = ('id' | 'uid' | 'rating' | 'timeCreated' | 'text' | 'meetExpectation' | 'client' | OrderReviewCustomKeySpecifier)[];
|
|
369
408
|
export declare type OrderReviewCustomFieldPolicy = {
|
|
@@ -383,10 +422,12 @@ export declare type OrderReviewsEdgeKeySpecifier = ('node' | OrderReviewsEdgeKey
|
|
|
383
422
|
export declare type OrderReviewsEdgeFieldPolicy = {
|
|
384
423
|
node?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
385
424
|
};
|
|
386
|
-
export declare type PartialPaymentKeySpecifier = ('kind' | 'complex' | PartialPaymentKeySpecifier)[];
|
|
425
|
+
export declare type PartialPaymentKeySpecifier = ('kind' | 'complex' | 'complexDefaultUid' | 'firstPayment' | PartialPaymentKeySpecifier)[];
|
|
387
426
|
export declare type PartialPaymentFieldPolicy = {
|
|
388
427
|
kind?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
389
428
|
complex?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
429
|
+
complexDefaultUid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
430
|
+
firstPayment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
390
431
|
};
|
|
391
432
|
export declare type PartialPaymentComplexItemKeySpecifier = ('uid' | 'name' | 'description' | 'triggerKind' | PartialPaymentComplexItemKeySpecifier)[];
|
|
392
433
|
export declare type PartialPaymentComplexItemFieldPolicy = {
|
|
@@ -437,20 +478,24 @@ export declare type PromoCode_FragmentFieldPolicy = {
|
|
|
437
478
|
activeTill?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
438
479
|
isActive?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
439
480
|
};
|
|
440
|
-
export declare type PublicLandingViewerKeySpecifier = ('id' | 'foo' | 'master' | 'landing' | 'checkoutPriceDetails' | 'sendingTransport' | PublicLandingViewerKeySpecifier)[];
|
|
481
|
+
export declare type PublicLandingViewerKeySpecifier = ('id' | 'foo' | 'master' | 'landing' | 'checkoutPriceDetails' | 'registerAuthMethod' | 'checkoutPositions' | 'sendingTransport' | PublicLandingViewerKeySpecifier)[];
|
|
441
482
|
export declare type PublicLandingViewerFieldPolicy = {
|
|
442
483
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
443
484
|
foo?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
444
485
|
master?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
445
486
|
landing?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
446
487
|
checkoutPriceDetails?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
488
|
+
registerAuthMethod?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
489
|
+
checkoutPositions?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
447
490
|
sendingTransport?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
448
491
|
};
|
|
449
|
-
export declare type PublicMasterRoleKeySpecifier = ('uid' | 'master' | 'contacts' | 'studentUrl' | PublicMasterRoleKeySpecifier)[];
|
|
492
|
+
export declare type PublicMasterRoleKeySpecifier = ('uid' | 'hasPromoCode' | 'master' | 'contacts' | 'sendingTransport' | 'studentUrl' | PublicMasterRoleKeySpecifier)[];
|
|
450
493
|
export declare type PublicMasterRoleFieldPolicy = {
|
|
451
494
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
495
|
+
hasPromoCode?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
452
496
|
master?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
453
497
|
contacts?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
498
|
+
sendingTransport?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
454
499
|
studentUrl?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
455
500
|
};
|
|
456
501
|
export declare type QueryKeySpecifier = ('me' | 'viewer' | 'templates' | 'template' | 'courses' | 'course' | 'orderCatalogItem' | 'staticFiles' | 'extraFieldsQuestions' | 'promoCode' | QueryKeySpecifier)[];
|
|
@@ -532,6 +577,11 @@ export declare type UsedPartialPaymentComplexFieldPolicy = {
|
|
|
532
577
|
item?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
533
578
|
firstPaymentIndexes?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
534
579
|
};
|
|
580
|
+
export declare type UserAuthKeySpecifier = ('method' | 'key' | UserAuthKeySpecifier)[];
|
|
581
|
+
export declare type UserAuthFieldPolicy = {
|
|
582
|
+
method?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
583
|
+
key?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
584
|
+
};
|
|
535
585
|
export declare type UserHumanKeySpecifier = ('id' | 'rawFirstName' | 'firstName' | 'middleName' | 'lastName' | UserHumanKeySpecifier)[];
|
|
536
586
|
export declare type UserHumanFieldPolicy = {
|
|
537
587
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -540,11 +590,11 @@ export declare type UserHumanFieldPolicy = {
|
|
|
540
590
|
middleName?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
541
591
|
lastName?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
542
592
|
};
|
|
543
|
-
export declare type UserProfileCustomKeySpecifier = ('id' | 'uid' | '
|
|
593
|
+
export declare type UserProfileCustomKeySpecifier = ('id' | 'uid' | 'auths' | 'name' | 'shortName' | 'avatarUrl' | UserProfileCustomKeySpecifier)[];
|
|
544
594
|
export declare type UserProfileCustomFieldPolicy = {
|
|
545
595
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
546
596
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
547
|
-
|
|
597
|
+
auths?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
548
598
|
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
549
599
|
shortName?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
550
600
|
avatarUrl?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -562,10 +612,22 @@ export declare type TypedTypePolicies = TypePolicies & {
|
|
|
562
612
|
keyFields?: false | CatalogFieldValueKeySpecifier | (() => undefined | CatalogFieldValueKeySpecifier);
|
|
563
613
|
fields?: CatalogFieldValueFieldPolicy;
|
|
564
614
|
};
|
|
615
|
+
CatalogItem?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
616
|
+
keyFields?: false | CatalogItemKeySpecifier | (() => undefined | CatalogItemKeySpecifier);
|
|
617
|
+
fields?: CatalogItemFieldPolicy;
|
|
618
|
+
};
|
|
619
|
+
CheckoutPosition?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
620
|
+
keyFields?: false | CheckoutPositionKeySpecifier | (() => undefined | CheckoutPositionKeySpecifier);
|
|
621
|
+
fields?: CheckoutPositionFieldPolicy;
|
|
622
|
+
};
|
|
565
623
|
CheckoutPriceDetails?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
566
624
|
keyFields?: false | CheckoutPriceDetailsKeySpecifier | (() => undefined | CheckoutPriceDetailsKeySpecifier);
|
|
567
625
|
fields?: CheckoutPriceDetailsFieldPolicy;
|
|
568
626
|
};
|
|
627
|
+
CheckoutProduct?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
628
|
+
keyFields?: false | CheckoutProductKeySpecifier | (() => undefined | CheckoutProductKeySpecifier);
|
|
629
|
+
fields?: CheckoutProductFieldPolicy;
|
|
630
|
+
};
|
|
569
631
|
ClientForm?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
570
632
|
keyFields?: false | ClientFormKeySpecifier | (() => undefined | ClientFormKeySpecifier);
|
|
571
633
|
fields?: ClientFormFieldPolicy;
|
|
@@ -646,6 +708,10 @@ export declare type TypedTypePolicies = TypePolicies & {
|
|
|
646
708
|
keyFields?: false | FileMetaKeySpecifier | (() => undefined | FileMetaKeySpecifier);
|
|
647
709
|
fields?: FileMetaFieldPolicy;
|
|
648
710
|
};
|
|
711
|
+
FinanceDocument?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
712
|
+
keyFields?: false | FinanceDocumentKeySpecifier | (() => undefined | FinanceDocumentKeySpecifier);
|
|
713
|
+
fields?: FinanceDocumentFieldPolicy;
|
|
714
|
+
};
|
|
649
715
|
FlowPublicCustom?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
650
716
|
keyFields?: false | FlowPublicCustomKeySpecifier | (() => undefined | FlowPublicCustomKeySpecifier);
|
|
651
717
|
fields?: FlowPublicCustomFieldPolicy;
|
|
@@ -706,6 +772,10 @@ export declare type TypedTypePolicies = TypePolicies & {
|
|
|
706
772
|
keyFields?: false | OrderCatalogItemMasterKeySpecifier | (() => undefined | OrderCatalogItemMasterKeySpecifier);
|
|
707
773
|
fields?: OrderCatalogItemMasterFieldPolicy;
|
|
708
774
|
};
|
|
775
|
+
OrderCatalogItemOrg?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
776
|
+
keyFields?: false | OrderCatalogItemOrgKeySpecifier | (() => undefined | OrderCatalogItemOrgKeySpecifier);
|
|
777
|
+
fields?: OrderCatalogItemOrgFieldPolicy;
|
|
778
|
+
};
|
|
709
779
|
OrderCatalogItem_Fragment?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
710
780
|
keyFields?: false | OrderCatalogItem_FragmentKeySpecifier | (() => undefined | OrderCatalogItem_FragmentKeySpecifier);
|
|
711
781
|
fields?: OrderCatalogItem_FragmentFieldPolicy;
|
|
@@ -818,6 +888,10 @@ export declare type TypedTypePolicies = TypePolicies & {
|
|
|
818
888
|
keyFields?: false | UsedPartialPaymentComplexKeySpecifier | (() => undefined | UsedPartialPaymentComplexKeySpecifier);
|
|
819
889
|
fields?: UsedPartialPaymentComplexFieldPolicy;
|
|
820
890
|
};
|
|
891
|
+
UserAuth?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
892
|
+
keyFields?: false | UserAuthKeySpecifier | (() => undefined | UserAuthKeySpecifier);
|
|
893
|
+
fields?: UserAuthFieldPolicy;
|
|
894
|
+
};
|
|
821
895
|
UserHuman?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
822
896
|
keyFields?: false | UserHumanKeySpecifier | (() => undefined | UserHumanKeySpecifier);
|
|
823
897
|
fields?: UserHumanFieldPolicy;
|
|
@@ -44,6 +44,12 @@ export interface AddressInput {
|
|
|
44
44
|
notes?: Maybe<Scalars['String']>;
|
|
45
45
|
primary?: Maybe<Scalars['Boolean']>;
|
|
46
46
|
}
|
|
47
|
+
export declare enum AuthMethod {
|
|
48
|
+
SMS = "Sms",
|
|
49
|
+
EMAIL = "Email",
|
|
50
|
+
PASSWORD = "Password",
|
|
51
|
+
TIMELIMITTOKEN = "TimeLimitToken"
|
|
52
|
+
}
|
|
47
53
|
export interface BookingClientInput {
|
|
48
54
|
firstName?: Maybe<Scalars['String']>;
|
|
49
55
|
lastName?: Maybe<Scalars['String']>;
|
|
@@ -69,9 +75,13 @@ export declare enum CardFieldName {
|
|
|
69
75
|
MESSENGERHANGOUTS = "MessengerHangouts",
|
|
70
76
|
MESSENGERFACEBOOK = "MessengerFacebook",
|
|
71
77
|
ATTACHMENTS = "Attachments",
|
|
78
|
+
PHONE = "Phone",
|
|
72
79
|
EMAIL = "Email",
|
|
80
|
+
LASTNAME = "LastName",
|
|
73
81
|
MIDDLENAME = "MiddleName",
|
|
74
|
-
ACCEPTAGREEMENTBYDEFAULT = "AcceptAgreementByDefault"
|
|
82
|
+
ACCEPTAGREEMENTBYDEFAULT = "AcceptAgreementByDefault",
|
|
83
|
+
SEPARATECHECKBOXONDOCUMENT = "SeparateCheckboxOnDocument",
|
|
84
|
+
NOTIAMWILLBESTUDY = "NotIamWillBeStudy"
|
|
75
85
|
}
|
|
76
86
|
export declare enum CardFieldState {
|
|
77
87
|
REQUIRED = "Required",
|
|
@@ -133,6 +143,16 @@ export declare enum CatalogFieldValueType {
|
|
|
133
143
|
/** Число занятий */
|
|
134
144
|
LESSONCOUNT = "LessonCount"
|
|
135
145
|
}
|
|
146
|
+
export interface CatalogItem {
|
|
147
|
+
__typename?: 'CatalogItem';
|
|
148
|
+
internalId?: Maybe<Scalars['Int']>;
|
|
149
|
+
}
|
|
150
|
+
export interface CheckoutPosition {
|
|
151
|
+
__typename?: 'CheckoutPosition';
|
|
152
|
+
uid: Scalars['Int'];
|
|
153
|
+
catalogItemId?: Maybe<Scalars['Int']>;
|
|
154
|
+
products?: Maybe<Array<CheckoutProduct>>;
|
|
155
|
+
}
|
|
136
156
|
export interface CheckoutPriceDetails {
|
|
137
157
|
__typename?: 'CheckoutPriceDetails';
|
|
138
158
|
catalogPrice?: Maybe<Scalars['BigDecimal']>;
|
|
@@ -142,6 +162,12 @@ export interface CheckoutPriceDetails {
|
|
|
142
162
|
subscriptionPrice?: Maybe<Scalars['BigDecimal']>;
|
|
143
163
|
subscriptionFirstPrice?: Maybe<Scalars['BigDecimal']>;
|
|
144
164
|
hasInstallment: Scalars['Boolean'];
|
|
165
|
+
denyReason?: Maybe<Scalars['String']>;
|
|
166
|
+
}
|
|
167
|
+
export interface CheckoutProduct {
|
|
168
|
+
__typename?: 'CheckoutProduct';
|
|
169
|
+
name: Scalars['String'];
|
|
170
|
+
amount: Scalars['BigDecimal'];
|
|
145
171
|
}
|
|
146
172
|
export interface ClientForm {
|
|
147
173
|
__typename?: 'ClientForm';
|
|
@@ -241,6 +267,7 @@ export interface CourseItemMeta {
|
|
|
241
267
|
courseKind: CourseKind;
|
|
242
268
|
courseSubKindLabel?: Maybe<LangRussianNoun>;
|
|
243
269
|
courseSubKind: CourseSubKind;
|
|
270
|
+
webinarStartsAt?: Maybe<Scalars['String']>;
|
|
244
271
|
}
|
|
245
272
|
export declare enum CourseKind {
|
|
246
273
|
ABONNEMENT = "Abonnement",
|
|
@@ -353,6 +380,8 @@ export interface CreateLandingOrderInput {
|
|
|
353
380
|
paymentSchemaIndexes?: Maybe<Array<Scalars['Int']>>;
|
|
354
381
|
/** Поэтапная оплата */
|
|
355
382
|
partialPayment?: Maybe<Scalars['Boolean']>;
|
|
383
|
+
sourceUrl: Scalars['String'];
|
|
384
|
+
timezoneOffset?: Maybe<Scalars['Int']>;
|
|
356
385
|
}
|
|
357
386
|
export interface CreateLandingTemplateInput {
|
|
358
387
|
patch: LandingTemplateCreateInput;
|
|
@@ -388,6 +417,14 @@ export interface FileMetaInput {
|
|
|
388
417
|
lastModified: Scalars['Float'];
|
|
389
418
|
customInfo?: Maybe<Scalars['String']>;
|
|
390
419
|
}
|
|
420
|
+
export interface FinanceDocument {
|
|
421
|
+
__typename?: 'FinanceDocument';
|
|
422
|
+
uid: Scalars['Int'];
|
|
423
|
+
url: Scalars['String'];
|
|
424
|
+
fileName: Scalars['String'];
|
|
425
|
+
name: Scalars['String'];
|
|
426
|
+
kind: Scalars['String'];
|
|
427
|
+
}
|
|
391
428
|
export interface FlowPublicCustom {
|
|
392
429
|
__typename?: 'FlowPublicCustom';
|
|
393
430
|
id: Scalars['ID'];
|
|
@@ -416,6 +453,7 @@ export interface LandingOrderPayload {
|
|
|
416
453
|
export interface LandingSite {
|
|
417
454
|
__typename?: 'LandingSite';
|
|
418
455
|
id: Scalars['ID'];
|
|
456
|
+
registerAuthMethod?: Maybe<AuthMethod>;
|
|
419
457
|
cardFields: Array<LandingCardField>;
|
|
420
458
|
background?: Maybe<PhotoData>;
|
|
421
459
|
extraScript?: Maybe<Scalars['String']>;
|
|
@@ -455,12 +493,15 @@ export interface LandingTemplateFragment {
|
|
|
455
493
|
components: Scalars['Json'];
|
|
456
494
|
props: Scalars['Json'];
|
|
457
495
|
uri?: Maybe<Scalars['String']>;
|
|
496
|
+
/** Иконка сайта */
|
|
497
|
+
favicon?: Maybe<PhotoData>;
|
|
458
498
|
}
|
|
459
499
|
/** Роль пользователя */
|
|
460
500
|
export interface LandingViewerUserRoleFragment {
|
|
461
501
|
__typename?: 'LandingViewerUserRole_Fragment';
|
|
462
502
|
id?: Maybe<Scalars['ID']>;
|
|
463
503
|
uid: Scalars['Int'];
|
|
504
|
+
auths: Array<UserAuth>;
|
|
464
505
|
human: UserHuman;
|
|
465
506
|
contacts: ContactsProfile;
|
|
466
507
|
}
|
|
@@ -496,11 +537,7 @@ export interface MasterProfileCustom {
|
|
|
496
537
|
id: Scalars['ID'];
|
|
497
538
|
uid: Scalars['Int'];
|
|
498
539
|
label?: Maybe<Scalars['String']>;
|
|
499
|
-
|
|
500
|
-
pdfContractOffer?: Maybe<Scalars['String']>;
|
|
501
|
-
/** Ссылка на политику безопасности */
|
|
502
|
-
pdfPrivacyPolicy?: Maybe<Scalars['String']>;
|
|
503
|
-
pdfExtraDocument?: Maybe<FileData>;
|
|
540
|
+
documents?: Maybe<Array<FinanceDocument>>;
|
|
504
541
|
installmentComment: Scalars['String'];
|
|
505
542
|
currency: Scalars['String'];
|
|
506
543
|
cashPaymentAliases: Array<CashPaymentAlias>;
|
|
@@ -591,9 +628,13 @@ export declare type MutationAuthClientByPhoneArgs = {
|
|
|
591
628
|
};
|
|
592
629
|
export declare type MutationAuthCustomerArgs = {
|
|
593
630
|
orgId: Scalars['Int'];
|
|
594
|
-
phone
|
|
631
|
+
phone?: Maybe<Scalars['String']>;
|
|
595
632
|
smsCode?: Maybe<Scalars['String']>;
|
|
596
633
|
smsToken?: Maybe<Scalars['String']>;
|
|
634
|
+
method?: Maybe<Scalars['String']>;
|
|
635
|
+
login?: Maybe<Scalars['String']>;
|
|
636
|
+
code?: Maybe<Scalars['String']>;
|
|
637
|
+
token?: Maybe<Scalars['String']>;
|
|
597
638
|
};
|
|
598
639
|
export declare type MutationDeleteLandingTemplateCustomArgs = {
|
|
599
640
|
id: Scalars['ID'];
|
|
@@ -620,6 +661,14 @@ export interface OrderCatalogItemMaster {
|
|
|
620
661
|
uid: Scalars['Int'];
|
|
621
662
|
currency: Scalars['String'];
|
|
622
663
|
}
|
|
664
|
+
export interface OrderCatalogItemOrg {
|
|
665
|
+
__typename?: 'OrderCatalogItemOrg';
|
|
666
|
+
id: Scalars['ID'];
|
|
667
|
+
uid: Scalars['Int'];
|
|
668
|
+
currency: Scalars['String'];
|
|
669
|
+
contacts: ContactsProfile;
|
|
670
|
+
sendingTransport?: Maybe<SendingTransport>;
|
|
671
|
+
}
|
|
623
672
|
export interface OrderCatalogItemFragment {
|
|
624
673
|
__typename?: 'OrderCatalogItem_Fragment';
|
|
625
674
|
id: Scalars['ID'];
|
|
@@ -631,6 +680,7 @@ export interface OrderCatalogItemFragment {
|
|
|
631
680
|
unitPrice?: Maybe<Scalars['Float']>;
|
|
632
681
|
/** Старая цена */
|
|
633
682
|
unitPriceOriginal?: Maybe<Scalars['Float']>;
|
|
683
|
+
org?: Maybe<OrderCatalogItemOrg>;
|
|
634
684
|
master?: Maybe<OrderCatalogItemMaster>;
|
|
635
685
|
course?: Maybe<CourseItem>;
|
|
636
686
|
/** Тариф */
|
|
@@ -646,6 +696,7 @@ export interface OrderCatalogItemFragment {
|
|
|
646
696
|
reviews?: Maybe<OrderReviewsConnection>;
|
|
647
697
|
/** Опции с ценами */
|
|
648
698
|
fieldValues?: Maybe<Array<CatalogFieldValue>>;
|
|
699
|
+
partialPayment?: Maybe<PartialPayment>;
|
|
649
700
|
}
|
|
650
701
|
export declare type OrderCatalogItemFragmentPromoCodeArgs = {
|
|
651
702
|
code: Scalars['String'];
|
|
@@ -677,6 +728,7 @@ export interface OrderCustom {
|
|
|
677
728
|
/** Суммы поэтапной оплаты */
|
|
678
729
|
partialPrices: Array<PartialPrice>;
|
|
679
730
|
isMultiday?: Maybe<Scalars['Boolean']>;
|
|
731
|
+
contractOfferIds: Array<Scalars['Int']>;
|
|
680
732
|
/** Схема платы заказа */
|
|
681
733
|
usedPartialPayment?: Maybe<UsedPartialPayment>;
|
|
682
734
|
positions: Array<OrderPosition>;
|
|
@@ -694,6 +746,8 @@ export interface OrderPosition {
|
|
|
694
746
|
parentId?: Maybe<Scalars['Int']>;
|
|
695
747
|
sales: Array<SaleOrderPosition>;
|
|
696
748
|
partialPayment: PartialPayment;
|
|
749
|
+
item?: Maybe<CatalogItem>;
|
|
750
|
+
checkoutProducts?: Maybe<Array<CheckoutProduct>>;
|
|
697
751
|
}
|
|
698
752
|
export interface OrderPositionInput {
|
|
699
753
|
name: Scalars['String'];
|
|
@@ -754,6 +808,8 @@ export interface PartialPayment {
|
|
|
754
808
|
__typename?: 'PartialPayment';
|
|
755
809
|
kind: Scalars['String'];
|
|
756
810
|
complex?: Maybe<Array<PartialPaymentComplexItem>>;
|
|
811
|
+
complexDefaultUid?: Maybe<Scalars['String']>;
|
|
812
|
+
firstPayment?: Maybe<Scalars['BigDecimal']>;
|
|
757
813
|
}
|
|
758
814
|
export interface PartialPaymentComplexItem {
|
|
759
815
|
__typename?: 'PartialPaymentComplexItem';
|
|
@@ -829,13 +885,17 @@ export interface PublicLandingViewer {
|
|
|
829
885
|
master: PublicMasterRole;
|
|
830
886
|
landing?: Maybe<LandingSite>;
|
|
831
887
|
checkoutPriceDetails?: Maybe<CheckoutPriceDetails>;
|
|
888
|
+
registerAuthMethod?: Maybe<AuthMethod>;
|
|
889
|
+
checkoutPositions: Array<CheckoutPosition>;
|
|
832
890
|
sendingTransport?: Maybe<SendingTransport>;
|
|
833
891
|
}
|
|
834
892
|
export interface PublicMasterRole {
|
|
835
893
|
__typename?: 'PublicMasterRole';
|
|
836
894
|
uid: Scalars['Int'];
|
|
895
|
+
hasPromoCode: Scalars['Boolean'];
|
|
837
896
|
master: MasterProfileCustom;
|
|
838
897
|
contacts: ContactsProfile;
|
|
898
|
+
sendingTransport?: Maybe<SendingTransport>;
|
|
839
899
|
/** Ссылка на приложение студента */
|
|
840
900
|
studentUrl?: Maybe<Scalars['String']>;
|
|
841
901
|
}
|
|
@@ -1024,6 +1084,7 @@ export interface UpdateLandingOrderInput {
|
|
|
1024
1084
|
locationId?: Maybe<Scalars['Int']>;
|
|
1025
1085
|
address?: Maybe<AddressInput>;
|
|
1026
1086
|
deliveryId?: Maybe<Scalars['Int']>;
|
|
1087
|
+
customParams?: Maybe<Scalars['String']>;
|
|
1027
1088
|
selectedTime?: Maybe<Array<OrderSelectedTimeInput>>;
|
|
1028
1089
|
isMultiday?: Maybe<Scalars['Boolean']>;
|
|
1029
1090
|
clientMutationId?: Maybe<Scalars['String']>;
|
|
@@ -1047,6 +1108,11 @@ export interface UsedPartialPaymentComplex {
|
|
|
1047
1108
|
item: PartialPaymentComplexItem;
|
|
1048
1109
|
firstPaymentIndexes?: Maybe<Array<Scalars['Int']>>;
|
|
1049
1110
|
}
|
|
1111
|
+
export interface UserAuth {
|
|
1112
|
+
__typename?: 'UserAuth';
|
|
1113
|
+
method: Scalars['String'];
|
|
1114
|
+
key: Scalars['String'];
|
|
1115
|
+
}
|
|
1050
1116
|
export interface UserHuman {
|
|
1051
1117
|
__typename?: 'UserHuman';
|
|
1052
1118
|
id: Scalars['ID'];
|
|
@@ -1062,7 +1128,7 @@ export interface UserProfileCustom {
|
|
|
1062
1128
|
__typename?: 'UserProfileCustom';
|
|
1063
1129
|
id: Scalars['ID'];
|
|
1064
1130
|
uid: Scalars['Int'];
|
|
1065
|
-
|
|
1131
|
+
auths: Array<UserAuth>;
|
|
1066
1132
|
name: Scalars['String'];
|
|
1067
1133
|
shortName: Scalars['String'];
|
|
1068
1134
|
avatarUrl?: Maybe<Scalars['String']>;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.TimeUnit = exports.StaticFileType = exports.SocialNetworks = exports.SaleBenefitUnit = exports.SaleBenefitKind = exports.PriceOrderConditionKind = exports.OrderStatus = exports.MessengerServices = exports.MeetExpectation = exports.LangGender = exports.CourseTariffPriceKind = exports.CourseTariffFlowBehaviour = exports.CourseSubKind = exports.CourseKind = exports.CourseFlowBehaviour = exports.ClientFormQuestionKind = exports.ClientFormKind = exports.CatalogFieldValueType = exports.CardFieldState = exports.CardFieldName = void 0;
|
|
4
|
+
exports.TimeUnit = exports.StaticFileType = exports.SocialNetworks = exports.SaleBenefitUnit = exports.SaleBenefitKind = exports.PriceOrderConditionKind = exports.OrderStatus = exports.MessengerServices = exports.MeetExpectation = exports.LangGender = exports.CourseTariffPriceKind = exports.CourseTariffFlowBehaviour = exports.CourseSubKind = exports.CourseKind = exports.CourseFlowBehaviour = exports.ClientFormQuestionKind = exports.ClientFormKind = exports.CatalogFieldValueType = exports.CardFieldState = exports.CardFieldName = exports.AuthMethod = void 0;
|
|
5
|
+
var AuthMethod;
|
|
6
|
+
(function (AuthMethod) {
|
|
7
|
+
AuthMethod["SMS"] = "Sms";
|
|
8
|
+
AuthMethod["EMAIL"] = "Email";
|
|
9
|
+
AuthMethod["PASSWORD"] = "Password";
|
|
10
|
+
AuthMethod["TIMELIMITTOKEN"] = "TimeLimitToken";
|
|
11
|
+
})(AuthMethod = exports.AuthMethod || (exports.AuthMethod = {}));
|
|
5
12
|
var CardFieldName;
|
|
6
13
|
(function (CardFieldName) {
|
|
7
14
|
CardFieldName["SOCIALTWITTER"] = "SocialTwitter";
|
|
@@ -17,9 +24,13 @@ var CardFieldName;
|
|
|
17
24
|
CardFieldName["MESSENGERHANGOUTS"] = "MessengerHangouts";
|
|
18
25
|
CardFieldName["MESSENGERFACEBOOK"] = "MessengerFacebook";
|
|
19
26
|
CardFieldName["ATTACHMENTS"] = "Attachments";
|
|
27
|
+
CardFieldName["PHONE"] = "Phone";
|
|
20
28
|
CardFieldName["EMAIL"] = "Email";
|
|
29
|
+
CardFieldName["LASTNAME"] = "LastName";
|
|
21
30
|
CardFieldName["MIDDLENAME"] = "MiddleName";
|
|
22
31
|
CardFieldName["ACCEPTAGREEMENTBYDEFAULT"] = "AcceptAgreementByDefault";
|
|
32
|
+
CardFieldName["SEPARATECHECKBOXONDOCUMENT"] = "SeparateCheckboxOnDocument";
|
|
33
|
+
CardFieldName["NOTIAMWILLBESTUDY"] = "NotIamWillBeStudy";
|
|
23
34
|
})(CardFieldName = exports.CardFieldName || (exports.CardFieldName = {}));
|
|
24
35
|
var CardFieldState;
|
|
25
36
|
(function (CardFieldState) {
|