UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

854 lines 27.9 kB
import { z } from 'zod'; export declare const JobPriceHdrListParamsSchema: z.ZodObject<{ edgeCache: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<8>, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"8">]>, 3 | 2 | 4 | 1 | 5 | 8, 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>; } & { limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; orderBy: z.ZodDefault<z.ZodOptional<z.ZodString>>; q: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; orderBy: string; edgeCache?: 3 | 2 | 4 | 1 | 5 | 8 | undefined; q?: string | undefined; }, { edgeCache?: 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; limit?: number | undefined; offset?: number | undefined; q?: string | undefined; orderBy?: string | undefined; }>; export declare const JobPriceHdrSchema: z.ZodObject<{ job_price_hdr_uid: z.ZodNumber; job_no: z.ZodString; job_description: z.ZodString; company_id: z.ZodString; customer_id: z.ZodNumber; start_date: z.ZodString; end_date: z.ZodString; contract_no: z.ZodString; approved: z.ZodBoolean; cancelled: z.ZodBoolean; consignment_flag: z.ZodBoolean; total_commitment: z.ZodOptional<z.ZodNumber>; date_created: z.ZodString; date_last_modified: z.ZodString; last_maintained_by: z.ZodString; }, "strip", z.ZodTypeAny, { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }, { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }>; export declare const JobPriceHdrListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ job_price_hdr_uid: z.ZodNumber; job_no: z.ZodString; job_description: z.ZodString; company_id: z.ZodString; customer_id: z.ZodNumber; start_date: z.ZodString; end_date: z.ZodString; contract_no: z.ZodString; approved: z.ZodBoolean; cancelled: z.ZodBoolean; consignment_flag: z.ZodBoolean; total_commitment: z.ZodOptional<z.ZodNumber>; date_created: z.ZodString; date_last_modified: z.ZodString; last_maintained_by: z.ZodString; }, "strip", z.ZodTypeAny, { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }, { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }>, "many">; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const JobPriceHdrGetResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ job_price_hdr_uid: z.ZodNumber; job_no: z.ZodString; job_description: z.ZodString; company_id: z.ZodString; customer_id: z.ZodNumber; start_date: z.ZodString; end_date: z.ZodString; contract_no: z.ZodString; approved: z.ZodBoolean; cancelled: z.ZodBoolean; consignment_flag: z.ZodBoolean; total_commitment: z.ZodOptional<z.ZodNumber>; date_created: z.ZodString; date_last_modified: z.ZodString; last_maintained_by: z.ZodString; }, "strip", z.ZodTypeAny, { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }, { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }>; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { approved: boolean; customer_id: number; job_price_hdr_uid: number; job_no: string; job_description: string; company_id: string; start_date: string; end_date: string; contract_no: string; cancelled: boolean; consignment_flag: boolean; date_created: string; date_last_modified: string; last_maintained_by: string; total_commitment?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const JobPriceLineListParamsSchema: z.ZodObject<{ edgeCache: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<8>, z.ZodLiteral<"1">, z.ZodLiteral<"2">, z.ZodLiteral<"3">, z.ZodLiteral<"4">, z.ZodLiteral<"5">, z.ZodLiteral<"8">]>, 3 | 2 | 4 | 1 | 5 | 8, 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>; } & { limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; orderBy: z.ZodDefault<z.ZodOptional<z.ZodString>>; q: z.ZodOptional<z.ZodString>; statusCd: z.ZodOptional<z.ZodNumber>; invMastUid: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; orderBy: string; edgeCache?: 3 | 2 | 4 | 1 | 5 | 8 | undefined; q?: string | undefined; statusCd?: number | undefined; invMastUid?: number | undefined; }, { edgeCache?: 3 | 2 | 4 | 1 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined; limit?: number | undefined; offset?: number | undefined; q?: string | undefined; orderBy?: string | undefined; statusCd?: number | undefined; invMastUid?: number | undefined; }>; export declare const JobPriceLineSchema: z.ZodObject<{ job_price_line_uid: z.ZodNumber; job_price_hdr_uid: z.ZodNumber; inv_mast_uid: z.ZodNumber; price: z.ZodNumber; uom: z.ZodString; unit_size: z.ZodNumber; pricing_method: z.ZodNumber; qty_ordered: z.ZodNumber; qty_maximum: z.ZodNumber; discount_percent: z.ZodOptional<z.ZodNumber>; margin_percent: z.ZodOptional<z.ZodNumber>; cost_basis: z.ZodOptional<z.ZodNumber>; expiration_date: z.ZodString; commitment_amount: z.ZodNumber; item_id: z.ZodString; item_description: z.ZodString; status_cd: z.ZodNumber; date_created: z.ZodOptional<z.ZodString>; date_last_modified: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }, { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }>; export declare const JobPriceLineListResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodArray<z.ZodObject<{ job_price_line_uid: z.ZodNumber; job_price_hdr_uid: z.ZodNumber; inv_mast_uid: z.ZodNumber; price: z.ZodNumber; uom: z.ZodString; unit_size: z.ZodNumber; pricing_method: z.ZodNumber; qty_ordered: z.ZodNumber; qty_maximum: z.ZodNumber; discount_percent: z.ZodOptional<z.ZodNumber>; margin_percent: z.ZodOptional<z.ZodNumber>; cost_basis: z.ZodOptional<z.ZodNumber>; expiration_date: z.ZodString; commitment_amount: z.ZodNumber; item_id: z.ZodString; item_description: z.ZodString; status_cd: z.ZodNumber; date_created: z.ZodOptional<z.ZodString>; date_last_modified: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }, { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }>, "many">; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }[]; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export declare const JobPriceLineGetResponseSchema: z.ZodEffects<z.ZodObject<{ count: z.ZodNumber; data: z.ZodObject<{ job_price_line_uid: z.ZodNumber; job_price_hdr_uid: z.ZodNumber; inv_mast_uid: z.ZodNumber; price: z.ZodNumber; uom: z.ZodString; unit_size: z.ZodNumber; pricing_method: z.ZodNumber; qty_ordered: z.ZodNumber; qty_maximum: z.ZodNumber; discount_percent: z.ZodOptional<z.ZodNumber>; margin_percent: z.ZodOptional<z.ZodNumber>; cost_basis: z.ZodOptional<z.ZodNumber>; expiration_date: z.ZodString; commitment_amount: z.ZodNumber; item_id: z.ZodString; item_description: z.ZodString; status_cd: z.ZodNumber; date_created: z.ZodOptional<z.ZodString>; date_last_modified: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }, { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }>; message: z.ZodString; options: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; params: z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>; status: z.ZodNumber; total: z.ZodNumber; totalResults: z.ZodNumber; }, "strip", z.ZodTypeAny, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }, { params: Record<string, unknown> | unknown[]; data: { uom: string; inv_mast_uid: number; unit_size: number; item_id: string; job_price_hdr_uid: number; job_price_line_uid: number; price: number; pricing_method: number; qty_ordered: number; qty_maximum: number; expiration_date: string; commitment_amount: number; item_description: string; status_cd: number; discount_percent?: number | undefined; margin_percent?: number | undefined; date_created?: string | undefined; date_last_modified?: string | undefined; cost_basis?: number | undefined; }; options: Record<string, unknown> | unknown[]; status: number; message: string; count: number; total: number; totalResults: number; }>; export type JobPriceHdrListParams = z.infer<typeof JobPriceHdrListParamsSchema>; export type JobPriceHdr = z.infer<typeof JobPriceHdrSchema>; export type JobPriceHdrListResponse = z.infer<typeof JobPriceHdrListResponseSchema>; export type JobPriceHdrGetResponse = z.infer<typeof JobPriceHdrGetResponseSchema>; export type JobPriceLineListParams = z.infer<typeof JobPriceLineListParamsSchema>; export type JobPriceLine = z.infer<typeof JobPriceLineSchema>; export type JobPriceLineListResponse = z.infer<typeof JobPriceLineListResponseSchema>; export type JobPriceLineGetResponse = z.infer<typeof JobPriceLineGetResponseSchema>; //# sourceMappingURL=job-pricing.d.ts.map