new sdk with full funcionts of ventors
This commit is contained in:
@@ -113,11 +113,59 @@ export interface CreateVendorVariables {
|
||||
isActive?: boolean | null;
|
||||
}
|
||||
|
||||
export interface DeleteVendorData {
|
||||
vendor_delete?: Vendor_Key | null;
|
||||
}
|
||||
|
||||
export interface DeleteVendorVariables {
|
||||
id: UUIDString;
|
||||
}
|
||||
|
||||
export interface Event_Key {
|
||||
id: UUIDString;
|
||||
__typename?: 'Event_Key';
|
||||
}
|
||||
|
||||
export interface FilterVendorsData {
|
||||
vendors: ({
|
||||
id: UUIDString;
|
||||
vendorNumber: string;
|
||||
legalName: string;
|
||||
region: VendorRegion;
|
||||
platformType: VendorPlatformType;
|
||||
primaryContactEmail: string;
|
||||
approvalStatus: VendorApprovalStatus;
|
||||
isActive?: boolean | null;
|
||||
} & Vendor_Key)[];
|
||||
}
|
||||
|
||||
export interface FilterVendorsVariables {
|
||||
region?: VendorRegion | null;
|
||||
approvalStatus?: VendorApprovalStatus | null;
|
||||
isActive?: boolean | null;
|
||||
vendorNumber?: string | null;
|
||||
primaryContactEmail?: string | null;
|
||||
legalName?: string | null;
|
||||
platformType?: VendorPlatformType | null;
|
||||
}
|
||||
|
||||
export interface GetVendorByIdData {
|
||||
vendor?: {
|
||||
id: UUIDString;
|
||||
vendorNumber: string;
|
||||
legalName: string;
|
||||
region: VendorRegion;
|
||||
platformType: VendorPlatformType;
|
||||
primaryContactEmail: string;
|
||||
approvalStatus: VendorApprovalStatus;
|
||||
isActive?: boolean | null;
|
||||
} & Vendor_Key;
|
||||
}
|
||||
|
||||
export interface GetVendorByIdVariables {
|
||||
id: UUIDString;
|
||||
}
|
||||
|
||||
export interface ListEventsData {
|
||||
events: ({
|
||||
id: UUIDString;
|
||||
@@ -166,35 +214,26 @@ export interface Staff_Key {
|
||||
__typename?: 'Staff_Key';
|
||||
}
|
||||
|
||||
export interface UpdateVendorData {
|
||||
vendor_update?: Vendor_Key | null;
|
||||
}
|
||||
|
||||
export interface UpdateVendorVariables {
|
||||
id: UUIDString;
|
||||
vendorNumber?: string | null;
|
||||
legalName?: string | null;
|
||||
region?: VendorRegion | null;
|
||||
platformType?: VendorPlatformType | null;
|
||||
primaryContactEmail?: string | null;
|
||||
approvalStatus?: VendorApprovalStatus | null;
|
||||
isActive?: boolean | null;
|
||||
}
|
||||
|
||||
export interface Vendor_Key {
|
||||
id: UUIDString;
|
||||
__typename?: 'Vendor_Key';
|
||||
}
|
||||
|
||||
interface ListVendorRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(): QueryRef<ListVendorData, undefined>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect): QueryRef<ListVendorData, undefined>;
|
||||
operationName: string;
|
||||
}
|
||||
export const listVendorRef: ListVendorRef;
|
||||
|
||||
export function listVendor(): QueryPromise<ListVendorData, undefined>;
|
||||
export function listVendor(dc: DataConnect): QueryPromise<ListVendorData, undefined>;
|
||||
|
||||
interface CreateEventRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(vars: CreateEventVariables): MutationRef<CreateEventData, CreateEventVariables>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect, vars: CreateEventVariables): MutationRef<CreateEventData, CreateEventVariables>;
|
||||
operationName: string;
|
||||
}
|
||||
export const createEventRef: CreateEventRef;
|
||||
|
||||
export function createEvent(vars: CreateEventVariables): MutationPromise<CreateEventData, CreateEventVariables>;
|
||||
export function createEvent(dc: DataConnect, vars: CreateEventVariables): MutationPromise<CreateEventData, CreateEventVariables>;
|
||||
|
||||
interface ListEventsRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(): QueryRef<ListEventsData, undefined>;
|
||||
@@ -243,3 +282,75 @@ export const createVendorRef: CreateVendorRef;
|
||||
export function createVendor(vars: CreateVendorVariables): MutationPromise<CreateVendorData, CreateVendorVariables>;
|
||||
export function createVendor(dc: DataConnect, vars: CreateVendorVariables): MutationPromise<CreateVendorData, CreateVendorVariables>;
|
||||
|
||||
interface UpdateVendorRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(vars: UpdateVendorVariables): MutationRef<UpdateVendorData, UpdateVendorVariables>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect, vars: UpdateVendorVariables): MutationRef<UpdateVendorData, UpdateVendorVariables>;
|
||||
operationName: string;
|
||||
}
|
||||
export const updateVendorRef: UpdateVendorRef;
|
||||
|
||||
export function updateVendor(vars: UpdateVendorVariables): MutationPromise<UpdateVendorData, UpdateVendorVariables>;
|
||||
export function updateVendor(dc: DataConnect, vars: UpdateVendorVariables): MutationPromise<UpdateVendorData, UpdateVendorVariables>;
|
||||
|
||||
interface DeleteVendorRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(vars: DeleteVendorVariables): MutationRef<DeleteVendorData, DeleteVendorVariables>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect, vars: DeleteVendorVariables): MutationRef<DeleteVendorData, DeleteVendorVariables>;
|
||||
operationName: string;
|
||||
}
|
||||
export const deleteVendorRef: DeleteVendorRef;
|
||||
|
||||
export function deleteVendor(vars: DeleteVendorVariables): MutationPromise<DeleteVendorData, DeleteVendorVariables>;
|
||||
export function deleteVendor(dc: DataConnect, vars: DeleteVendorVariables): MutationPromise<DeleteVendorData, DeleteVendorVariables>;
|
||||
|
||||
interface ListVendorRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(): QueryRef<ListVendorData, undefined>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect): QueryRef<ListVendorData, undefined>;
|
||||
operationName: string;
|
||||
}
|
||||
export const listVendorRef: ListVendorRef;
|
||||
|
||||
export function listVendor(): QueryPromise<ListVendorData, undefined>;
|
||||
export function listVendor(dc: DataConnect): QueryPromise<ListVendorData, undefined>;
|
||||
|
||||
interface GetVendorByIdRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(vars: GetVendorByIdVariables): QueryRef<GetVendorByIdData, GetVendorByIdVariables>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect, vars: GetVendorByIdVariables): QueryRef<GetVendorByIdData, GetVendorByIdVariables>;
|
||||
operationName: string;
|
||||
}
|
||||
export const getVendorByIdRef: GetVendorByIdRef;
|
||||
|
||||
export function getVendorById(vars: GetVendorByIdVariables): QueryPromise<GetVendorByIdData, GetVendorByIdVariables>;
|
||||
export function getVendorById(dc: DataConnect, vars: GetVendorByIdVariables): QueryPromise<GetVendorByIdData, GetVendorByIdVariables>;
|
||||
|
||||
interface FilterVendorsRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(vars?: FilterVendorsVariables): QueryRef<FilterVendorsData, FilterVendorsVariables>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect, vars?: FilterVendorsVariables): QueryRef<FilterVendorsData, FilterVendorsVariables>;
|
||||
operationName: string;
|
||||
}
|
||||
export const filterVendorsRef: FilterVendorsRef;
|
||||
|
||||
export function filterVendors(vars?: FilterVendorsVariables): QueryPromise<FilterVendorsData, FilterVendorsVariables>;
|
||||
export function filterVendors(dc: DataConnect, vars?: FilterVendorsVariables): QueryPromise<FilterVendorsData, FilterVendorsVariables>;
|
||||
|
||||
interface CreateEventRef {
|
||||
/* Allow users to create refs without passing in DataConnect */
|
||||
(vars: CreateEventVariables): MutationRef<CreateEventData, CreateEventVariables>;
|
||||
/* Allow users to pass in custom DataConnect instances */
|
||||
(dc: DataConnect, vars: CreateEventVariables): MutationRef<CreateEventData, CreateEventVariables>;
|
||||
operationName: string;
|
||||
}
|
||||
export const createEventRef: CreateEventRef;
|
||||
|
||||
export function createEvent(vars: CreateEventVariables): MutationPromise<CreateEventData, CreateEventVariables>;
|
||||
export function createEvent(dc: DataConnect, vars: CreateEventVariables): MutationPromise<CreateEventData, CreateEventVariables>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user