@procraft/widget-order 2.30.3 → 2.30.4
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/hooks/usePrices/index.js +3 -3
- package/dist/hooks/usePrices/index.js.map +1 -1
- package/dist/modules/gql/generated/helpers/apollo-helpers.d.ts +2 -1
- package/dist/modules/gql/generated/types.d.ts +6 -1
- package/dist/modules/gql/generated/types.js +3 -0
- package/dist/modules/gql/generated/types.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/hooks/usePrices/index.tsx +3 -3
- package/src/modules/gql/generated/helpers/apollo-helpers.ts +3 -2
- package/src/modules/gql/generated/schema.json +48 -0
- package/src/modules/gql/generated/types.ts +6 -1
package/package.json
CHANGED
|
@@ -22,16 +22,16 @@ export const usePrices = ({
|
|
|
22
22
|
const fieldValuesGroups: FieldValuesGroups = {
|
|
23
23
|
Unknown: {
|
|
24
24
|
fieldValues: [],
|
|
25
|
-
// fieldValueSelected: null,
|
|
26
25
|
},
|
|
27
26
|
Course: {
|
|
28
27
|
fieldValues: [],
|
|
29
|
-
// fieldValueSelected: null,
|
|
30
28
|
},
|
|
31
29
|
Subscription: {
|
|
32
30
|
fieldValues: [],
|
|
33
|
-
// fieldValueSelected: null,
|
|
34
31
|
},
|
|
32
|
+
LessonCount: {
|
|
33
|
+
fieldValues: [],
|
|
34
|
+
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
for (const typeKey in CatalogFieldValueType) {
|
|
@@ -263,11 +263,12 @@ export type LangRussianNounFieldPolicy = {
|
|
|
263
263
|
createdAt?: FieldPolicy<any> | FieldReadFunction<any>,
|
|
264
264
|
gender?: FieldPolicy<any> | FieldReadFunction<any>
|
|
265
265
|
};
|
|
266
|
-
export type MasterClientProfileCommonKeySpecifier = ('id' | 'uid' | 'extraFieldsAnswers' | MasterClientProfileCommonKeySpecifier)[];
|
|
266
|
+
export type MasterClientProfileCommonKeySpecifier = ('id' | 'uid' | 'extraFieldsAnswers' | 'supervised' | MasterClientProfileCommonKeySpecifier)[];
|
|
267
267
|
export type MasterClientProfileCommonFieldPolicy = {
|
|
268
268
|
id?: FieldPolicy<any> | FieldReadFunction<any>,
|
|
269
269
|
uid?: FieldPolicy<any> | FieldReadFunction<any>,
|
|
270
|
-
extraFieldsAnswers?: FieldPolicy<any> | FieldReadFunction<any
|
|
270
|
+
extraFieldsAnswers?: FieldPolicy<any> | FieldReadFunction<any>,
|
|
271
|
+
supervised?: FieldPolicy<any> | FieldReadFunction<any>
|
|
271
272
|
};
|
|
272
273
|
export type MasterProfileCustomKeySpecifier = ('id' | 'uid' | 'label' | 'pdfContractOffer' | 'pdfPrivacyPolicy' | 'pdfExtraDocument' | 'installmentComment' | 'currency' | 'cashPaymentAliases' | 'orgPhoto' | MasterProfileCustomKeySpecifier)[];
|
|
273
274
|
export type MasterProfileCustomFieldPolicy = {
|
|
@@ -1053,6 +1053,12 @@
|
|
|
1053
1053
|
"description": "Подписка",
|
|
1054
1054
|
"isDeprecated": false,
|
|
1055
1055
|
"deprecationReason": null
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "LessonCount",
|
|
1059
|
+
"description": "Число занятий",
|
|
1060
|
+
"isDeprecated": false,
|
|
1061
|
+
"deprecationReason": null
|
|
1056
1062
|
}
|
|
1057
1063
|
],
|
|
1058
1064
|
"possibleTypes": null
|
|
@@ -2825,6 +2831,12 @@
|
|
|
2825
2831
|
"isDeprecated": false,
|
|
2826
2832
|
"deprecationReason": null
|
|
2827
2833
|
},
|
|
2834
|
+
{
|
|
2835
|
+
"name": "FixedByOption",
|
|
2836
|
+
"description": null,
|
|
2837
|
+
"isDeprecated": false,
|
|
2838
|
+
"deprecationReason": null
|
|
2839
|
+
},
|
|
2828
2840
|
{
|
|
2829
2841
|
"name": "Fixed",
|
|
2830
2842
|
"description": null,
|
|
@@ -4675,6 +4687,30 @@
|
|
|
4675
4687
|
},
|
|
4676
4688
|
"isDeprecated": false,
|
|
4677
4689
|
"deprecationReason": null
|
|
4690
|
+
},
|
|
4691
|
+
{
|
|
4692
|
+
"name": "supervised",
|
|
4693
|
+
"description": null,
|
|
4694
|
+
"args": [],
|
|
4695
|
+
"type": {
|
|
4696
|
+
"kind": "NON_NULL",
|
|
4697
|
+
"name": null,
|
|
4698
|
+
"ofType": {
|
|
4699
|
+
"kind": "LIST",
|
|
4700
|
+
"name": null,
|
|
4701
|
+
"ofType": {
|
|
4702
|
+
"kind": "NON_NULL",
|
|
4703
|
+
"name": null,
|
|
4704
|
+
"ofType": {
|
|
4705
|
+
"kind": "OBJECT",
|
|
4706
|
+
"name": "UserProfileCustom",
|
|
4707
|
+
"ofType": null
|
|
4708
|
+
}
|
|
4709
|
+
}
|
|
4710
|
+
}
|
|
4711
|
+
},
|
|
4712
|
+
"isDeprecated": false,
|
|
4713
|
+
"deprecationReason": null
|
|
4678
4714
|
}
|
|
4679
4715
|
],
|
|
4680
4716
|
"inputFields": null,
|
|
@@ -8872,6 +8908,18 @@
|
|
|
8872
8908
|
"isDeprecated": false,
|
|
8873
8909
|
"deprecationReason": null
|
|
8874
8910
|
},
|
|
8911
|
+
{
|
|
8912
|
+
"name": "customerLogin",
|
|
8913
|
+
"description": null,
|
|
8914
|
+
"type": {
|
|
8915
|
+
"kind": "SCALAR",
|
|
8916
|
+
"name": "String",
|
|
8917
|
+
"ofType": null
|
|
8918
|
+
},
|
|
8919
|
+
"defaultValue": null,
|
|
8920
|
+
"isDeprecated": false,
|
|
8921
|
+
"deprecationReason": null
|
|
8922
|
+
},
|
|
8875
8923
|
{
|
|
8876
8924
|
"name": "isSupervisor",
|
|
8877
8925
|
"description": null,
|
|
@@ -135,7 +135,9 @@ export enum CatalogFieldValueType {
|
|
|
135
135
|
/** Базовая покупка курса */
|
|
136
136
|
COURSE = 'Course',
|
|
137
137
|
/** Подписка */
|
|
138
|
-
SUBSCRIPTION = 'Subscription'
|
|
138
|
+
SUBSCRIPTION = 'Subscription',
|
|
139
|
+
/** Число занятий */
|
|
140
|
+
LESSONCOUNT = 'LessonCount'
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
export interface CheckoutPriceDetails {
|
|
@@ -340,6 +342,7 @@ export enum CourseTariffPriceKind {
|
|
|
340
342
|
SUBSCRIPTION = 'Subscription',
|
|
341
343
|
CHANGESBYSALES = 'ChangesBySales',
|
|
342
344
|
CHANGESBYTIME = 'ChangesByTime',
|
|
345
|
+
FIXEDBYOPTION = 'FixedByOption',
|
|
343
346
|
FIXED = 'Fixed',
|
|
344
347
|
FREE = 'Free'
|
|
345
348
|
}
|
|
@@ -540,6 +543,7 @@ export interface MasterClientProfileCommon {
|
|
|
540
543
|
id: Scalars['ID'];
|
|
541
544
|
uid: Scalars['Int'];
|
|
542
545
|
extraFieldsAnswers: Array<ClientFormAnswer>;
|
|
546
|
+
supervised: Array<UserProfileCustom>;
|
|
543
547
|
}
|
|
544
548
|
|
|
545
549
|
export interface MasterProfileCustom {
|
|
@@ -1118,6 +1122,7 @@ export interface SubmitLandingOrderInput {
|
|
|
1118
1122
|
orderId: Scalars['Int'];
|
|
1119
1123
|
customerId?: Maybe<Scalars['Int']>;
|
|
1120
1124
|
customerToken?: Maybe<Scalars['String']>;
|
|
1125
|
+
customerLogin?: Maybe<Scalars['String']>;
|
|
1121
1126
|
isSupervisor: Scalars['Boolean'];
|
|
1122
1127
|
extraFields: Array<ClientFormClientAnswer>;
|
|
1123
1128
|
client: BookingClientInput;
|