@procraft/widget-order 2.30.2 → 2.30.3
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/config/index.js.map +1 -1
- package/dist/interfaces/CourseFragment.d.ts +1 -0
- package/dist/modules/gql/generated/helpers/apollo-helpers.d.ts +37 -8
- package/dist/modules/gql/generated/types.d.ts +54 -20
- package/dist/modules/gql/generated/types.js +7 -1
- package/dist/modules/gql/generated/types.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/config/index.ts +0 -1
- package/src/interfaces/CourseFragment.ts +1 -0
- package/src/modules/gql/generated/helpers/apollo-helpers.ts +40 -11
- package/src/modules/gql/generated/schema.json +511 -227
- package/src/modules/gql/generated/types.ts +61 -21
- package/README.md +0 -4
package/dist/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2B;AAE3B,gBAAM,CAAC,MAAM,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2B;AAE3B,gBAAM,CAAC,MAAM,EAAE,CAAA;AACf,kBAAe;IACb,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,4BAA4B;CACnE,CAAA"}
|
|
@@ -28,13 +28,15 @@ export declare type CatalogFieldValueFieldPolicy = {
|
|
|
28
28
|
params?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
29
29
|
type?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
30
30
|
};
|
|
31
|
-
export declare type CheckoutPriceDetailsKeySpecifier = ('catalogPrice' | 'price' | 'saleDiscount' | 'promoCodeDiscount' | 'subscriptionPrice' | CheckoutPriceDetailsKeySpecifier)[];
|
|
31
|
+
export declare type CheckoutPriceDetailsKeySpecifier = ('catalogPrice' | 'price' | 'saleDiscount' | 'promoCodeDiscount' | 'subscriptionPrice' | 'subscriptionFirstPrice' | 'hasInstallment' | CheckoutPriceDetailsKeySpecifier)[];
|
|
32
32
|
export declare type CheckoutPriceDetailsFieldPolicy = {
|
|
33
33
|
catalogPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
34
34
|
price?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
35
35
|
saleDiscount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
36
36
|
promoCodeDiscount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
37
37
|
subscriptionPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
38
|
+
subscriptionFirstPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
39
|
+
hasInstallment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
38
40
|
};
|
|
39
41
|
export declare type ClientFormKeySpecifier = ('id' | 'uid' | 'name' | 'orgId' | 'isDraft' | 'createdAt' | 'deletedAt' | 'kind' | ClientFormKeySpecifier)[];
|
|
40
42
|
export declare type ClientFormFieldPolicy = {
|
|
@@ -153,7 +155,7 @@ export declare type CourseTariffProlongationItemFieldPolicy = {
|
|
|
153
155
|
price?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
154
156
|
periodInDays?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
155
157
|
};
|
|
156
|
-
export declare type CourseTariffPublicCustomKeySpecifier = ('id' | 'uid' | 'name' | 'courseId' | 'position' | 'isActive' | 'withClientForm' | 'flowBehaviour' | 'marketingBenefits' | CourseTariffPublicCustomKeySpecifier)[];
|
|
158
|
+
export declare type CourseTariffPublicCustomKeySpecifier = ('id' | 'uid' | 'name' | 'courseId' | 'position' | 'isActive' | 'ratesVisible' | 'withClientForm' | 'flowBehaviour' | 'marketingBenefits' | CourseTariffPublicCustomKeySpecifier)[];
|
|
157
159
|
export declare type CourseTariffPublicCustomFieldPolicy = {
|
|
158
160
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
159
161
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -161,6 +163,7 @@ export declare type CourseTariffPublicCustomFieldPolicy = {
|
|
|
161
163
|
courseId?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
162
164
|
position?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
163
165
|
isActive?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
166
|
+
ratesVisible?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
164
167
|
withClientForm?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
165
168
|
flowBehaviour?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
166
169
|
marketingBenefits?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -174,6 +177,11 @@ export declare type EmailTransportKeySpecifier = ('email' | EmailTransportKeySpe
|
|
|
174
177
|
export declare type EmailTransportFieldPolicy = {
|
|
175
178
|
email?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
176
179
|
};
|
|
180
|
+
export declare type FileDataKeySpecifier = ('url' | 'fileName' | FileDataKeySpecifier)[];
|
|
181
|
+
export declare type FileDataFieldPolicy = {
|
|
182
|
+
url?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
183
|
+
fileName?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
184
|
+
};
|
|
177
185
|
export declare type FileMetaKeySpecifier = ('size' | 'url' | 'mimeType' | 'name' | 'lastModified' | 'customInfo' | FileMetaKeySpecifier)[];
|
|
178
186
|
export declare type FileMetaFieldPolicy = {
|
|
179
187
|
size?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -203,9 +211,10 @@ export declare type LandingCardFieldFieldPolicy = {
|
|
|
203
211
|
name?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
204
212
|
state?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
205
213
|
};
|
|
206
|
-
export declare type LandingOrderPayloadKeySpecifier = ('order' | LandingOrderPayloadKeySpecifier)[];
|
|
214
|
+
export declare type LandingOrderPayloadKeySpecifier = ('order' | 'denyReason' | LandingOrderPayloadKeySpecifier)[];
|
|
207
215
|
export declare type LandingOrderPayloadFieldPolicy = {
|
|
208
216
|
order?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
217
|
+
denyReason?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
209
218
|
};
|
|
210
219
|
export declare type LandingSiteKeySpecifier = ('id' | 'cardFields' | 'background' | 'extraScript' | 'verificationCode' | 'showFeedbackWidget' | LandingSiteKeySpecifier)[];
|
|
211
220
|
export declare type LandingSiteFieldPolicy = {
|
|
@@ -260,13 +269,15 @@ export declare type MasterClientProfileCommonFieldPolicy = {
|
|
|
260
269
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
261
270
|
extraFieldsAnswers?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
262
271
|
};
|
|
263
|
-
export declare type MasterProfileCustomKeySpecifier = ('id' | 'uid' | 'label' | 'pdfContractOffer' | 'pdfPrivacyPolicy' | 'currency' | 'cashPaymentAliases' | 'orgPhoto' | MasterProfileCustomKeySpecifier)[];
|
|
272
|
+
export declare type MasterProfileCustomKeySpecifier = ('id' | 'uid' | 'label' | 'pdfContractOffer' | 'pdfPrivacyPolicy' | 'pdfExtraDocument' | 'installmentComment' | 'currency' | 'cashPaymentAliases' | 'orgPhoto' | MasterProfileCustomKeySpecifier)[];
|
|
264
273
|
export declare type MasterProfileCustomFieldPolicy = {
|
|
265
274
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
266
275
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
267
276
|
label?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
268
277
|
pdfContractOffer?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
269
278
|
pdfPrivacyPolicy?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
279
|
+
pdfExtraDocument?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
280
|
+
installmentComment?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
270
281
|
currency?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
271
282
|
cashPaymentAliases?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
272
283
|
orgPhoto?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -276,7 +287,7 @@ export declare type MessengerFieldPolicy = {
|
|
|
276
287
|
service?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
277
288
|
account?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
278
289
|
};
|
|
279
|
-
export declare type MutationKeySpecifier = ('createLandingOrder' | 'updateLandingOrder' | 'submitLandingOrder' | 'sendSmsCode' | 'login' | 'authClientByPhone' | 'deleteLandingTemplateCustom' | 'createLandingTemplate' | 'updateLandingTemplate' | 'clientFormSubmitExtraFields' | 's3getSignedUrl' | 's3Upload' | MutationKeySpecifier)[];
|
|
290
|
+
export declare type MutationKeySpecifier = ('createLandingOrder' | 'updateLandingOrder' | 'submitLandingOrder' | 'sendSmsCode' | 'login' | 'authClientByPhone' | 'authCustomer' | 'deleteLandingTemplateCustom' | 'createLandingTemplate' | 'updateLandingTemplate' | 'clientFormSubmitExtraFields' | 's3getSignedUrl' | 's3Upload' | MutationKeySpecifier)[];
|
|
280
291
|
export declare type MutationFieldPolicy = {
|
|
281
292
|
createLandingOrder?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
282
293
|
updateLandingOrder?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -284,6 +295,7 @@ export declare type MutationFieldPolicy = {
|
|
|
284
295
|
sendSmsCode?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
285
296
|
login?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
286
297
|
authClientByPhone?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
298
|
+
authCustomer?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
287
299
|
deleteLandingTemplateCustom?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
288
300
|
createLandingTemplate?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
289
301
|
updateLandingTemplate?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -320,7 +332,7 @@ export declare type OrderConditionFieldPolicy = {
|
|
|
320
332
|
kind?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
321
333
|
data?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
322
334
|
};
|
|
323
|
-
export declare type OrderCustomKeySpecifier = ('id' | 'uid' | 'price' | 'salePrice' | 'catalogPrice' | 'saleDiscount' | 'promoCodeDiscount' | 'subscriptionPrice' | 'status' | 'paymentUrl' | 'partialPrices' | 'isMultiday' | 'usedPartialPayment' | 'positions' | 'promoCode' | OrderCustomKeySpecifier)[];
|
|
335
|
+
export declare type OrderCustomKeySpecifier = ('id' | 'uid' | 'price' | 'salePrice' | 'catalogPrice' | 'saleDiscount' | 'promoCodeDiscount' | 'subscriptionPrice' | 'subscriptionFirstPrice' | 'status' | 'paymentUrl' | 'partialPrices' | 'isMultiday' | 'usedPartialPayment' | 'positions' | 'promoCode' | OrderCustomKeySpecifier)[];
|
|
324
336
|
export declare type OrderCustomFieldPolicy = {
|
|
325
337
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
326
338
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -330,6 +342,7 @@ export declare type OrderCustomFieldPolicy = {
|
|
|
330
342
|
saleDiscount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
331
343
|
promoCodeDiscount?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
332
344
|
subscriptionPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
345
|
+
subscriptionFirstPrice?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
333
346
|
status?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
334
347
|
paymentUrl?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
335
348
|
partialPrices?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -399,6 +412,12 @@ export declare type PhotoDataFieldPolicy = {
|
|
|
399
412
|
width?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
400
413
|
height?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
401
414
|
};
|
|
415
|
+
export declare type PriceOrderConditionDataKeySpecifier = ('kind' | 'from' | 'to' | PriceOrderConditionDataKeySpecifier)[];
|
|
416
|
+
export declare type PriceOrderConditionDataFieldPolicy = {
|
|
417
|
+
kind?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
418
|
+
from?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
419
|
+
to?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
420
|
+
};
|
|
402
421
|
export declare type PrivateApiLandingViewerKeySpecifier = ('id' | 'isEditor' | 'user' | 'landing' | 'masterClientCommon' | PrivateApiLandingViewerKeySpecifier)[];
|
|
403
422
|
export declare type PrivateApiLandingViewerFieldPolicy = {
|
|
404
423
|
id?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
@@ -426,11 +445,12 @@ export declare type PublicLandingViewerFieldPolicy = {
|
|
|
426
445
|
checkoutPriceDetails?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
427
446
|
sendingTransport?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
428
447
|
};
|
|
429
|
-
export declare type PublicMasterRoleKeySpecifier = ('uid' | 'master' | 'contacts' | PublicMasterRoleKeySpecifier)[];
|
|
448
|
+
export declare type PublicMasterRoleKeySpecifier = ('uid' | 'master' | 'contacts' | 'studentUrl' | PublicMasterRoleKeySpecifier)[];
|
|
430
449
|
export declare type PublicMasterRoleFieldPolicy = {
|
|
431
450
|
uid?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
432
451
|
master?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
433
452
|
contacts?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
453
|
+
studentUrl?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
434
454
|
};
|
|
435
455
|
export declare type QueryKeySpecifier = ('me' | 'viewer' | 'templates' | 'template' | 'courses' | 'course' | 'orderCatalogItem' | 'staticFiles' | 'extraFieldsQuestions' | 'promoCode' | QueryKeySpecifier)[];
|
|
436
456
|
export declare type QueryFieldPolicy = {
|
|
@@ -445,11 +465,12 @@ export declare type QueryFieldPolicy = {
|
|
|
445
465
|
extraFieldsQuestions?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
446
466
|
promoCode?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
447
467
|
};
|
|
448
|
-
export declare type RestApiPayloadKeySpecifier = ('error' | 'message' | 'token' | 'methods' | RestApiPayloadKeySpecifier)[];
|
|
468
|
+
export declare type RestApiPayloadKeySpecifier = ('error' | 'message' | 'token' | 'customerId' | 'methods' | RestApiPayloadKeySpecifier)[];
|
|
449
469
|
export declare type RestApiPayloadFieldPolicy = {
|
|
450
470
|
error?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
451
471
|
message?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
452
472
|
token?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
473
|
+
customerId?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
453
474
|
methods?: FieldPolicy<any> | FieldReadFunction<any>;
|
|
454
475
|
};
|
|
455
476
|
export declare type SaleCustomKeySpecifier = ('id' | 'uid' | 'name' | 'isActive' | 'benefitKind' | 'benefitItems' | 'benefitAmount' | 'benefitUnit' | 'orderCondition' | SaleCustomKeySpecifier)[];
|
|
@@ -616,6 +637,10 @@ export declare type TypedTypePolicies = TypePolicies & {
|
|
|
616
637
|
keyFields?: false | EmailTransportKeySpecifier | (() => undefined | EmailTransportKeySpecifier);
|
|
617
638
|
fields?: EmailTransportFieldPolicy;
|
|
618
639
|
};
|
|
640
|
+
FileData?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
641
|
+
keyFields?: false | FileDataKeySpecifier | (() => undefined | FileDataKeySpecifier);
|
|
642
|
+
fields?: FileDataFieldPolicy;
|
|
643
|
+
};
|
|
619
644
|
FileMeta?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
620
645
|
keyFields?: false | FileMetaKeySpecifier | (() => undefined | FileMetaKeySpecifier);
|
|
621
646
|
fields?: FileMetaFieldPolicy;
|
|
@@ -728,6 +753,10 @@ export declare type TypedTypePolicies = TypePolicies & {
|
|
|
728
753
|
keyFields?: false | PhotoDataKeySpecifier | (() => undefined | PhotoDataKeySpecifier);
|
|
729
754
|
fields?: PhotoDataFieldPolicy;
|
|
730
755
|
};
|
|
756
|
+
PriceOrderConditionData?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
757
|
+
keyFields?: false | PriceOrderConditionDataKeySpecifier | (() => undefined | PriceOrderConditionDataKeySpecifier);
|
|
758
|
+
fields?: PriceOrderConditionDataFieldPolicy;
|
|
759
|
+
};
|
|
731
760
|
PrivateApiLandingViewer?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
|
732
761
|
keyFields?: false | PrivateApiLandingViewerKeySpecifier | (() => undefined | PrivateApiLandingViewerKeySpecifier);
|
|
733
762
|
fields?: PrivateApiLandingViewerFieldPolicy;
|
|
@@ -44,6 +44,17 @@ export interface AddressInput {
|
|
|
44
44
|
notes?: Maybe<Scalars['String']>;
|
|
45
45
|
primary?: Maybe<Scalars['Boolean']>;
|
|
46
46
|
}
|
|
47
|
+
export interface BookingClientInput {
|
|
48
|
+
firstName?: Maybe<Scalars['String']>;
|
|
49
|
+
lastName?: Maybe<Scalars['String']>;
|
|
50
|
+
middleName?: Maybe<Scalars['String']>;
|
|
51
|
+
email?: Maybe<Scalars['String']>;
|
|
52
|
+
phone?: Maybe<Scalars['String']>;
|
|
53
|
+
notes?: Maybe<Scalars['String']>;
|
|
54
|
+
attachments?: Maybe<Array<PhotoDataInput>>;
|
|
55
|
+
patchMessengers?: Maybe<Array<MessengerPatch>>;
|
|
56
|
+
patchSocials?: Maybe<Array<SocialPatch>>;
|
|
57
|
+
}
|
|
47
58
|
export declare enum CardFieldName {
|
|
48
59
|
SOCIALTWITTER = "SocialTwitter",
|
|
49
60
|
SOCIALOK = "SocialOk",
|
|
@@ -127,6 +138,8 @@ export interface CheckoutPriceDetails {
|
|
|
127
138
|
saleDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
128
139
|
promoCodeDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
129
140
|
subscriptionPrice?: Maybe<Scalars['BigDecimal']>;
|
|
141
|
+
subscriptionFirstPrice?: Maybe<Scalars['BigDecimal']>;
|
|
142
|
+
hasInstallment: Scalars['Boolean'];
|
|
130
143
|
}
|
|
131
144
|
export interface ClientForm {
|
|
132
145
|
__typename?: 'ClientForm';
|
|
@@ -318,6 +331,7 @@ export interface CourseTariffPublicCustom {
|
|
|
318
331
|
courseId: Scalars['Int'];
|
|
319
332
|
position: Scalars['Int'];
|
|
320
333
|
isActive: Scalars['Boolean'];
|
|
334
|
+
ratesVisible: Scalars['Boolean'];
|
|
321
335
|
withClientForm: Scalars['Boolean'];
|
|
322
336
|
flowBehaviour: CourseTariffFlowBehaviour;
|
|
323
337
|
marketingBenefits: Array<Scalars['String']>;
|
|
@@ -348,6 +362,11 @@ export interface EmailTransport {
|
|
|
348
362
|
__typename?: 'EmailTransport';
|
|
349
363
|
email: Scalars['String'];
|
|
350
364
|
}
|
|
365
|
+
export interface FileData {
|
|
366
|
+
__typename?: 'FileData';
|
|
367
|
+
url: Scalars['String'];
|
|
368
|
+
fileName?: Maybe<Scalars['String']>;
|
|
369
|
+
}
|
|
351
370
|
export interface FileMeta {
|
|
352
371
|
__typename?: 'FileMeta';
|
|
353
372
|
size: Scalars['Int'];
|
|
@@ -388,6 +407,7 @@ export interface LandingCardField {
|
|
|
388
407
|
export interface LandingOrderPayload {
|
|
389
408
|
__typename?: 'LandingOrderPayload';
|
|
390
409
|
order?: Maybe<OrderCustom>;
|
|
410
|
+
denyReason?: Maybe<Scalars['String']>;
|
|
391
411
|
}
|
|
392
412
|
export interface LandingSite {
|
|
393
413
|
__typename?: 'LandingSite';
|
|
@@ -475,6 +495,8 @@ export interface MasterProfileCustom {
|
|
|
475
495
|
pdfContractOffer?: Maybe<Scalars['String']>;
|
|
476
496
|
/** Ссылка на политику безопасности */
|
|
477
497
|
pdfPrivacyPolicy?: Maybe<Scalars['String']>;
|
|
498
|
+
pdfExtraDocument?: Maybe<FileData>;
|
|
499
|
+
installmentComment: Scalars['String'];
|
|
478
500
|
currency: Scalars['String'];
|
|
479
501
|
cashPaymentAliases: Array<CashPaymentAlias>;
|
|
480
502
|
/** Лого организации */
|
|
@@ -520,6 +542,8 @@ export interface Mutation {
|
|
|
520
542
|
login?: Maybe<RestApiPayload>;
|
|
521
543
|
/** Регистрация или авторизация клиента по телефону */
|
|
522
544
|
authClientByPhone?: Maybe<RestApiPayload>;
|
|
545
|
+
/** Регистрация или авторизация кастомера по телефону */
|
|
546
|
+
authCustomer?: Maybe<RestApiPayload>;
|
|
523
547
|
deleteLandingTemplateCustom: Scalars['Boolean'];
|
|
524
548
|
/** Создание шаблона */
|
|
525
549
|
createLandingTemplate?: Maybe<LandintTemplatePayload>;
|
|
@@ -549,7 +573,6 @@ export declare type MutationSendSmsCodeArgs = {
|
|
|
549
573
|
phone: Scalars['String'];
|
|
550
574
|
promoCode?: Maybe<Scalars['String']>;
|
|
551
575
|
promoCodeIsFromCookie?: Maybe<Scalars['Boolean']>;
|
|
552
|
-
allowCall: Scalars['Boolean'];
|
|
553
576
|
};
|
|
554
577
|
export declare type MutationLoginArgs = {
|
|
555
578
|
phone: Scalars['String'];
|
|
@@ -561,6 +584,12 @@ export declare type MutationAuthClientByPhoneArgs = {
|
|
|
561
584
|
smsCode: Scalars['String'];
|
|
562
585
|
smsToken: Scalars['String'];
|
|
563
586
|
};
|
|
587
|
+
export declare type MutationAuthCustomerArgs = {
|
|
588
|
+
orgId: Scalars['Int'];
|
|
589
|
+
phone: Scalars['String'];
|
|
590
|
+
smsCode?: Maybe<Scalars['String']>;
|
|
591
|
+
smsToken?: Maybe<Scalars['String']>;
|
|
592
|
+
};
|
|
564
593
|
export declare type MutationDeleteLandingTemplateCustomArgs = {
|
|
565
594
|
id: Scalars['ID'];
|
|
566
595
|
};
|
|
@@ -624,7 +653,7 @@ export interface OrderCondition {
|
|
|
624
653
|
kind: Scalars['String'];
|
|
625
654
|
data?: Maybe<OrderConditionData>;
|
|
626
655
|
}
|
|
627
|
-
export declare type OrderConditionData = ItemOrderConditionData;
|
|
656
|
+
export declare type OrderConditionData = ItemOrderConditionData | PriceOrderConditionData;
|
|
628
657
|
export interface OrderCustom {
|
|
629
658
|
__typename?: 'OrderCustom';
|
|
630
659
|
id: Scalars['ID'];
|
|
@@ -637,6 +666,7 @@ export interface OrderCustom {
|
|
|
637
666
|
saleDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
638
667
|
promoCodeDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
639
668
|
subscriptionPrice?: Maybe<Scalars['BigDecimal']>;
|
|
669
|
+
subscriptionFirstPrice?: Maybe<Scalars['BigDecimal']>;
|
|
640
670
|
status: OrderStatus;
|
|
641
671
|
paymentUrl?: Maybe<Scalars['String']>;
|
|
642
672
|
/** Суммы поэтапной оплаты */
|
|
@@ -754,6 +784,17 @@ export interface PhotoDataInput {
|
|
|
754
784
|
width?: Maybe<Scalars['Int']>;
|
|
755
785
|
height?: Maybe<Scalars['Int']>;
|
|
756
786
|
}
|
|
787
|
+
export interface PriceOrderConditionData {
|
|
788
|
+
__typename?: 'PriceOrderConditionData';
|
|
789
|
+
kind: PriceOrderConditionKind;
|
|
790
|
+
from?: Maybe<Scalars['BigDecimal']>;
|
|
791
|
+
to?: Maybe<Scalars['BigDecimal']>;
|
|
792
|
+
}
|
|
793
|
+
export declare enum PriceOrderConditionKind {
|
|
794
|
+
FROM = "From",
|
|
795
|
+
TO = "To",
|
|
796
|
+
BETWEEN = "Between"
|
|
797
|
+
}
|
|
757
798
|
/** Текущий авторизованный пользователь */
|
|
758
799
|
export interface PrivateApiLandingViewer {
|
|
759
800
|
__typename?: 'PrivateApiLandingViewer';
|
|
@@ -790,6 +831,8 @@ export interface PublicMasterRole {
|
|
|
790
831
|
uid: Scalars['Int'];
|
|
791
832
|
master: MasterProfileCustom;
|
|
792
833
|
contacts: ContactsProfile;
|
|
834
|
+
/** Ссылка на приложение студента */
|
|
835
|
+
studentUrl?: Maybe<Scalars['String']>;
|
|
793
836
|
}
|
|
794
837
|
export interface Query {
|
|
795
838
|
__typename?: 'Query';
|
|
@@ -847,6 +890,7 @@ export interface RestApiPayload {
|
|
|
847
890
|
error: Scalars['Boolean'];
|
|
848
891
|
message: Scalars['String'];
|
|
849
892
|
token?: Maybe<Scalars['String']>;
|
|
893
|
+
customerId?: Maybe<Scalars['Int']>;
|
|
850
894
|
methods?: Maybe<Array<Scalars['String']>>;
|
|
851
895
|
}
|
|
852
896
|
export declare enum SaleBenefitKind {
|
|
@@ -927,17 +971,14 @@ export declare enum StaticFileType {
|
|
|
927
971
|
}
|
|
928
972
|
export interface SubmitLandingOrderInput {
|
|
929
973
|
orderId: Scalars['Int'];
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
notes?: Maybe<Scalars['String']>;
|
|
934
|
-
address?: Maybe<AddressInput>;
|
|
935
|
-
attachments?: Maybe<Array<PhotoDataInput>>;
|
|
936
|
-
email?: Maybe<Scalars['String']>;
|
|
937
|
-
clientMutationId?: Maybe<Scalars['String']>;
|
|
938
|
-
patchMessengers?: Maybe<Array<MessengerPatch>>;
|
|
939
|
-
patchSocials?: Maybe<Array<SocialPatch>>;
|
|
974
|
+
customerId?: Maybe<Scalars['Int']>;
|
|
975
|
+
customerToken?: Maybe<Scalars['String']>;
|
|
976
|
+
isSupervisor: Scalars['Boolean'];
|
|
940
977
|
extraFields: Array<ClientFormClientAnswer>;
|
|
978
|
+
client: BookingClientInput;
|
|
979
|
+
customer?: Maybe<BookingClientInput>;
|
|
980
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
981
|
+
address?: Maybe<AddressInput>;
|
|
941
982
|
}
|
|
942
983
|
export interface TelegramTransport {
|
|
943
984
|
__typename?: 'TelegramTransport';
|
|
@@ -972,26 +1013,19 @@ export interface TimeUnitWithAmountInput {
|
|
|
972
1013
|
}
|
|
973
1014
|
export interface UpdateLandingOrderInput {
|
|
974
1015
|
orderId: Scalars['Int'];
|
|
1016
|
+
client: BookingClientInput;
|
|
975
1017
|
positions: Array<OrderPositionInput>;
|
|
976
1018
|
locationId?: Maybe<Scalars['Int']>;
|
|
977
1019
|
address?: Maybe<AddressInput>;
|
|
978
1020
|
deliveryId?: Maybe<Scalars['Int']>;
|
|
979
1021
|
selectedTime?: Maybe<Array<OrderSelectedTimeInput>>;
|
|
980
1022
|
isMultiday?: Maybe<Scalars['Boolean']>;
|
|
981
|
-
firstName?: Maybe<Scalars['String']>;
|
|
982
|
-
middleName?: Maybe<Scalars['String']>;
|
|
983
|
-
lastName?: Maybe<Scalars['String']>;
|
|
984
|
-
notes?: Maybe<Scalars['String']>;
|
|
985
|
-
email?: Maybe<Scalars['String']>;
|
|
986
|
-
attachments?: Maybe<Array<PhotoDataInput>>;
|
|
987
1023
|
clientMutationId?: Maybe<Scalars['String']>;
|
|
988
1024
|
promoCode?: Maybe<Scalars['String']>;
|
|
989
1025
|
paymentSchemaUid?: Maybe<Scalars['String']>;
|
|
990
1026
|
paymentSchemaIndexes?: Maybe<Array<Scalars['Int']>>;
|
|
991
1027
|
/** Поэтапная оплата */
|
|
992
1028
|
partialPayment?: Maybe<Scalars['Boolean']>;
|
|
993
|
-
patchMessengers?: Maybe<Array<MessengerPatch>>;
|
|
994
|
-
patchSocials?: Maybe<Array<SocialPatch>>;
|
|
995
1029
|
}
|
|
996
1030
|
export interface UpdateLandingTemplateInput {
|
|
997
1031
|
id: Scalars['String'];
|
|
@@ -1,7 +1,7 @@
|
|
|
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.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 = void 0;
|
|
5
5
|
var CardFieldName;
|
|
6
6
|
(function (CardFieldName) {
|
|
7
7
|
CardFieldName["SOCIALTWITTER"] = "SocialTwitter";
|
|
@@ -139,6 +139,12 @@ var OrderStatus;
|
|
|
139
139
|
OrderStatus["LEAD"] = "Lead";
|
|
140
140
|
OrderStatus["DRAFT"] = "Draft";
|
|
141
141
|
})(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {}));
|
|
142
|
+
var PriceOrderConditionKind;
|
|
143
|
+
(function (PriceOrderConditionKind) {
|
|
144
|
+
PriceOrderConditionKind["FROM"] = "From";
|
|
145
|
+
PriceOrderConditionKind["TO"] = "To";
|
|
146
|
+
PriceOrderConditionKind["BETWEEN"] = "Between";
|
|
147
|
+
})(PriceOrderConditionKind = exports.PriceOrderConditionKind || (exports.PriceOrderConditionKind = {}));
|
|
142
148
|
var SaleBenefitKind;
|
|
143
149
|
(function (SaleBenefitKind) {
|
|
144
150
|
SaleBenefitKind["GIFTITEMS"] = "GiftItems";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/modules/gql/generated/types.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/modules/gql/generated/types.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AA0DpB,IAAY,aAiBX;AAjBD,WAAY,aAAa;IACvB,gDAA+B,CAAA;IAC/B,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,oDAAmC,CAAA;IACnC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;IACvC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;IACvC,kDAAiC,CAAA;IACjC,wDAAuC,CAAA;IACvC,wDAAuC,CAAA;IACvC,wDAAuC,CAAA;IACvC,4CAA2B,CAAA;IAC3B,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,sEAAqD,CAAA;AACvD,CAAC,EAjBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAiBxB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;AACvB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAiDD,eAAe;AACf,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,sBAAsB;IACtB,4CAAmB,CAAA;IACnB,4BAA4B;IAC5B,0CAAiB,CAAA;IACjB,eAAe;IACf,sDAA6B,CAAA;AAC/B,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC;AA2CD,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;AACrB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAcD,IAAY,sBAMX;AAND,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,uDAA6B,CAAA;IAC7B,yDAA+B,CAAA;IAC/B,iDAAu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