@simpleapps-com/augur-api
Version:
TypeScript client library for Augur microservices API endpoints
512 lines • 20 kB
TypeScript
import { z } from 'zod';
export declare const TransactionSetupParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
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 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
customerId: z.ZodString;
mode: z.ZodOptional<z.ZodEnum<["dev", "live"]>>;
}, "strip", z.ZodTypeAny, {
customerId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
}, {
customerId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
}>;
/** Transaction setup data - key field only, passthrough for API flexibility */
export declare const TransactionSetupDataSchema: z.ZodObject<{
transactionSetupId: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
transactionSetupId: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
transactionSetupId: z.ZodString;
}, z.ZodTypeAny, "passthrough">>;
export declare const TransactionSetupResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodObject<{
transactionSetupId: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
transactionSetupId: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
transactionSetupId: z.ZodString;
}, z.ZodTypeAny, "passthrough">>;
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: {
transactionSetupId: string;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
transactionSetupId: string;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: {
transactionSetupId: string;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: {
transactionSetupId: string;
} & {
[k: string]: unknown;
};
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const AccountQueryParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
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 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
customerId: z.ZodString;
transactionSetupId: z.ZodString;
mode: z.ZodOptional<z.ZodEnum<["dev", "live"]>>;
}, "strip", z.ZodTypeAny, {
customerId: string;
transactionSetupId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
}, {
customerId: string;
transactionSetupId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
}>;
/** Account query data - key field only, passthrough for API flexibility */
export declare const AccountQueryDataSchema: z.ZodObject<{
PaymentAccountID: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">>;
export declare const AccountQueryResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodUnion<[z.ZodObject<{
PaymentAccountID: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">>, z.ZodLiteral<false>]>;
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: false | z.objectOutputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: false | z.objectInputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: false | z.objectOutputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: false | z.objectInputType<{
PaymentAccountID: z.ZodString;
}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const BillingUpdateParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
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 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
transactionSetupId: z.ZodString;
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodString;
mode: z.ZodOptional<z.ZodEnum<["dev", "live"]>>;
}, "strip", z.ZodTypeAny, {
transactionSetupId: string;
address1: string;
city: string;
state: string;
zip: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
address2?: string | undefined;
}, {
transactionSetupId: string;
address1: string;
city: string;
state: string;
zip: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
address2?: string | undefined;
}>;
export declare const BillingUpdateResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodBoolean;
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: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const CardInfoParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
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 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
transactionSetupId: z.ZodString;
mode: z.ZodOptional<z.ZodEnum<["dev", "live"]>>;
}, "strip", z.ZodTypeAny, {
transactionSetupId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
}, {
transactionSetupId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
}>;
/** Card info data - passthrough for API flexibility */
export declare const CardInfoDataSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const CardInfoResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodRecord<z.ZodString, z.ZodNever>]>;
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: Record<string, never> | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: Record<string, never> | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: Record<string, never> | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: Record<string, never> | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const SurchargeParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
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 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
customerId: z.ZodString;
paymentAccountId: z.ZodString;
amount: z.ZodString;
fromState: z.ZodString;
toState: z.ZodString;
country: z.ZodString;
mode: z.ZodOptional<z.ZodEnum<["dev", "live"]>>;
}, "strip", z.ZodTypeAny, {
customerId: string;
paymentAccountId: string;
amount: string;
fromState: string;
toState: string;
country: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
}, {
customerId: string;
paymentAccountId: string;
amount: string;
fromState: string;
toState: string;
country: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
}>;
/** Surcharge data - passthrough for API flexibility */
export declare const SurchargeDataSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
export declare const SurchargeResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodRecord<z.ZodString, z.ZodNever>]>;
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: Record<string, never> | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: Record<string, never> | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: Record<string, never> | z.objectOutputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: Record<string, never> | z.objectInputType<{}, z.ZodTypeAny, "passthrough">;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export declare const ValidateParamsSchema: z.ZodObject<{
limit: z.ZodOptional<z.ZodNumber>;
offset: z.ZodOptional<z.ZodNumber>;
} & {
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 | 1 | 4 | 5 | 8, 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8">>;
} & {
customerId: z.ZodString;
transactionSetupId: z.ZodString;
mode: z.ZodOptional<z.ZodEnum<["dev", "live"]>>;
}, "strip", z.ZodTypeAny, {
customerId: string;
transactionSetupId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | 5 | 8 | undefined;
}, {
customerId: string;
transactionSetupId: string;
mode?: "dev" | "live" | undefined;
limit?: number | undefined;
offset?: number | undefined;
edgeCache?: 3 | 2 | 1 | 4 | "1" | 5 | 8 | "2" | "3" | "4" | "5" | "8" | undefined;
}>;
export declare const ValidateResponseSchema: z.ZodEffects<z.ZodObject<{
count: z.ZodNumber;
data: z.ZodBoolean;
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: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}, {
params: Record<string, unknown> | unknown[];
data: boolean;
options: Record<string, unknown> | unknown[];
status: number;
message: string;
count: number;
total: number;
totalResults: number;
}>;
export type TransactionSetupParams = z.infer<typeof TransactionSetupParamsSchema>;
export type TransactionSetupData = z.infer<typeof TransactionSetupDataSchema>;
export type TransactionSetupResponse = z.infer<typeof TransactionSetupResponseSchema>;
export type AccountQueryParams = z.infer<typeof AccountQueryParamsSchema>;
export type AccountQueryData = z.infer<typeof AccountQueryDataSchema>;
export type AccountQueryResponse = z.infer<typeof AccountQueryResponseSchema>;
export type BillingUpdateParams = z.infer<typeof BillingUpdateParamsSchema>;
export type BillingUpdateResponse = z.infer<typeof BillingUpdateResponseSchema>;
export type CardInfoParams = z.infer<typeof CardInfoParamsSchema>;
export type CardInfoData = z.infer<typeof CardInfoDataSchema>;
export type CardInfoResponse = z.infer<typeof CardInfoResponseSchema>;
export type SurchargeParams = z.infer<typeof SurchargeParamsSchema>;
export type SurchargeData = z.infer<typeof SurchargeDataSchema>;
export type SurchargeResponse = z.infer<typeof SurchargeResponseSchema>;
export type ValidateParams = z.infer<typeof ValidateParamsSchema>;
export type ValidateResponse = z.infer<typeof ValidateResponseSchema>;
//# sourceMappingURL=unified.d.ts.map