@restorecommerce/facade 0.3.1 → 0.3.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/CHANGELOG.md +28 -0
- package/codegen/index.js +1 -1
- package/dist/gql/helpers/schema.d.ts +2 -6
- package/dist/gql/index.js +5 -1
- package/dist/gql/protos/graphql.d.ts +5 -7
- package/dist/gql/protos/graphql.js +43 -44
- package/dist/gql/protos/index.js +5 -1
- package/dist/gql/protos/protos.d.ts +1 -1
- package/dist/gql/protos/protos.js +4 -4
- package/dist/gql/protos/registry.d.ts +1 -1
- package/dist/gql/protos/registry.js +38 -38
- package/dist/gql/protos/types.d.ts +1 -1
- package/dist/gql/protos/utils.d.ts +0 -14
- package/dist/gql/protos/utils.js +16 -40
- package/dist/gql/types/AccessControlTypes.js +2 -2
- package/dist/gql/types/DateType.d.ts +1 -1
- package/dist/gql/types/index.js +5 -1
- package/dist/index.js +13 -6
- package/dist/middlewares/index.js +5 -1
- package/dist/middlewares/req-res-logger/index.js +2 -2
- package/dist/modules/access-control/gql/federation.js +4 -3
- package/dist/modules/access-control/gql/schema.generated.d.ts +135 -94
- package/dist/modules/access-control/gql/schema.js +2 -2
- package/dist/modules/access-control/gql/types.js +1 -1
- package/dist/modules/access-control/grpc/index.js +4 -4
- package/dist/modules/access-control/index.js +2 -2
- package/dist/modules/catalog/gql/federation.js +4 -3
- package/dist/modules/catalog/gql/schema.generated.d.ts +185 -130
- package/dist/modules/catalog/gql/schema.js +2 -2
- package/dist/modules/catalog/gql/types.js +1 -1
- package/dist/modules/catalog/grpc/index.js +5 -5
- package/dist/modules/catalog/index.js +2 -2
- package/dist/modules/facade-status/gql/index.js +2 -2
- package/dist/modules/facade-status/gql/schema.generated.d.ts +6 -7
- package/dist/modules/facade-status/gql/types.js +1 -1
- package/dist/modules/facade-status/index.js +1 -1
- package/dist/modules/fulfillment/gql/federation.js +4 -3
- package/dist/modules/fulfillment/gql/schema.generated.d.ts +180 -123
- package/dist/modules/fulfillment/gql/schema.js +2 -2
- package/dist/modules/fulfillment/gql/types.js +1 -1
- package/dist/modules/fulfillment/grpc/index.js +2 -2
- package/dist/modules/fulfillment/index.js +2 -2
- package/dist/modules/identity/api-key/api-key.js +1 -1
- package/dist/modules/identity/gql/federation.js +4 -3
- package/dist/modules/identity/gql/schema.generated.d.ts +251 -172
- package/dist/modules/identity/gql/schema.js +2 -2
- package/dist/modules/identity/gql/types.js +1 -1
- package/dist/modules/identity/grpc/index.js +5 -5
- package/dist/modules/identity/index.js +5 -5
- package/dist/modules/identity/oauth/oauth.js +11 -11
- package/dist/modules/identity/oidc/adapter.js +2 -2
- package/dist/modules/identity/oidc/in-memory-adapter.js +10 -6
- package/dist/modules/identity/oidc/index.js +6 -6
- package/dist/modules/identity/oidc/password-grant.js +4 -4
- package/dist/modules/identity/oidc/user.js +2 -2
- package/dist/modules/identity/oidc/utils.js +1 -1
- package/dist/modules/index.js +5 -1
- package/dist/modules/indexing/gql/federation.js +4 -3
- package/dist/modules/indexing/gql/schema.generated.d.ts +12 -13
- package/dist/modules/indexing/gql/schema.js +2 -2
- package/dist/modules/indexing/gql/types.js +1 -1
- package/dist/modules/indexing/grpc/index.js +1 -1
- package/dist/modules/indexing/index.js +2 -2
- package/dist/modules/invoicing/gql/federation.js +4 -3
- package/dist/modules/invoicing/gql/schema.generated.d.ts +89 -64
- package/dist/modules/invoicing/gql/schema.js +2 -2
- package/dist/modules/invoicing/gql/types.js +1 -1
- package/dist/modules/invoicing/grpc/index.js +1 -1
- package/dist/modules/invoicing/index.js +2 -2
- package/dist/modules/notification/gql/federation.js +4 -3
- package/dist/modules/notification/gql/schema.generated.d.ts +87 -62
- package/dist/modules/notification/gql/schema.js +2 -2
- package/dist/modules/notification/gql/types.js +1 -1
- package/dist/modules/notification/grpc/index.js +1 -1
- package/dist/modules/notification/index.js +2 -2
- package/dist/modules/ordering/gql/federation.js +4 -3
- package/dist/modules/ordering/gql/schema.generated.d.ts +130 -95
- package/dist/modules/ordering/gql/schema.js +2 -2
- package/dist/modules/ordering/gql/types.js +1 -1
- package/dist/modules/ordering/grpc/index.js +1 -1
- package/dist/modules/ordering/index.js +2 -2
- package/dist/modules/ostorage/gql/federation.js +4 -3
- package/dist/modules/ostorage/gql/schema.generated.d.ts +91 -64
- package/dist/modules/ostorage/gql/schema.js +2 -2
- package/dist/modules/ostorage/gql/types.js +1 -1
- package/dist/modules/ostorage/grpc/index.js +1 -1
- package/dist/modules/ostorage/index.js +2 -2
- package/dist/modules/payment/gql/federation.js +4 -3
- package/dist/modules/payment/gql/schema.generated.d.ts +40 -35
- package/dist/modules/payment/gql/schema.js +2 -2
- package/dist/modules/payment/gql/types.js +1 -1
- package/dist/modules/payment/grpc/index.js +1 -1
- package/dist/modules/payment/index.js +2 -2
- package/dist/modules/resource/gql/federation.js +4 -3
- package/dist/modules/resource/gql/schema.generated.d.ts +263 -182
- package/dist/modules/resource/gql/schema.js +2 -2
- package/dist/modules/resource/gql/types.js +1 -1
- package/dist/modules/resource/grpc/index.js +12 -12
- package/dist/modules/resource/index.js +2 -2
- package/dist/modules/scheduling/gql/federation.js +4 -3
- package/dist/modules/scheduling/gql/schema.generated.d.ts +83 -58
- package/dist/modules/scheduling/gql/schema.js +2 -2
- package/dist/modules/scheduling/gql/types.js +1 -1
- package/dist/modules/scheduling/grpc/index.js +1 -1
- package/dist/modules/scheduling/index.js +2 -2
- package/package.json +43 -42
@@ -1,6 +1,7 @@
|
|
1
1
|
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
2
2
|
import { ResourceContext } from '../interfaces';
|
3
3
|
export declare type Maybe<T> = T | undefined;
|
4
|
+
export declare type InputMaybe<T> = T | undefined;
|
4
5
|
export declare type Exact<T extends {
|
5
6
|
[key: string]: unknown;
|
6
7
|
}> = {
|
@@ -12,9 +13,7 @@ export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
12
13
|
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
13
14
|
[SubKey in K]: Maybe<T[SubKey]>;
|
14
15
|
};
|
15
|
-
export declare type RequireFields<T, K extends keyof T> = {
|
16
|
-
[X in Exclude<keyof T, K>]?: T[X];
|
17
|
-
} & {
|
16
|
+
export declare type RequireFields<T, K extends keyof T> = Omit<T, K> & {
|
18
17
|
[P in K]-?: NonNullable<T[P]>;
|
19
18
|
};
|
20
19
|
/** All built-in and custom scalars, mapped to their actual values */
|
@@ -122,19 +121,23 @@ export declare type IoRestorecommerceStatusOperationStatus = {
|
|
122
121
|
message?: Maybe<Scalars['String']>;
|
123
122
|
};
|
124
123
|
export declare type IIoRestorecommerceResourcebaseReadRequest = {
|
125
|
-
offset?:
|
126
|
-
limit?:
|
127
|
-
sort?:
|
128
|
-
filters?:
|
129
|
-
field?:
|
130
|
-
search?:
|
131
|
-
localesLimiter?:
|
132
|
-
customQueries?:
|
133
|
-
customArguments?:
|
124
|
+
offset?: InputMaybe<Scalars['Int']>;
|
125
|
+
limit?: InputMaybe<Scalars['Int']>;
|
126
|
+
sort?: InputMaybe<Array<IIoRestorecommerceResourcebaseSort>>;
|
127
|
+
filters?: InputMaybe<Array<IIoRestorecommerceResourcebaseFilterOp>>;
|
128
|
+
field?: InputMaybe<Array<IIoRestorecommerceResourcebaseFieldFilter>>;
|
129
|
+
search?: InputMaybe<Array<Scalars['String']>>;
|
130
|
+
localesLimiter?: InputMaybe<Array<Scalars['String']>>;
|
131
|
+
customQueries?: InputMaybe<Array<Scalars['String']>>;
|
132
|
+
customArguments?: InputMaybe<IGoogleProtobufAny>;
|
133
|
+
/** target scope */
|
134
|
+
scope?: InputMaybe<Scalars['String']>;
|
134
135
|
};
|
135
136
|
export declare type IIoRestorecommerceResourcebaseSort = {
|
136
|
-
field?:
|
137
|
-
order?:
|
137
|
+
field?: InputMaybe<Scalars['String']>;
|
138
|
+
order?: InputMaybe<IoRestorecommerceResourcebaseSortSortOrder>;
|
139
|
+
/** target scope */
|
140
|
+
scope?: InputMaybe<Scalars['String']>;
|
138
141
|
};
|
139
142
|
export declare enum IoRestorecommerceResourcebaseSortSortOrder {
|
140
143
|
Unsorted = 0,
|
@@ -142,15 +145,19 @@ export declare enum IoRestorecommerceResourcebaseSortSortOrder {
|
|
142
145
|
Descending = 2
|
143
146
|
}
|
144
147
|
export declare type IIoRestorecommerceResourcebaseFilterOp = {
|
145
|
-
filter?:
|
146
|
-
operator?:
|
148
|
+
filter?: InputMaybe<Array<IIoRestorecommerceResourcebaseFilter>>;
|
149
|
+
operator?: InputMaybe<IoRestorecommerceResourcebaseFilterOpOperator>;
|
150
|
+
/** target scope */
|
151
|
+
scope?: InputMaybe<Scalars['String']>;
|
147
152
|
};
|
148
153
|
export declare type IIoRestorecommerceResourcebaseFilter = {
|
149
|
-
field?:
|
150
|
-
operation?:
|
151
|
-
value?:
|
152
|
-
type?:
|
153
|
-
filters?:
|
154
|
+
field?: InputMaybe<Scalars['String']>;
|
155
|
+
operation?: InputMaybe<IoRestorecommerceResourcebaseFilterOperation>;
|
156
|
+
value?: InputMaybe<Scalars['String']>;
|
157
|
+
type?: InputMaybe<IoRestorecommerceResourcebaseFilterValueType>;
|
158
|
+
filters?: InputMaybe<Array<IIoRestorecommerceFilterFilterOp>>;
|
159
|
+
/** target scope */
|
160
|
+
scope?: InputMaybe<Scalars['String']>;
|
154
161
|
};
|
155
162
|
export declare enum IoRestorecommerceResourcebaseFilterOperation {
|
156
163
|
Eq = 0,
|
@@ -171,15 +178,19 @@ export declare enum IoRestorecommerceResourcebaseFilterValueType {
|
|
171
178
|
Array = 4
|
172
179
|
}
|
173
180
|
export declare type IIoRestorecommerceFilterFilterOp = {
|
174
|
-
filter?:
|
175
|
-
operator?:
|
181
|
+
filter?: InputMaybe<Array<IIoRestorecommerceFilterFilter>>;
|
182
|
+
operator?: InputMaybe<IoRestorecommerceFilterFilterOpOperator>;
|
183
|
+
/** target scope */
|
184
|
+
scope?: InputMaybe<Scalars['String']>;
|
176
185
|
};
|
177
186
|
export declare type IIoRestorecommerceFilterFilter = {
|
178
|
-
field?:
|
179
|
-
operation?:
|
180
|
-
value?:
|
181
|
-
type?:
|
182
|
-
filters?:
|
187
|
+
field?: InputMaybe<Scalars['String']>;
|
188
|
+
operation?: InputMaybe<IoRestorecommerceFilterFilterOperation>;
|
189
|
+
value?: InputMaybe<Scalars['String']>;
|
190
|
+
type?: InputMaybe<IoRestorecommerceFilterFilterValueType>;
|
191
|
+
filters?: InputMaybe<Array<IIoRestorecommerceFilterFilterOp>>;
|
192
|
+
/** target scope */
|
193
|
+
scope?: InputMaybe<Scalars['String']>;
|
183
194
|
};
|
184
195
|
export declare enum IoRestorecommerceFilterFilterOperation {
|
185
196
|
Eq = 0,
|
@@ -208,12 +219,16 @@ export declare enum IoRestorecommerceResourcebaseFilterOpOperator {
|
|
208
219
|
Or = 1
|
209
220
|
}
|
210
221
|
export declare type IIoRestorecommerceResourcebaseFieldFilter = {
|
211
|
-
name?:
|
212
|
-
include?:
|
222
|
+
name?: InputMaybe<Scalars['String']>;
|
223
|
+
include?: InputMaybe<Scalars['Boolean']>;
|
224
|
+
/** target scope */
|
225
|
+
scope?: InputMaybe<Scalars['String']>;
|
213
226
|
};
|
214
227
|
export declare type IGoogleProtobufAny = {
|
215
|
-
typeUrl?:
|
216
|
-
value?:
|
228
|
+
typeUrl?: InputMaybe<Scalars['String']>;
|
229
|
+
value?: InputMaybe<Scalars['Upload']>;
|
230
|
+
/** target scope */
|
231
|
+
scope?: InputMaybe<Scalars['String']>;
|
217
232
|
};
|
218
233
|
export declare type ResourceCountryQuery = {
|
219
234
|
__typename?: 'ResourceCountryQuery';
|
@@ -626,45 +641,59 @@ export declare type ResourceAddressMutationDeleteArgs = {
|
|
626
641
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
627
642
|
};
|
628
643
|
export declare type IIoRestorecommerceAddressAddressList = {
|
629
|
-
items?:
|
630
|
-
totalCount?:
|
631
|
-
mode?:
|
644
|
+
items?: InputMaybe<Array<IIoRestorecommerceAddressAddress>>;
|
645
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
646
|
+
mode?: InputMaybe<ModeType>;
|
647
|
+
/** target scope */
|
648
|
+
scope?: InputMaybe<Scalars['String']>;
|
632
649
|
};
|
633
650
|
export declare type IIoRestorecommerceAddressAddress = {
|
634
|
-
id?:
|
635
|
-
meta?:
|
636
|
-
postcode?:
|
637
|
-
countryId?:
|
638
|
-
locality?:
|
639
|
-
street?:
|
640
|
-
region?:
|
641
|
-
geoCoordinates?:
|
642
|
-
altitude?:
|
643
|
-
buildingNumber?:
|
644
|
-
addressAddition?:
|
651
|
+
id?: InputMaybe<Scalars['String']>;
|
652
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
653
|
+
postcode?: InputMaybe<Scalars['String']>;
|
654
|
+
countryId?: InputMaybe<Scalars['String']>;
|
655
|
+
locality?: InputMaybe<Scalars['String']>;
|
656
|
+
street?: InputMaybe<Scalars['String']>;
|
657
|
+
region?: InputMaybe<Scalars['String']>;
|
658
|
+
geoCoordinates?: InputMaybe<IIoRestorecommerceAddressAddressGeoPoint>;
|
659
|
+
altitude?: InputMaybe<Scalars['Float']>;
|
660
|
+
buildingNumber?: InputMaybe<Scalars['String']>;
|
661
|
+
addressAddition?: InputMaybe<IIoRestorecommerceAddressAddressAddition>;
|
662
|
+
/** target scope */
|
663
|
+
scope?: InputMaybe<Scalars['String']>;
|
645
664
|
};
|
646
665
|
export declare type IIoRestorecommerceMetaMeta = {
|
647
|
-
created?:
|
648
|
-
modified?:
|
649
|
-
modifiedBy?:
|
650
|
-
owner?:
|
651
|
-
acl?:
|
666
|
+
created?: InputMaybe<Scalars['Float']>;
|
667
|
+
modified?: InputMaybe<Scalars['Float']>;
|
668
|
+
modifiedBy?: InputMaybe<Scalars['String']>;
|
669
|
+
owner?: InputMaybe<Array<IIoRestorecommerceAttributeAttribute>>;
|
670
|
+
acl?: InputMaybe<Array<IIoRestorecommerceAttributeAttributeObj>>;
|
671
|
+
/** target scope */
|
672
|
+
scope?: InputMaybe<Scalars['String']>;
|
652
673
|
};
|
653
674
|
export declare type IIoRestorecommerceAttributeAttribute = {
|
654
|
-
id?:
|
655
|
-
value?:
|
656
|
-
attribute?:
|
675
|
+
id?: InputMaybe<Scalars['String']>;
|
676
|
+
value?: InputMaybe<Scalars['String']>;
|
677
|
+
attribute?: InputMaybe<Array<IIoRestorecommerceAttributeAttribute>>;
|
678
|
+
/** target scope */
|
679
|
+
scope?: InputMaybe<Scalars['String']>;
|
657
680
|
};
|
658
681
|
export declare type IIoRestorecommerceAttributeAttributeObj = {
|
659
|
-
attribute?:
|
682
|
+
attribute?: InputMaybe<IIoRestorecommerceAttributeAttribute>;
|
683
|
+
/** target scope */
|
684
|
+
scope?: InputMaybe<Scalars['String']>;
|
660
685
|
};
|
661
686
|
export declare type IIoRestorecommerceAddressAddressGeoPoint = {
|
662
|
-
latitude?:
|
663
|
-
longitude?:
|
687
|
+
latitude?: InputMaybe<Scalars['Float']>;
|
688
|
+
longitude?: InputMaybe<Scalars['Float']>;
|
689
|
+
/** target scope */
|
690
|
+
scope?: InputMaybe<Scalars['String']>;
|
664
691
|
};
|
665
692
|
export declare type IIoRestorecommerceAddressAddressAddition = {
|
666
|
-
field1?:
|
667
|
-
field2?:
|
693
|
+
field1?: InputMaybe<Scalars['String']>;
|
694
|
+
field2?: InputMaybe<Scalars['String']>;
|
695
|
+
/** target scope */
|
696
|
+
scope?: InputMaybe<Scalars['String']>;
|
668
697
|
};
|
669
698
|
export declare enum ModeType {
|
670
699
|
Create = "CREATE",
|
@@ -681,8 +710,10 @@ export declare type IoRestorecommerceResourcebaseDeleteResponse = {
|
|
681
710
|
operationStatus?: Maybe<IoRestorecommerceStatusOperationStatus>;
|
682
711
|
};
|
683
712
|
export declare type IIoRestorecommerceResourcebaseDeleteRequest = {
|
684
|
-
collection?:
|
685
|
-
ids?:
|
713
|
+
collection?: InputMaybe<Scalars['Boolean']>;
|
714
|
+
ids?: InputMaybe<Array<Scalars['String']>>;
|
715
|
+
/** target scope */
|
716
|
+
scope?: InputMaybe<Scalars['String']>;
|
686
717
|
};
|
687
718
|
export declare type ResourceCountryMutation = {
|
688
719
|
__typename?: 'ResourceCountryMutation';
|
@@ -696,17 +727,21 @@ export declare type ResourceCountryMutationDeleteArgs = {
|
|
696
727
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
697
728
|
};
|
698
729
|
export declare type IIoRestorecommerceCountryCountryList = {
|
699
|
-
items?:
|
700
|
-
totalCount?:
|
701
|
-
mode?:
|
730
|
+
items?: InputMaybe<Array<IIoRestorecommerceCountryCountry>>;
|
731
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
732
|
+
mode?: InputMaybe<ModeType>;
|
733
|
+
/** target scope */
|
734
|
+
scope?: InputMaybe<Scalars['String']>;
|
702
735
|
};
|
703
736
|
export declare type IIoRestorecommerceCountryCountry = {
|
704
|
-
id?:
|
705
|
-
meta?:
|
706
|
-
name?:
|
707
|
-
countryCode?:
|
708
|
-
geographicalName?:
|
709
|
-
economicAreas?:
|
737
|
+
id?: InputMaybe<Scalars['String']>;
|
738
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
739
|
+
name?: InputMaybe<Scalars['String']>;
|
740
|
+
countryCode?: InputMaybe<Scalars['String']>;
|
741
|
+
geographicalName?: InputMaybe<Scalars['String']>;
|
742
|
+
economicAreas?: InputMaybe<Array<Scalars['String']>>;
|
743
|
+
/** target scope */
|
744
|
+
scope?: InputMaybe<Scalars['String']>;
|
710
745
|
};
|
711
746
|
export declare type ResourceTimezoneMutation = {
|
712
747
|
__typename?: 'ResourceTimezoneMutation';
|
@@ -720,14 +755,18 @@ export declare type ResourceTimezoneMutationDeleteArgs = {
|
|
720
755
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
721
756
|
};
|
722
757
|
export declare type IIoRestorecommerceTimezoneTimezoneList = {
|
723
|
-
items?:
|
724
|
-
totalCount?:
|
725
|
-
mode?:
|
758
|
+
items?: InputMaybe<Array<IIoRestorecommerceTimezoneTimezone>>;
|
759
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
760
|
+
mode?: InputMaybe<ModeType>;
|
761
|
+
/** target scope */
|
762
|
+
scope?: InputMaybe<Scalars['String']>;
|
726
763
|
};
|
727
764
|
export declare type IIoRestorecommerceTimezoneTimezone = {
|
728
|
-
id?:
|
729
|
-
meta?:
|
730
|
-
description?:
|
765
|
+
id?: InputMaybe<Scalars['String']>;
|
766
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
767
|
+
description?: InputMaybe<Scalars['String']>;
|
768
|
+
/** target scope */
|
769
|
+
scope?: InputMaybe<Scalars['String']>;
|
731
770
|
};
|
732
771
|
export declare type ResourceContactPointTypeMutation = {
|
733
772
|
__typename?: 'ResourceContactPointTypeMutation';
|
@@ -741,14 +780,18 @@ export declare type ResourceContactPointTypeMutationDeleteArgs = {
|
|
741
780
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
742
781
|
};
|
743
782
|
export declare type IIoRestorecommerceContactPointTypeContactPointTypeList = {
|
744
|
-
items?:
|
745
|
-
totalCount?:
|
746
|
-
mode?:
|
783
|
+
items?: InputMaybe<Array<IIoRestorecommerceContactPointTypeContactPointType>>;
|
784
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
785
|
+
mode?: InputMaybe<ModeType>;
|
786
|
+
/** target scope */
|
787
|
+
scope?: InputMaybe<Scalars['String']>;
|
747
788
|
};
|
748
789
|
export declare type IIoRestorecommerceContactPointTypeContactPointType = {
|
749
|
-
id?:
|
750
|
-
meta?:
|
751
|
-
type?:
|
790
|
+
id?: InputMaybe<Scalars['String']>;
|
791
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
792
|
+
type?: InputMaybe<Scalars['String']>;
|
793
|
+
/** target scope */
|
794
|
+
scope?: InputMaybe<Scalars['String']>;
|
752
795
|
};
|
753
796
|
export declare type ResourceCustomerMutation = {
|
754
797
|
__typename?: 'ResourceCustomerMutation';
|
@@ -762,30 +805,40 @@ export declare type ResourceCustomerMutationDeleteArgs = {
|
|
762
805
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
763
806
|
};
|
764
807
|
export declare type IIoRestorecommerceCustomerCustomerList = {
|
765
|
-
items?:
|
766
|
-
totalCount?:
|
767
|
-
mode?:
|
808
|
+
items?: InputMaybe<Array<IIoRestorecommerceCustomerCustomer>>;
|
809
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
810
|
+
mode?: InputMaybe<ModeType>;
|
811
|
+
/** target scope */
|
812
|
+
scope?: InputMaybe<Scalars['String']>;
|
768
813
|
};
|
769
814
|
export declare type IIoRestorecommerceCustomerCustomer = {
|
770
|
-
id?:
|
771
|
-
meta?:
|
772
|
-
individualUser?:
|
773
|
-
orgUser?:
|
774
|
-
guest?:
|
815
|
+
id?: InputMaybe<Scalars['String']>;
|
816
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
817
|
+
individualUser?: InputMaybe<IIoRestorecommerceCustomerIndividualUser>;
|
818
|
+
orgUser?: InputMaybe<IIoRestorecommerceCustomerOrgUser>;
|
819
|
+
guest?: InputMaybe<IIoRestorecommerceCustomerGuest>;
|
820
|
+
/** target scope */
|
821
|
+
scope?: InputMaybe<Scalars['String']>;
|
775
822
|
};
|
776
823
|
export declare type IIoRestorecommerceCustomerIndividualUser = {
|
777
|
-
userId?:
|
778
|
-
addressId?:
|
779
|
-
contactPointIds?:
|
824
|
+
userId?: InputMaybe<Scalars['String']>;
|
825
|
+
addressId?: InputMaybe<Scalars['String']>;
|
826
|
+
contactPointIds?: InputMaybe<Array<Scalars['String']>>;
|
827
|
+
/** target scope */
|
828
|
+
scope?: InputMaybe<Scalars['String']>;
|
780
829
|
};
|
781
830
|
export declare type IIoRestorecommerceCustomerOrgUser = {
|
782
|
-
userId?:
|
783
|
-
organizationId?:
|
831
|
+
userId?: InputMaybe<Scalars['String']>;
|
832
|
+
organizationId?: InputMaybe<Scalars['String']>;
|
833
|
+
/** target scope */
|
834
|
+
scope?: InputMaybe<Scalars['String']>;
|
784
835
|
};
|
785
836
|
export declare type IIoRestorecommerceCustomerGuest = {
|
786
|
-
guest?:
|
787
|
-
addressId?:
|
788
|
-
contactPointIds?:
|
837
|
+
guest?: InputMaybe<Scalars['Boolean']>;
|
838
|
+
addressId?: InputMaybe<Scalars['String']>;
|
839
|
+
contactPointIds?: InputMaybe<Array<Scalars['String']>>;
|
840
|
+
/** target scope */
|
841
|
+
scope?: InputMaybe<Scalars['String']>;
|
789
842
|
};
|
790
843
|
export declare type ResourceContactPointMutation = {
|
791
844
|
__typename?: 'ResourceContactPointMutation';
|
@@ -799,20 +852,24 @@ export declare type ResourceContactPointMutationDeleteArgs = {
|
|
799
852
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
800
853
|
};
|
801
854
|
export declare type IIoRestorecommerceContactPointContactPointList = {
|
802
|
-
items?:
|
803
|
-
totalCount?:
|
804
|
-
mode?:
|
855
|
+
items?: InputMaybe<Array<IIoRestorecommerceContactPointContactPoint>>;
|
856
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
857
|
+
mode?: InputMaybe<ModeType>;
|
858
|
+
/** target scope */
|
859
|
+
scope?: InputMaybe<Scalars['String']>;
|
805
860
|
};
|
806
861
|
export declare type IIoRestorecommerceContactPointContactPoint = {
|
807
|
-
id?:
|
808
|
-
meta?:
|
809
|
-
physicalAddressId?:
|
810
|
-
website?:
|
811
|
-
email?:
|
812
|
-
contactPointTypeId?:
|
813
|
-
telephone?:
|
814
|
-
timezoneId?:
|
815
|
-
localeId?:
|
862
|
+
id?: InputMaybe<Scalars['String']>;
|
863
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
864
|
+
physicalAddressId?: InputMaybe<Scalars['String']>;
|
865
|
+
website?: InputMaybe<Scalars['String']>;
|
866
|
+
email?: InputMaybe<Scalars['String']>;
|
867
|
+
contactPointTypeId?: InputMaybe<Scalars['String']>;
|
868
|
+
telephone?: InputMaybe<Scalars['String']>;
|
869
|
+
timezoneId?: InputMaybe<Scalars['String']>;
|
870
|
+
localeId?: InputMaybe<Scalars['String']>;
|
871
|
+
/** target scope */
|
872
|
+
scope?: InputMaybe<Scalars['String']>;
|
816
873
|
};
|
817
874
|
export declare type ResourceLocaleMutation = {
|
818
875
|
__typename?: 'ResourceLocaleMutation';
|
@@ -826,15 +883,19 @@ export declare type ResourceLocaleMutationDeleteArgs = {
|
|
826
883
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
827
884
|
};
|
828
885
|
export declare type IIoRestorecommerceLocaleLocaleList = {
|
829
|
-
items?:
|
830
|
-
totalCount?:
|
831
|
-
mode?:
|
886
|
+
items?: InputMaybe<Array<IIoRestorecommerceLocaleLocale>>;
|
887
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
888
|
+
mode?: InputMaybe<ModeType>;
|
889
|
+
/** target scope */
|
890
|
+
scope?: InputMaybe<Scalars['String']>;
|
832
891
|
};
|
833
892
|
export declare type IIoRestorecommerceLocaleLocale = {
|
834
|
-
id?:
|
835
|
-
meta?:
|
836
|
-
value?:
|
837
|
-
description?:
|
893
|
+
id?: InputMaybe<Scalars['String']>;
|
894
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
895
|
+
value?: InputMaybe<Scalars['String']>;
|
896
|
+
description?: InputMaybe<Scalars['String']>;
|
897
|
+
/** target scope */
|
898
|
+
scope?: InputMaybe<Scalars['String']>;
|
838
899
|
};
|
839
900
|
export declare type ResourceLocationMutation = {
|
840
901
|
__typename?: 'ResourceLocationMutation';
|
@@ -848,20 +909,24 @@ export declare type ResourceLocationMutationDeleteArgs = {
|
|
848
909
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
849
910
|
};
|
850
911
|
export declare type IIoRestorecommerceLocationLocationList = {
|
851
|
-
items?:
|
852
|
-
totalCount?:
|
853
|
-
mode?:
|
912
|
+
items?: InputMaybe<Array<IIoRestorecommerceLocationLocation>>;
|
913
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
914
|
+
mode?: InputMaybe<ModeType>;
|
915
|
+
/** target scope */
|
916
|
+
scope?: InputMaybe<Scalars['String']>;
|
854
917
|
};
|
855
918
|
export declare type IIoRestorecommerceLocationLocation = {
|
856
|
-
id?:
|
857
|
-
meta?:
|
858
|
-
name?:
|
859
|
-
description?:
|
860
|
-
organizationId?:
|
861
|
-
parentId?:
|
862
|
-
addressId?:
|
863
|
-
data?:
|
864
|
-
type?:
|
919
|
+
id?: InputMaybe<Scalars['String']>;
|
920
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
921
|
+
name?: InputMaybe<Scalars['String']>;
|
922
|
+
description?: InputMaybe<Scalars['String']>;
|
923
|
+
organizationId?: InputMaybe<Scalars['String']>;
|
924
|
+
parentId?: InputMaybe<Scalars['String']>;
|
925
|
+
addressId?: InputMaybe<Scalars['String']>;
|
926
|
+
data?: InputMaybe<IGoogleProtobufAny>;
|
927
|
+
type?: InputMaybe<Scalars['String']>;
|
928
|
+
/** target scope */
|
929
|
+
scope?: InputMaybe<Scalars['String']>;
|
865
930
|
};
|
866
931
|
export declare type ResourceOrganizationMutation = {
|
867
932
|
__typename?: 'ResourceOrganizationMutation';
|
@@ -875,26 +940,30 @@ export declare type ResourceOrganizationMutationDeleteArgs = {
|
|
875
940
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
876
941
|
};
|
877
942
|
export declare type IIoRestorecommerceOrganizationOrganizationList = {
|
878
|
-
items?:
|
879
|
-
totalCount?:
|
880
|
-
mode?:
|
943
|
+
items?: InputMaybe<Array<IIoRestorecommerceOrganizationOrganization>>;
|
944
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
945
|
+
mode?: InputMaybe<ModeType>;
|
946
|
+
/** target scope */
|
947
|
+
scope?: InputMaybe<Scalars['String']>;
|
881
948
|
};
|
882
949
|
export declare type IIoRestorecommerceOrganizationOrganization = {
|
883
|
-
id?:
|
884
|
-
meta?:
|
885
|
-
addressId?:
|
886
|
-
parentId?:
|
887
|
-
contactPointIds?:
|
888
|
-
website?:
|
889
|
-
email?:
|
890
|
-
logo?:
|
891
|
-
vatId?:
|
892
|
-
isicV4?:
|
893
|
-
registration?:
|
894
|
-
registrationCourt?:
|
895
|
-
name?:
|
896
|
-
paymentMethodIds?:
|
897
|
-
data?:
|
950
|
+
id?: InputMaybe<Scalars['String']>;
|
951
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
952
|
+
addressId?: InputMaybe<Scalars['String']>;
|
953
|
+
parentId?: InputMaybe<Scalars['String']>;
|
954
|
+
contactPointIds?: InputMaybe<Array<Scalars['String']>>;
|
955
|
+
website?: InputMaybe<Scalars['String']>;
|
956
|
+
email?: InputMaybe<Scalars['String']>;
|
957
|
+
logo?: InputMaybe<Scalars['String']>;
|
958
|
+
vatId?: InputMaybe<Scalars['String']>;
|
959
|
+
isicV4?: InputMaybe<Scalars['String']>;
|
960
|
+
registration?: InputMaybe<Scalars['String']>;
|
961
|
+
registrationCourt?: InputMaybe<Scalars['String']>;
|
962
|
+
name?: InputMaybe<Scalars['String']>;
|
963
|
+
paymentMethodIds?: InputMaybe<Array<Scalars['String']>>;
|
964
|
+
data?: InputMaybe<IGoogleProtobufAny>;
|
965
|
+
/** target scope */
|
966
|
+
scope?: InputMaybe<Scalars['String']>;
|
898
967
|
};
|
899
968
|
export declare type ResourceTaxMutation = {
|
900
969
|
__typename?: 'ResourceTaxMutation';
|
@@ -908,17 +977,21 @@ export declare type ResourceTaxMutationDeleteArgs = {
|
|
908
977
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
909
978
|
};
|
910
979
|
export declare type IIoRestorecommerceTaxTaxList = {
|
911
|
-
items?:
|
912
|
-
totalCount?:
|
913
|
-
mode?:
|
980
|
+
items?: InputMaybe<Array<IIoRestorecommerceTaxTax>>;
|
981
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
982
|
+
mode?: InputMaybe<ModeType>;
|
983
|
+
/** target scope */
|
984
|
+
scope?: InputMaybe<Scalars['String']>;
|
914
985
|
};
|
915
986
|
export declare type IIoRestorecommerceTaxTax = {
|
916
|
-
id?:
|
917
|
-
meta?:
|
918
|
-
countryId?:
|
919
|
-
rate?:
|
920
|
-
variant?:
|
921
|
-
typeId?:
|
987
|
+
id?: InputMaybe<Scalars['String']>;
|
988
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
989
|
+
countryId?: InputMaybe<Scalars['String']>;
|
990
|
+
rate?: InputMaybe<Scalars['Float']>;
|
991
|
+
variant?: InputMaybe<Scalars['String']>;
|
992
|
+
typeId?: InputMaybe<Scalars['String']>;
|
993
|
+
/** target scope */
|
994
|
+
scope?: InputMaybe<Scalars['String']>;
|
922
995
|
};
|
923
996
|
export declare type ResourceTaxTypeMutation = {
|
924
997
|
__typename?: 'ResourceTaxTypeMutation';
|
@@ -932,15 +1005,19 @@ export declare type ResourceTaxTypeMutationDeleteArgs = {
|
|
932
1005
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
933
1006
|
};
|
934
1007
|
export declare type IIoRestorecommerceTaxTypeTaxTypeList = {
|
935
|
-
items?:
|
936
|
-
totalCount?:
|
937
|
-
mode?:
|
1008
|
+
items?: InputMaybe<Array<IIoRestorecommerceTaxTypeTaxType>>;
|
1009
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
1010
|
+
mode?: InputMaybe<ModeType>;
|
1011
|
+
/** target scope */
|
1012
|
+
scope?: InputMaybe<Scalars['String']>;
|
938
1013
|
};
|
939
1014
|
export declare type IIoRestorecommerceTaxTypeTaxType = {
|
940
|
-
id?:
|
941
|
-
meta?:
|
942
|
-
type?:
|
943
|
-
description?:
|
1015
|
+
id?: InputMaybe<Scalars['String']>;
|
1016
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
1017
|
+
type?: InputMaybe<Scalars['String']>;
|
1018
|
+
description?: InputMaybe<Scalars['String']>;
|
1019
|
+
/** target scope */
|
1020
|
+
scope?: InputMaybe<Scalars['String']>;
|
944
1021
|
};
|
945
1022
|
export declare type ResourceCommandMutation = {
|
946
1023
|
__typename?: 'ResourceCommandMutation';
|
@@ -954,29 +1031,38 @@ export declare type ResourceCommandMutationDeleteArgs = {
|
|
954
1031
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
955
1032
|
};
|
956
1033
|
export declare type IIoRestorecommerceCommandCommandList = {
|
957
|
-
items?:
|
958
|
-
totalCount?:
|
959
|
-
mode?:
|
1034
|
+
items?: InputMaybe<Array<IIoRestorecommerceCommandCommand>>;
|
1035
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
1036
|
+
mode?: InputMaybe<ModeType>;
|
1037
|
+
/** target scope */
|
1038
|
+
scope?: InputMaybe<Scalars['String']>;
|
960
1039
|
};
|
961
1040
|
export declare type IIoRestorecommerceCommandCommand = {
|
962
|
-
id?:
|
963
|
-
meta?:
|
964
|
-
name?:
|
965
|
-
parameters?:
|
966
|
-
description?:
|
1041
|
+
id?: InputMaybe<Scalars['String']>;
|
1042
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
1043
|
+
name?: InputMaybe<Scalars['String']>;
|
1044
|
+
parameters?: InputMaybe<Array<IIoRestorecommerceCommandCommandParameter>>;
|
1045
|
+
description?: InputMaybe<Scalars['String']>;
|
1046
|
+
/** target scope */
|
1047
|
+
scope?: InputMaybe<Scalars['String']>;
|
967
1048
|
};
|
968
1049
|
export declare type IIoRestorecommerceCommandCommandParameter = {
|
969
|
-
field?:
|
970
|
-
description?:
|
971
|
-
type?:
|
972
|
-
properties?:
|
1050
|
+
field?: InputMaybe<Scalars['String']>;
|
1051
|
+
description?: InputMaybe<Scalars['String']>;
|
1052
|
+
type?: InputMaybe<IoRestorecommerceCommandCommandParameterParameterType>;
|
1053
|
+
properties?: InputMaybe<Scalars['String']>;
|
1054
|
+
/** target scope */
|
1055
|
+
scope?: InputMaybe<Scalars['String']>;
|
973
1056
|
};
|
974
1057
|
export declare type WithIndex<TObject> = TObject & Record<string, any>;
|
975
1058
|
export declare type ResolversObject<TObject> = WithIndex<TObject>;
|
976
1059
|
export declare type ResolverTypeWrapper<T> = Promise<T> | T;
|
977
|
-
export declare type
|
1060
|
+
export declare type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
1061
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
1062
|
+
};
|
1063
|
+
export declare type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
978
1064
|
export declare type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
979
|
-
export declare type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) =>
|
1065
|
+
export declare type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
980
1066
|
export declare type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
981
1067
|
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
982
1068
|
subscribe: SubscriptionSubscribeFn<{
|
@@ -1968,8 +2054,3 @@ export declare type Resolvers<ContextType = ResourceContext> = ResolversObject<{
|
|
1968
2054
|
ResourceTaxTypeMutation?: ResourceTaxTypeMutationResolvers<ContextType>;
|
1969
2055
|
ResourceCommandMutation?: ResourceCommandMutationResolvers<ContextType>;
|
1970
2056
|
}>;
|
1971
|
-
/**
|
1972
|
-
* @deprecated
|
1973
|
-
* Use "Resolvers" root object instead. If you wish to get "IResolvers", add "typesPrefix: I" to your config.
|
1974
|
-
*/
|
1975
|
-
export declare type IResolvers<ContextType = ResourceContext> = Resolvers<ContextType>;
|
@@ -4,6 +4,6 @@ exports.schema = void 0;
|
|
4
4
|
const types_1 = require("./types");
|
5
5
|
const protos_1 = require("../../../gql/protos");
|
6
6
|
const interfaces_1 = require("../interfaces");
|
7
|
-
types_1.registerTypings();
|
8
|
-
const schema = (cfg) => protos_1.generateSubServiceSchemas(types_1.subServices, cfg, interfaces_1.namespace, 'Resource');
|
7
|
+
(0, types_1.registerTypings)();
|
8
|
+
const schema = (cfg) => (0, protos_1.generateSubServiceSchemas)(types_1.subServices, cfg, interfaces_1.namespace, 'Resource');
|
9
9
|
exports.schema = schema;
|