@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
|
@@ -44,6 +44,18 @@ export interface AddressInput {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
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
|
+
}
|
|
58
|
+
|
|
47
59
|
export enum CardFieldName {
|
|
48
60
|
SOCIALTWITTER = 'SocialTwitter',
|
|
49
61
|
SOCIALOK = 'SocialOk',
|
|
@@ -133,6 +145,8 @@ export interface CheckoutPriceDetails {
|
|
|
133
145
|
saleDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
134
146
|
promoCodeDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
135
147
|
subscriptionPrice?: Maybe<Scalars['BigDecimal']>;
|
|
148
|
+
subscriptionFirstPrice?: Maybe<Scalars['BigDecimal']>;
|
|
149
|
+
hasInstallment: Scalars['Boolean'];
|
|
136
150
|
}
|
|
137
151
|
|
|
138
152
|
export interface ClientForm {
|
|
@@ -349,6 +363,7 @@ export interface CourseTariffPublicCustom {
|
|
|
349
363
|
courseId: Scalars['Int'];
|
|
350
364
|
position: Scalars['Int'];
|
|
351
365
|
isActive: Scalars['Boolean'];
|
|
366
|
+
ratesVisible: Scalars['Boolean'];
|
|
352
367
|
withClientForm: Scalars['Boolean'];
|
|
353
368
|
flowBehaviour: CourseTariffFlowBehaviour;
|
|
354
369
|
marketingBenefits: Array<Scalars['String']>;
|
|
@@ -385,6 +400,12 @@ export interface EmailTransport {
|
|
|
385
400
|
email: Scalars['String'];
|
|
386
401
|
}
|
|
387
402
|
|
|
403
|
+
export interface FileData {
|
|
404
|
+
__typename?: 'FileData';
|
|
405
|
+
url: Scalars['String'];
|
|
406
|
+
fileName?: Maybe<Scalars['String']>;
|
|
407
|
+
}
|
|
408
|
+
|
|
388
409
|
export interface FileMeta {
|
|
389
410
|
__typename?: 'FileMeta';
|
|
390
411
|
size: Scalars['Int'];
|
|
@@ -431,6 +452,7 @@ export interface LandingCardField {
|
|
|
431
452
|
export interface LandingOrderPayload {
|
|
432
453
|
__typename?: 'LandingOrderPayload';
|
|
433
454
|
order?: Maybe<OrderCustom>;
|
|
455
|
+
denyReason?: Maybe<Scalars['String']>;
|
|
434
456
|
}
|
|
435
457
|
|
|
436
458
|
export interface LandingSite {
|
|
@@ -529,6 +551,8 @@ export interface MasterProfileCustom {
|
|
|
529
551
|
pdfContractOffer?: Maybe<Scalars['String']>;
|
|
530
552
|
/** Ссылка на политику безопасности */
|
|
531
553
|
pdfPrivacyPolicy?: Maybe<Scalars['String']>;
|
|
554
|
+
pdfExtraDocument?: Maybe<FileData>;
|
|
555
|
+
installmentComment: Scalars['String'];
|
|
532
556
|
currency: Scalars['String'];
|
|
533
557
|
cashPaymentAliases: Array<CashPaymentAlias>;
|
|
534
558
|
/** Лого организации */
|
|
@@ -579,6 +603,8 @@ export interface Mutation {
|
|
|
579
603
|
login?: Maybe<RestApiPayload>;
|
|
580
604
|
/** Регистрация или авторизация клиента по телефону */
|
|
581
605
|
authClientByPhone?: Maybe<RestApiPayload>;
|
|
606
|
+
/** Регистрация или авторизация кастомера по телефону */
|
|
607
|
+
authCustomer?: Maybe<RestApiPayload>;
|
|
582
608
|
deleteLandingTemplateCustom: Scalars['Boolean'];
|
|
583
609
|
/** Создание шаблона */
|
|
584
610
|
createLandingTemplate?: Maybe<LandintTemplatePayload>;
|
|
@@ -616,7 +642,6 @@ export type MutationSendSmsCodeArgs = {
|
|
|
616
642
|
phone: Scalars['String'];
|
|
617
643
|
promoCode?: Maybe<Scalars['String']>;
|
|
618
644
|
promoCodeIsFromCookie?: Maybe<Scalars['Boolean']>;
|
|
619
|
-
allowCall: Scalars['Boolean'];
|
|
620
645
|
};
|
|
621
646
|
|
|
622
647
|
|
|
@@ -634,6 +659,14 @@ export type MutationAuthClientByPhoneArgs = {
|
|
|
634
659
|
};
|
|
635
660
|
|
|
636
661
|
|
|
662
|
+
export type MutationAuthCustomerArgs = {
|
|
663
|
+
orgId: Scalars['Int'];
|
|
664
|
+
phone: Scalars['String'];
|
|
665
|
+
smsCode?: Maybe<Scalars['String']>;
|
|
666
|
+
smsToken?: Maybe<Scalars['String']>;
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
|
|
637
670
|
export type MutationDeleteLandingTemplateCustomArgs = {
|
|
638
671
|
id: Scalars['ID'];
|
|
639
672
|
};
|
|
@@ -715,7 +748,7 @@ export interface OrderCondition {
|
|
|
715
748
|
data?: Maybe<OrderConditionData>;
|
|
716
749
|
}
|
|
717
750
|
|
|
718
|
-
export type OrderConditionData = ItemOrderConditionData;
|
|
751
|
+
export type OrderConditionData = ItemOrderConditionData | PriceOrderConditionData;
|
|
719
752
|
|
|
720
753
|
export interface OrderCustom {
|
|
721
754
|
__typename?: 'OrderCustom';
|
|
@@ -729,6 +762,7 @@ export interface OrderCustom {
|
|
|
729
762
|
saleDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
730
763
|
promoCodeDiscount?: Maybe<Scalars['BigDecimal']>;
|
|
731
764
|
subscriptionPrice?: Maybe<Scalars['BigDecimal']>;
|
|
765
|
+
subscriptionFirstPrice?: Maybe<Scalars['BigDecimal']>;
|
|
732
766
|
status: OrderStatus;
|
|
733
767
|
paymentUrl?: Maybe<Scalars['String']>;
|
|
734
768
|
/** Суммы поэтапной оплаты */
|
|
@@ -860,6 +894,19 @@ export interface PhotoDataInput {
|
|
|
860
894
|
height?: Maybe<Scalars['Int']>;
|
|
861
895
|
}
|
|
862
896
|
|
|
897
|
+
export interface PriceOrderConditionData {
|
|
898
|
+
__typename?: 'PriceOrderConditionData';
|
|
899
|
+
kind: PriceOrderConditionKind;
|
|
900
|
+
from?: Maybe<Scalars['BigDecimal']>;
|
|
901
|
+
to?: Maybe<Scalars['BigDecimal']>;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
export enum PriceOrderConditionKind {
|
|
905
|
+
FROM = 'From',
|
|
906
|
+
TO = 'To',
|
|
907
|
+
BETWEEN = 'Between'
|
|
908
|
+
}
|
|
909
|
+
|
|
863
910
|
/** Текущий авторизованный пользователь */
|
|
864
911
|
export interface PrivateApiLandingViewer {
|
|
865
912
|
__typename?: 'PrivateApiLandingViewer';
|
|
@@ -899,6 +946,8 @@ export interface PublicMasterRole {
|
|
|
899
946
|
uid: Scalars['Int'];
|
|
900
947
|
master: MasterProfileCustom;
|
|
901
948
|
contacts: ContactsProfile;
|
|
949
|
+
/** Ссылка на приложение студента */
|
|
950
|
+
studentUrl?: Maybe<Scalars['String']>;
|
|
902
951
|
}
|
|
903
952
|
|
|
904
953
|
export interface Query {
|
|
@@ -974,6 +1023,7 @@ export interface RestApiPayload {
|
|
|
974
1023
|
error: Scalars['Boolean'];
|
|
975
1024
|
message: Scalars['String'];
|
|
976
1025
|
token?: Maybe<Scalars['String']>;
|
|
1026
|
+
customerId?: Maybe<Scalars['Int']>;
|
|
977
1027
|
methods?: Maybe<Array<Scalars['String']>>;
|
|
978
1028
|
}
|
|
979
1029
|
|
|
@@ -1066,17 +1116,14 @@ export enum StaticFileType {
|
|
|
1066
1116
|
|
|
1067
1117
|
export interface SubmitLandingOrderInput {
|
|
1068
1118
|
orderId: Scalars['Int'];
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
notes?: Maybe<Scalars['String']>;
|
|
1073
|
-
address?: Maybe<AddressInput>;
|
|
1074
|
-
attachments?: Maybe<Array<PhotoDataInput>>;
|
|
1075
|
-
email?: Maybe<Scalars['String']>;
|
|
1076
|
-
clientMutationId?: Maybe<Scalars['String']>;
|
|
1077
|
-
patchMessengers?: Maybe<Array<MessengerPatch>>;
|
|
1078
|
-
patchSocials?: Maybe<Array<SocialPatch>>;
|
|
1119
|
+
customerId?: Maybe<Scalars['Int']>;
|
|
1120
|
+
customerToken?: Maybe<Scalars['String']>;
|
|
1121
|
+
isSupervisor: Scalars['Boolean'];
|
|
1079
1122
|
extraFields: Array<ClientFormClientAnswer>;
|
|
1123
|
+
client: BookingClientInput;
|
|
1124
|
+
customer?: Maybe<BookingClientInput>;
|
|
1125
|
+
clientMutationId?: Maybe<Scalars['String']>;
|
|
1126
|
+
address?: Maybe<AddressInput>;
|
|
1080
1127
|
}
|
|
1081
1128
|
|
|
1082
1129
|
export interface TelegramTransport {
|
|
@@ -1118,26 +1165,19 @@ export interface TimeUnitWithAmountInput {
|
|
|
1118
1165
|
|
|
1119
1166
|
export interface UpdateLandingOrderInput {
|
|
1120
1167
|
orderId: Scalars['Int'];
|
|
1168
|
+
client: BookingClientInput;
|
|
1121
1169
|
positions: Array<OrderPositionInput>;
|
|
1122
1170
|
locationId?: Maybe<Scalars['Int']>;
|
|
1123
1171
|
address?: Maybe<AddressInput>;
|
|
1124
1172
|
deliveryId?: Maybe<Scalars['Int']>;
|
|
1125
1173
|
selectedTime?: Maybe<Array<OrderSelectedTimeInput>>;
|
|
1126
1174
|
isMultiday?: Maybe<Scalars['Boolean']>;
|
|
1127
|
-
firstName?: Maybe<Scalars['String']>;
|
|
1128
|
-
middleName?: Maybe<Scalars['String']>;
|
|
1129
|
-
lastName?: Maybe<Scalars['String']>;
|
|
1130
|
-
notes?: Maybe<Scalars['String']>;
|
|
1131
|
-
email?: Maybe<Scalars['String']>;
|
|
1132
|
-
attachments?: Maybe<Array<PhotoDataInput>>;
|
|
1133
1175
|
clientMutationId?: Maybe<Scalars['String']>;
|
|
1134
1176
|
promoCode?: Maybe<Scalars['String']>;
|
|
1135
1177
|
paymentSchemaUid?: Maybe<Scalars['String']>;
|
|
1136
1178
|
paymentSchemaIndexes?: Maybe<Array<Scalars['Int']>>;
|
|
1137
1179
|
/** Поэтапная оплата */
|
|
1138
1180
|
partialPayment?: Maybe<Scalars['Boolean']>;
|
|
1139
|
-
patchMessengers?: Maybe<Array<MessengerPatch>>;
|
|
1140
|
-
patchSocials?: Maybe<Array<SocialPatch>>;
|
|
1141
1181
|
}
|
|
1142
1182
|
|
|
1143
1183
|
export interface UpdateLandingTemplateInput {
|
|
@@ -1183,4 +1223,4 @@ export interface UserProfileCustom {
|
|
|
1183
1223
|
export interface WhatsAppTransport {
|
|
1184
1224
|
__typename?: 'WhatsAppTransport';
|
|
1185
1225
|
name: Scalars['String'];
|
|
1186
|
-
}
|
|
1226
|
+
}
|
package/README.md
DELETED