@@ -76,7 +76,7 @@ export declare type CampaignTemplate = {
7676} ;
7777export declare type CampaignTemplateMarketingCampaignsArgs = {
7878 first ?: Maybe < Scalars [ 'Int' ] > ;
79- after ?: Maybe < Scalars [ 'String ' ] > ;
79+ after ?: Maybe < Scalars [ 'ObjectId ' ] > ;
8080} ;
8181export declare type CampaignTemplateConnection = {
8282 edges ?: Maybe < Array < Maybe < CampaignTemplateEdge > > > ;
@@ -97,18 +97,20 @@ export declare type CampaignTemplatesFilterInput = {
9797} ;
9898export declare type Catalog = {
9999 id : Scalars [ 'ObjectId' ] ;
100+ name : Scalars [ 'NonEmptyString' ] ;
101+ catalogType : CatalogType ;
100102 creationDate : Scalars [ 'String' ] ;
101103 lastChangeDate : Scalars [ 'String' ] ;
102- name : Scalars [ 'NonEmptyString' ] ;
103- mediaChannel : MediaChannel ;
104104 remoteId ?: Maybe < Scalars [ 'String' ] > ;
105- products ?: Maybe < ProductConnection > ;
106105 systemStatus : SystemStatus ;
107- errors ?: Maybe < Array < Maybe < Scalars [ 'String' ] > > > ;
106+ remoteState : Scalars [ 'JSONObject' ] ;
107+ error ?: Maybe < Scalars [ 'JSONObject' ] > ;
108+ mediaChannel : MediaChannel ;
109+ products ?: Maybe < ProductConnection > ;
108110} ;
109111export declare type CatalogProductsArgs = {
110112 first ?: Maybe < Scalars [ 'Int' ] > ;
111- after ?: Maybe < Scalars [ 'String ' ] > ;
113+ after ?: Maybe < Scalars [ 'ObjectId ' ] > ;
112114} ;
113115export declare type CatalogConnection = {
114116 edges ?: Maybe < Array < Maybe < CatalogEdge > > > ;
@@ -117,6 +119,7 @@ export declare type CatalogConnection = {
117119export declare type CatalogCreateInput = {
118120 name : Scalars [ 'NonEmptyString' ] ;
119121 mediaChannelId : Scalars [ 'ObjectId' ] ;
122+ catalogType : CatalogType ;
120123} ;
121124export declare type CatalogEdge = {
122125 cursor : Scalars [ 'ObjectId' ] ;
@@ -130,10 +133,24 @@ export declare type CatalogsFilterInput = {
130133 name ?: Maybe < Scalars [ 'String' ] > ;
131134 name__contains ?: Maybe < Scalars [ 'String' ] > ;
132135 name__icontains ?: Maybe < Scalars [ 'String' ] > ;
136+ systemStatus ?: Maybe < SystemStatus > ;
137+ systemStatus__in ?: Maybe < Array < SystemStatus > > ;
133138 id__in ?: Maybe < Array < Scalars [ 'ObjectId' ] > > ;
134139 mediaChannelId ?: Maybe < Scalars [ 'ObjectId' ] > ;
135140 remoteId ?: Maybe < Scalars [ 'ObjectId' ] > ;
136141} ;
142+ export declare enum CatalogType {
143+ Bookable = "bookable" ,
144+ Commerce = "commerce" ,
145+ Destinations = "destinations" ,
146+ Flights = "flights" ,
147+ HomeListings = "home_listings" ,
148+ Hotels = "hotels" ,
149+ OfflineCommerce = "offline_commerce" ,
150+ TicketedExperiences = "ticketed_experiences" ,
151+ TransactableItems = "transactable_items" ,
152+ Vehicles = "vehicles"
153+ }
137154export declare type CatalogUpdateInput = {
138155 name ?: Maybe < Scalars [ 'NonEmptyString' ] > ;
139156} ;
@@ -312,10 +329,15 @@ export declare type MediaChannel = {
312329 lastChangeDate : Scalars [ 'String' ] ;
313330 name : Scalars [ 'NonEmptyString' ] ;
314331 platform : Platform ;
315- remoteId : Scalars [ 'String' ] ;
332+ remoteId ?: Maybe < Scalars [ 'String' ] > ;
333+ remoteState : Scalars [ 'JSONObject' ] ;
334+ currency ?: Maybe < Scalars [ 'NonEmptyString' ] > ;
335+ timezone ?: Maybe < Scalars [ 'NonEmptyString' ] > ;
336+ tokenStatus : TokenStatus ;
337+ systemStatus : SystemStatus ;
338+ error ?: Maybe < Scalars [ 'JSONObject' ] > ;
316339 catalogs : CatalogConnection ;
317340 marketplace : Marketplace ;
318- tokenStatus : TokenStatus ;
319341} ;
320342export declare type MediaChannelCatalogsArgs = {
321343 first ?: Maybe < Scalars [ 'Int' ] > ;
@@ -325,29 +347,37 @@ export declare type MediaChannelConnection = {
325347 edges ?: Maybe < Array < Maybe < MediaChannelEdge > > > ;
326348 pageInfo : PageInfo ;
327349} ;
350+ export declare type MediaChannelCreateInput = {
351+ name : Scalars [ 'NonEmptyString' ] ;
352+ marketplaceId : Scalars [ 'ObjectId' ] ;
353+ platform : Platform ;
354+ token : Scalars [ 'NonEmptyString' ] ;
355+ } ;
328356export declare type MediaChannelEdge = {
329357 cursor : Scalars [ 'ObjectId' ] ;
330358 node ?: Maybe < MediaChannel > ;
331359} ;
332- export declare type MediaChannelInput = {
333- name : Scalars [ 'NonEmptyString' ] ;
360+ export declare type MediaChannelImportInput = {
334361 marketplaceId : Scalars [ 'ObjectId' ] ;
335362 platform : Platform ;
336363 remoteId : Scalars [ 'String' ] ;
337- token ?: Maybe < Scalars [ 'NonEmptyString' ] > ;
364+ token : Scalars [ 'NonEmptyString' ] ;
338365} ;
339366export declare type MediaChannelsFilterInput = {
340367 name ?: Maybe < Scalars [ 'String' ] > ;
341368 name__contains ?: Maybe < Scalars [ 'String' ] > ;
342369 name__icontains ?: Maybe < Scalars [ 'String' ] > ;
370+ systemStatus ?: Maybe < SystemStatus > ;
371+ systemStatus__in ?: Maybe < Array < SystemStatus > > ;
372+ tokenStatus ?: Maybe < TokenStatus > ;
373+ tokenStatus__in ?: Maybe < Array < TokenStatus > > ;
343374 platform ?: Maybe < Platform > ;
344375 remoteId ?: Maybe < Scalars [ 'String' ] > ;
345376 id__in ?: Maybe < Array < Scalars [ 'ObjectId' ] > > ;
346377 marketplaceId ?: Maybe < Scalars [ 'ObjectId' ] > ;
347378} ;
348379export declare type MediaChannelUpdateInput = {
349380 name ?: Maybe < Scalars [ 'NonEmptyString' ] > ;
350- platform ?: Maybe < Platform > ;
351381 token ?: Maybe < Scalars [ 'NonEmptyString' ] > ;
352382} ;
353383export declare type Mutation = {
@@ -365,6 +395,7 @@ export declare type Mutation = {
365395 updateMarketplace ?: Maybe < Marketplace > ;
366396 deleteMarketplace ?: Maybe < Deletion > ;
367397 createMediaChannel ?: Maybe < MediaChannel > ;
398+ importMediaChannel ?: Maybe < MediaChannel > ;
368399 updateMediaChannel ?: Maybe < MediaChannel > ;
369400 deleteMediaChannel ?: Maybe < Deletion > ;
370401 createOrganization ?: Maybe < Organization > ;
@@ -423,7 +454,10 @@ export declare type MutationDeleteMarketplaceArgs = {
423454 id : Scalars [ 'ObjectId' ] ;
424455} ;
425456export declare type MutationCreateMediaChannelArgs = {
426- input : MediaChannelInput ;
457+ input : MediaChannelCreateInput ;
458+ } ;
459+ export declare type MutationImportMediaChannelArgs = {
460+ input : MediaChannelImportInput ;
427461} ;
428462export declare type MutationUpdateMediaChannelArgs = {
429463 id : Scalars [ 'ObjectId' ] ;
@@ -555,6 +589,8 @@ export declare type ProductsFilterInput = {
555589 name ?: Maybe < Scalars [ 'String' ] > ;
556590 name__contains ?: Maybe < Scalars [ 'String' ] > ;
557591 name__icontains ?: Maybe < Scalars [ 'String' ] > ;
592+ systemStatus ?: Maybe < SystemStatus > ;
593+ systemStatus__in ?: Maybe < Array < SystemStatus > > ;
558594 id__in ?: Maybe < Array < Scalars [ 'ObjectId' ] > > ;
559595 sku ?: Maybe < Scalars [ 'String' ] > ;
560596 catalogId ?: Maybe < Scalars [ 'ObjectId' ] > ;
@@ -725,9 +761,10 @@ export declare type Token = {
725761 user : User ;
726762} ;
727763export declare enum TokenStatus {
764+ Pending = "PENDING" ,
728765 Missing = "MISSING" ,
729- Vaild = "VAILD " ,
730- Invaild = "INVAILD "
766+ Valid = "VALID " ,
767+ Invalid = "INVALID "
731768}
732769export declare type User = {
733770 id : Scalars [ 'ObjectId' ] ;
@@ -851,13 +888,16 @@ export declare type ResolversTypes = {
851888 EntitlementResourceTypeEnum : EntitlementResourceTypeEnum ;
852889 EntitlementResource : ResolversTypes [ 'Marketplace' ] | ResolversTypes [ 'Organization' ] | ResolversTypes [ 'MediaChannel' ] ;
853890 MediaChannel : ResolverTypeWrapper < MediaChannel > ;
891+ JSONObject : ResolverTypeWrapper < Scalars [ 'JSONObject' ] > ;
892+ TokenStatus : TokenStatus ;
893+ SystemStatus : SystemStatus ;
854894 CatalogConnection : ResolverTypeWrapper < CatalogConnection > ;
855895 CatalogEdge : ResolverTypeWrapper < CatalogEdge > ;
856896 Catalog : ResolverTypeWrapper < Catalog > ;
897+ CatalogType : CatalogType ;
857898 ProductConnection : ResolverTypeWrapper < ProductConnection > ;
858899 ProductEdge : ResolverTypeWrapper < ProductEdge > ;
859900 Product : ResolverTypeWrapper < Product > ;
860- JSONObject : ResolverTypeWrapper < Scalars [ 'JSONObject' ] > ;
861901 MarketingCampaignConnection : ResolverTypeWrapper < MarketingCampaignConnection > ;
862902 MarketingCampaignEdge : ResolverTypeWrapper < MarketingCampaignEdge > ;
863903 MarketingCampaign : ResolverTypeWrapper < MarketingCampaign > ;
@@ -873,8 +913,6 @@ export declare type ResolversTypes = {
873913 ResultResourceTypeEnum : ResultResourceTypeEnum ;
874914 ResultResource : ResolversTypes [ 'MarketingAd' ] | ResolversTypes [ 'MarketingCampaign' ] ;
875915 Vendor : ResolverTypeWrapper < Vendor > ;
876- SystemStatus : SystemStatus ;
877- TokenStatus : TokenStatus ;
878916 AuthPermission : AuthPermission ;
879917 MarketplaceConnection : ResolverTypeWrapper < MarketplaceConnection > ;
880918 MarketplaceEdge : ResolverTypeWrapper < MarketplaceEdge > ;
@@ -907,7 +945,8 @@ export declare type ResolversTypes = {
907945 MarketingCampaignUpdateInput : MarketingCampaignUpdateInput ;
908946 MarketplaceInput : MarketplaceInput ;
909947 MarketplaceUpdateInput : MarketplaceUpdateInput ;
910- MediaChannelInput : MediaChannelInput ;
948+ MediaChannelCreateInput : MediaChannelCreateInput ;
949+ MediaChannelImportInput : MediaChannelImportInput ;
911950 MediaChannelUpdateInput : MediaChannelUpdateInput ;
912951 OrganizationInput : OrganizationInput ;
913952 OrganizationUpdateInput : OrganizationUpdateInput ;
@@ -951,13 +990,16 @@ export declare type ResolversParentTypes = {
951990 EntitlementResourceTypeEnum : EntitlementResourceTypeEnum ;
952991 EntitlementResource : ResolversTypes [ 'Marketplace' ] | ResolversTypes [ 'Organization' ] | ResolversTypes [ 'MediaChannel' ] ;
953992 MediaChannel : MediaChannel ;
993+ JSONObject : Scalars [ 'JSONObject' ] ;
994+ TokenStatus : TokenStatus ;
995+ SystemStatus : SystemStatus ;
954996 CatalogConnection : CatalogConnection ;
955997 CatalogEdge : CatalogEdge ;
956998 Catalog : Catalog ;
999+ CatalogType : CatalogType ;
9571000 ProductConnection : ProductConnection ;
9581001 ProductEdge : ProductEdge ;
9591002 Product : Product ;
960- JSONObject : Scalars [ 'JSONObject' ] ;
9611003 MarketingCampaignConnection : MarketingCampaignConnection ;
9621004 MarketingCampaignEdge : MarketingCampaignEdge ;
9631005 MarketingCampaign : MarketingCampaign ;
@@ -973,8 +1015,6 @@ export declare type ResolversParentTypes = {
9731015 ResultResourceTypeEnum : ResultResourceTypeEnum ;
9741016 ResultResource : ResolversTypes [ 'MarketingAd' ] | ResolversTypes [ 'MarketingCampaign' ] ;
9751017 Vendor : Vendor ;
976- SystemStatus : SystemStatus ;
977- TokenStatus : TokenStatus ;
9781018 AuthPermission : AuthPermission ;
9791019 MarketplaceConnection : MarketplaceConnection ;
9801020 MarketplaceEdge : MarketplaceEdge ;
@@ -1007,7 +1047,8 @@ export declare type ResolversParentTypes = {
10071047 MarketingCampaignUpdateInput : MarketingCampaignUpdateInput ;
10081048 MarketplaceInput : MarketplaceInput ;
10091049 MarketplaceUpdateInput : MarketplaceUpdateInput ;
1010- MediaChannelInput : MediaChannelInput ;
1050+ MediaChannelCreateInput : MediaChannelCreateInput ;
1051+ MediaChannelImportInput : MediaChannelImportInput ;
10111052 MediaChannelUpdateInput : MediaChannelUpdateInput ;
10121053 OrganizationInput : OrganizationInput ;
10131054 OrganizationUpdateInput : OrganizationUpdateInput ;
@@ -1056,14 +1097,16 @@ export declare type CampaignTemplateEdgeResolvers<ContextType = any, ParentType
10561097} ;
10571098export declare type CatalogResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'Catalog' ] = ResolversParentTypes [ 'Catalog' ] > = {
10581099 id ?: Resolver < ResolversTypes [ 'ObjectId' ] , ParentType , ContextType > ;
1100+ name ?: Resolver < ResolversTypes [ 'NonEmptyString' ] , ParentType , ContextType > ;
1101+ catalogType ?: Resolver < ResolversTypes [ 'CatalogType' ] , ParentType , ContextType > ;
10591102 creationDate ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
10601103 lastChangeDate ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
1061- name ?: Resolver < ResolversTypes [ 'NonEmptyString' ] , ParentType , ContextType > ;
1062- mediaChannel ?: Resolver < ResolversTypes [ 'MediaChannel' ] , ParentType , ContextType > ;
10631104 remoteId ?: Resolver < Maybe < ResolversTypes [ 'String' ] > , ParentType , ContextType > ;
1064- products ?: Resolver < Maybe < ResolversTypes [ 'ProductConnection' ] > , ParentType , ContextType , CatalogProductsArgs > ;
10651105 systemStatus ?: Resolver < ResolversTypes [ 'SystemStatus' ] , ParentType , ContextType > ;
1066- errors ?: Resolver < Maybe < Array < Maybe < ResolversTypes [ 'String' ] > > > , ParentType , ContextType > ;
1106+ remoteState ?: Resolver < ResolversTypes [ 'JSONObject' ] , ParentType , ContextType > ;
1107+ error ?: Resolver < Maybe < ResolversTypes [ 'JSONObject' ] > , ParentType , ContextType > ;
1108+ mediaChannel ?: Resolver < ResolversTypes [ 'MediaChannel' ] , ParentType , ContextType > ;
1109+ products ?: Resolver < Maybe < ResolversTypes [ 'ProductConnection' ] > , ParentType , ContextType , CatalogProductsArgs > ;
10671110} ;
10681111export declare type CatalogConnectionResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'CatalogConnection' ] = ResolversParentTypes [ 'CatalogConnection' ] > = {
10691112 edges ?: Resolver < Maybe < Array < Maybe < ResolversTypes [ 'CatalogEdge' ] > > > , ParentType , ContextType > ;
@@ -1163,10 +1206,15 @@ export declare type MediaChannelResolvers<ContextType = any, ParentType extends
11631206 lastChangeDate ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
11641207 name ?: Resolver < ResolversTypes [ 'NonEmptyString' ] , ParentType , ContextType > ;
11651208 platform ?: Resolver < ResolversTypes [ 'Platform' ] , ParentType , ContextType > ;
1166- remoteId ?: Resolver < ResolversTypes [ 'String' ] , ParentType , ContextType > ;
1209+ remoteId ?: Resolver < Maybe < ResolversTypes [ 'String' ] > , ParentType , ContextType > ;
1210+ remoteState ?: Resolver < ResolversTypes [ 'JSONObject' ] , ParentType , ContextType > ;
1211+ currency ?: Resolver < Maybe < ResolversTypes [ 'NonEmptyString' ] > , ParentType , ContextType > ;
1212+ timezone ?: Resolver < Maybe < ResolversTypes [ 'NonEmptyString' ] > , ParentType , ContextType > ;
1213+ tokenStatus ?: Resolver < ResolversTypes [ 'TokenStatus' ] , ParentType , ContextType > ;
1214+ systemStatus ?: Resolver < ResolversTypes [ 'SystemStatus' ] , ParentType , ContextType > ;
1215+ error ?: Resolver < Maybe < ResolversTypes [ 'JSONObject' ] > , ParentType , ContextType > ;
11671216 catalogs ?: Resolver < ResolversTypes [ 'CatalogConnection' ] , ParentType , ContextType , MediaChannelCatalogsArgs > ;
11681217 marketplace ?: Resolver < ResolversTypes [ 'Marketplace' ] , ParentType , ContextType > ;
1169- tokenStatus ?: Resolver < ResolversTypes [ 'TokenStatus' ] , ParentType , ContextType > ;
11701218} ;
11711219export declare type MediaChannelConnectionResolvers < ContextType = any , ParentType extends ResolversParentTypes [ 'MediaChannelConnection' ] = ResolversParentTypes [ 'MediaChannelConnection' ] > = {
11721220 edges ?: Resolver < Maybe < Array < Maybe < ResolversTypes [ 'MediaChannelEdge' ] > > > , ParentType , ContextType > ;
@@ -1191,6 +1239,7 @@ export declare type MutationResolvers<ContextType = any, ParentType extends Reso
11911239 updateMarketplace ?: Resolver < Maybe < ResolversTypes [ 'Marketplace' ] > , ParentType , ContextType , RequireFields < MutationUpdateMarketplaceArgs , 'id' | 'input' > > ;
11921240 deleteMarketplace ?: Resolver < Maybe < ResolversTypes [ 'Deletion' ] > , ParentType , ContextType , RequireFields < MutationDeleteMarketplaceArgs , 'id' > > ;
11931241 createMediaChannel ?: Resolver < Maybe < ResolversTypes [ 'MediaChannel' ] > , ParentType , ContextType , RequireFields < MutationCreateMediaChannelArgs , 'input' > > ;
1242+ importMediaChannel ?: Resolver < Maybe < ResolversTypes [ 'MediaChannel' ] > , ParentType , ContextType , RequireFields < MutationImportMediaChannelArgs , 'input' > > ;
11941243 updateMediaChannel ?: Resolver < Maybe < ResolversTypes [ 'MediaChannel' ] > , ParentType , ContextType , RequireFields < MutationUpdateMediaChannelArgs , 'id' | 'input' > > ;
11951244 deleteMediaChannel ?: Resolver < Maybe < ResolversTypes [ 'Deletion' ] > , ParentType , ContextType , RequireFields < MutationDeleteMediaChannelArgs , 'id' > > ;
11961245 createOrganization ?: Resolver < Maybe < ResolversTypes [ 'Organization' ] > , ParentType , ContextType , RequireFields < MutationCreateOrganizationArgs , 'input' > > ;
0 commit comments