Function SupplySourcesApiFp
- SupplySourcesApiFp(
configuration?: Configuration,
): {
archiveSupplySource(
supplySourceId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
>;
createSupplySource(
payload: CreateSupplySourceRequest,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<CreateSupplySourceResponse>,
>;
getSupplySource(
supplySourceId: string,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<SupplySource>,
>;
getSupplySources(
nextPageToken?: string,
pageSize?: number,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<GetSupplySourcesResponse>,
>;
updateSupplySource(
supplySourceId: string,
payload?: UpdateSupplySourceRequest,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
>;
updateSupplySourceStatus(
supplySourceId: string,
payload?: UpdateSupplySourceStatusRequest,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
>;
} Parameters
Optional
configuration: Configuration
Returns {
archiveSupplySource(
supplySourceId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
>;
createSupplySource(
payload: CreateSupplySourceRequest,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<CreateSupplySourceResponse>,
>;
getSupplySource(
supplySourceId: string,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<SupplySource>,
>;
getSupplySources(
nextPageToken?: string,
pageSize?: number,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<GetSupplySourcesResponse>,
>;
updateSupplySource(
supplySourceId: string,
payload?: UpdateSupplySourceRequest,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
>;
updateSupplySourceStatus(
supplySourceId: string,
payload?: UpdateSupplySourceStatusRequest,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
>;
}
archiveSupplySource:function
- archiveSupplySource(
supplySourceId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
> Parameters
- supplySourceId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>>
createSupplySource:function
getSupplySource:function
- getSupplySource(
supplySourceId: string,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplySource>,
> Parameters
- supplySourceId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplySource>,
>
getSupplySources:function
- getSupplySources(
nextPageToken?: string,
pageSize?: number,
options?: RawAxiosRequestConfig,
): Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<GetSupplySourcesResponse>,
> Parameters
Optional
nextPageToken: stringOptional
pageSize: numberOptional
options: RawAxiosRequestConfig
Returns Promise<
(
axios?: AxiosInstance,
basePath?: string,
) => AxiosPromise<GetSupplySourcesResponse>,
>
updateSupplySource:function
- updateSupplySource(
supplySourceId: string,
payload?: UpdateSupplySourceRequest,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
> Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>>
updateSupplySourceStatus:function
- updateSupplySourceStatus(
supplySourceId: string,
payload?: UpdateSupplySourceStatusRequest,
options?: RawAxiosRequestConfig,
): Promise<
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>,
> Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ErrorList>>
SupplySourcesApi - functional programming interface
Export