@marcohefti/request-network-api-client 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +97 -0
- package/dist/cjs/domains/client-ids/index.js +309 -0
- package/dist/cjs/domains/client-ids/index.js.map +1 -0
- package/dist/cjs/domains/currencies/index.js +347 -0
- package/dist/cjs/domains/currencies/index.js.map +1 -0
- package/dist/cjs/domains/payer/index.js +450 -0
- package/dist/cjs/domains/payer/index.js.map +1 -0
- package/dist/cjs/domains/payouts/index.js +304 -0
- package/dist/cjs/domains/payouts/index.js.map +1 -0
- package/dist/cjs/domains/requests/index.js +544 -0
- package/dist/cjs/domains/requests/index.js.map +1 -0
- package/dist/cjs/index.js +3466 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/esm/domains/client-ids/index.d.mts +2 -0
- package/dist/esm/domains/client-ids/index.js +307 -0
- package/dist/esm/domains/client-ids/index.js.map +1 -0
- package/dist/esm/domains/currencies/index.d.mts +3 -0
- package/dist/esm/domains/currencies/index.js +344 -0
- package/dist/esm/domains/currencies/index.js.map +1 -0
- package/dist/esm/domains/payer/index.d.mts +2 -0
- package/dist/esm/domains/payer/index.js +446 -0
- package/dist/esm/domains/payer/index.js.map +1 -0
- package/dist/esm/domains/payouts/index.d.mts +2 -0
- package/dist/esm/domains/payouts/index.js +302 -0
- package/dist/esm/domains/payouts/index.js.map +1 -0
- package/dist/esm/domains/requests/index.d.mts +2 -0
- package/dist/esm/domains/requests/index.js +542 -0
- package/dist/esm/domains/requests/index.js.map +1 -0
- package/dist/esm/index-BmWmfcnn.d.mts +113 -0
- package/dist/esm/index-CNK36ZX5.d.mts +26 -0
- package/dist/esm/index-Cd7x0Hv-.d.mts +39 -0
- package/dist/esm/index-Q2g0D7V8.d.mts +79 -0
- package/dist/esm/index-ziziGrHN.d.mts +220 -0
- package/dist/esm/index.d.mts +5478 -0
- package/dist/esm/index.js +3435 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/openapi-types-CtUFCrk4.d.mts +3368 -0
- package/package.json +168 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/domains/requests/request.helpers.ts","../../../../src/core/http/validation.config.ts","../../../../src/validation/schema.registry.ts","../../../../src/validation/zod.helpers.ts","../../../../src/core/http/operation.helper.ts","../../../../src/domains/requests/requests.facade.ts","../../../../src/validation/generated/groups/request.schemas.generated.ts","../../../../src/validation/overrides/request-status.schema.ts","../../../../src/validation/overrides/request-payment-routes.schema.ts"],"names":["z"],"mappings":";;;AASO,SAAS,kBAAkB,KAAA,EAAsE;AACtG,EAAA,IAAI,CAAC,OAAO,OAAO,MAAA;AACnB,EAAA,MAAM,OAAA,GAAU,MAAA,CAAO,OAAA,CAAQ,KAAK,CAAA,CAAE,MAAA,CAAO,CAAC,GAAG,KAAK,CAAA,KAAM,KAAA,KAAU,MAAS,CAAA;AAC/E,EAAA,IAAI,OAAA,CAAQ,MAAA,KAAW,CAAA,EAAG,OAAO,MAAA;AACjC,EAAA,OAAO,MAAA,CAAO,YAAY,OAAO,CAAA;AACnC;AAkDA,IAAM,eAAA,GAAqD;AAAA,EACzD,IAAA,EAAM,MAAA;AAAA,EACN,SAAA,EAAW,MAAA;AAAA,EACX,OAAA,EAAS,MAAA;AAAA,EACT,OAAA,EAAS,SAAA;AAAA,EACT,UAAA,EAAY,SAAA;AAAA,EACZ,IAAA,EAAM,SAAA;AAAA,EACN,eAAA,EAAiB,SAAA;AAAA,EACjB,gBAAA,EAAkB,SAAA;AAAA,EAClB,SAAA,EAAW,WAAA;AAAA,EACX,QAAA,EAAU,WAAA;AAAA,EACV,MAAA,EAAQ,WAAA;AAAA,EACR,OAAA,EAAS,SAAA;AAAA,EACT,OAAA,EAAS;AACX,CAAA;AAEA,SAAS,mBAAmB,KAAA,EAA6D;AACvF,EAAA,IAAI,KAAA,KAAU,QAAW,OAAO,MAAA;AAChC,EAAA,OAAO,KAAA;AACT;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AE,QAAA;AAAS,KACjD,EACA,WAAA;AAAY;AAEnB,CAAC,EACA,WAAA,EAAY;AAEf,cAAA,CAAe,QAAA,CAAS;AAAA,EACtB,KAAK,EAAE,WAAA,EAAa,kDAAkD,IAAA,EAAM,UAAA,EAAY,QAAQ,GAAA,EAAI;AAAA,EACpG,MAAA,EAAQ;AACV,CAAC,CAAA","file":"index.js","sourcesContent":["import type { RequestOptions } from \"../../core/http/http.types\";\nimport type { operations } from \"../../generated/openapi-types\";\n\ntype QueryValue = string | number | boolean | (string | number | boolean)[];\n\n/**\n * Builds a query object while stripping out undefined entries so the HTTP helper\n * does not emit spurious `param=undefined` pairs.\n */\nexport function buildRequestQuery(input?: Record<string, unknown>): RequestOptions[\"query\"] | undefined {\n if (!input) return undefined;\n const entries = Object.entries(input).filter(([, value]) => value !== undefined);\n if (entries.length === 0) return undefined;\n return Object.fromEntries(entries) as Record<string, QueryValue | undefined>;\n}\n\ntype LegacyStatusApiResponse =\n operations[\"RequestControllerV1_getRequestStatus_v1\"][\"responses\"][200][\"content\"][\"application/json\"];\ntype StatusApiResponseV2 =\n operations[\"RequestControllerV2_getRequestStatus_v2\"][\"responses\"][200][\"content\"][\"application/json\"];\n\nexport interface RequestStatusAddress {\n street?: string;\n city?: string;\n state?: string;\n postalCode?: string;\n country?: string;\n}\n\nexport interface RequestStatusCustomerInfo {\n firstName?: string;\n lastName?: string;\n email?: string;\n address?: RequestStatusAddress;\n}\n\nexport type RequestStatusKind = \"paid\" | \"pending\" | \"cancelled\" | \"overdue\" | \"unknown\";\n\ninterface RequestStatusBase {\n paymentReference?: string;\n requestId?: string;\n isListening?: boolean;\n txHash: string | null;\n status?: string;\n recurrence?: Record<string, unknown>;\n originalRequestId?: string;\n originalRequestPaymentReference?: string;\n isRecurrenceStopped?: boolean;\n isCryptoToFiatAvailable?: boolean;\n payments?: Array<Record<string, unknown>>;\n customerInfo?: RequestStatusCustomerInfo | null;\n reference?: string | null;\n hasBeenPaid?: boolean;\n}\n\nexport type RequestStatusResult =\n | (RequestStatusBase & { kind: \"paid\"; hasBeenPaid: true })\n | (RequestStatusBase & { kind: \"pending\"; hasBeenPaid?: boolean })\n | (RequestStatusBase & { kind: \"cancelled\"; hasBeenPaid?: boolean })\n | (RequestStatusBase & { kind: \"overdue\"; hasBeenPaid?: boolean })\n | (RequestStatusBase & { kind: \"unknown\"; hasBeenPaid?: boolean });\n\nexport type LegacyRequestStatusResult = Extract<RequestStatusResult, { kind: \"paid\" | \"pending\" }>;\n\nconst STATUS_KIND_MAP: Record<string, RequestStatusKind> = {\n paid: \"paid\",\n completed: \"paid\",\n settled: \"paid\",\n pending: \"pending\",\n processing: \"pending\",\n open: \"pending\",\n awaitingpayment: \"pending\",\n awaiting_payment: \"pending\",\n cancelled: \"cancelled\",\n canceled: \"cancelled\",\n voided: \"cancelled\",\n overdue: \"overdue\",\n expired: \"overdue\",\n};\n\nfunction normalizeReference(value: string | null | undefined): string | null | undefined {\n if (value === undefined) return undefined;\n return value;\n}\n\nfunction normalizeCustomerInfo(value: RequestStatusCustomerInfo | null | undefined): RequestStatusCustomerInfo | null | undefined {\n if (value === undefined) return undefined;\n if (value === null) return null;\n return {\n firstName: value.firstName ?? undefined,\n lastName: value.lastName ?? undefined,\n email: value.email ?? undefined,\n address: value.address\n ? {\n street: value.address.street ?? undefined,\n city: value.address.city ?? undefined,\n state: value.address.state ?? undefined,\n postalCode: value.address.postalCode ?? undefined,\n country: value.address.country ?? undefined,\n }\n : undefined,\n };\n}\n\nfunction normalizePayments(payments: StatusApiResponseV2[\"payments\"]): Array<Record<string, unknown>> | undefined {\n if (!payments) return undefined;\n return payments.map((payment) => ({ ...payment })) as Array<Record<string, unknown>>;\n}\n\nfunction buildStatusBase(\n raw: LegacyStatusApiResponse | StatusApiResponseV2,\n overrides?: Partial<RequestStatusBase>,\n): RequestStatusBase {\n return {\n paymentReference: raw.paymentReference ?? undefined,\n requestId: raw.requestId ?? undefined,\n isListening: \"isListening\" in raw ? raw.isListening ?? undefined : undefined,\n txHash: raw.txHash ?? null,\n hasBeenPaid: raw.hasBeenPaid ?? false,\n status: \"status\" in raw ? (raw).status ?? undefined : undefined,\n recurrence:\n \"recurrence\" in raw ? ((raw).recurrence as Record<string, unknown> | undefined) : undefined,\n originalRequestId: \"originalRequestId\" in raw ? (raw).originalRequestId ?? undefined : undefined,\n originalRequestPaymentReference:\n \"originalRequestPaymentReference\" in raw\n ? (raw).originalRequestPaymentReference ?? undefined\n : undefined,\n isRecurrenceStopped:\n \"isRecurrenceStopped\" in raw ? (raw).isRecurrenceStopped ?? undefined : undefined,\n isCryptoToFiatAvailable:\n \"isCryptoToFiatAvailable\" in raw\n ? (raw).isCryptoToFiatAvailable ?? undefined\n : undefined,\n payments: \"payments\" in raw ? normalizePayments((raw).payments) : undefined,\n customerInfo:\n \"customerInfo\" in raw\n ? normalizeCustomerInfo(\n (raw).customerInfo as RequestStatusCustomerInfo | null | undefined,\n )\n : undefined,\n reference:\n \"reference\" in raw ? normalizeReference((raw).reference ?? null) : undefined,\n ...overrides,\n };\n}\n\nexport function normalizeLegacyStatusResponse(raw: LegacyStatusApiResponse): LegacyRequestStatusResult {\n if (raw.hasBeenPaid) {\n return {\n kind: \"paid\",\n ...buildStatusBase(raw, { hasBeenPaid: true }),\n hasBeenPaid: true,\n };\n }\n\n return {\n kind: \"pending\",\n ...buildStatusBase(raw, { hasBeenPaid: false }),\n hasBeenPaid: false,\n };\n}\n\nexport function normalizeRequestStatusResponse(raw: StatusApiResponseV2): RequestStatusResult {\n const statusKey = raw.status?.trim().toLowerCase();\n const mapped = statusKey ? STATUS_KIND_MAP[statusKey] : undefined;\n const kind: RequestStatusKind = raw.hasBeenPaid\n ? \"paid\"\n : mapped ?? (statusKey ? \"unknown\" : \"pending\");\n\n if (kind === \"paid\") {\n return {\n kind,\n ...buildStatusBase(raw, { hasBeenPaid: true }),\n hasBeenPaid: true,\n };\n }\n\n return {\n kind,\n ...buildStatusBase(raw, { hasBeenPaid: false }),\n hasBeenPaid: false,\n };\n}\n","import type { RuntimeValidationConfig, RuntimeValidationOption } from \"./http.types\";\n\nconst DEFAULT_RUNTIME_VALIDATION: RuntimeValidationConfig = {\n requests: true,\n responses: true,\n errors: true,\n};\n\nfunction normaliseBoolean(flag: boolean | undefined, fallback: boolean): boolean {\n return typeof flag === \"boolean\" ? flag : fallback;\n}\n\nexport function normaliseRuntimeValidation(option?: RuntimeValidationOption): RuntimeValidationConfig {\n if (typeof option === \"boolean\") {\n return {\n requests: option,\n responses: option,\n errors: option,\n } satisfies RuntimeValidationConfig;\n }\n\n return {\n requests: normaliseBoolean(option?.requests, DEFAULT_RUNTIME_VALIDATION.requests),\n responses: normaliseBoolean(option?.responses, DEFAULT_RUNTIME_VALIDATION.responses),\n errors: normaliseBoolean(option?.errors, DEFAULT_RUNTIME_VALIDATION.errors),\n } satisfies RuntimeValidationConfig;\n}\n\nexport function mergeRuntimeValidation(base: RuntimeValidationConfig, override?: RuntimeValidationOption): RuntimeValidationConfig {\n if (override === undefined) {\n return base;\n }\n\n if (typeof override === \"boolean\") {\n return {\n requests: override,\n responses: override,\n errors: override,\n } satisfies RuntimeValidationConfig;\n }\n\n return {\n requests: normaliseBoolean(override.requests, base.requests),\n responses: normaliseBoolean(override.responses, base.responses),\n errors: normaliseBoolean(override.errors, base.errors),\n } satisfies RuntimeValidationConfig;\n}\n\nexport function cloneRuntimeValidation(config: RuntimeValidationConfig): RuntimeValidationConfig {\n return { ...config };\n}\n","import type { ZodTypeAny } from \"zod\";\n\nexport type SchemaKind = \"request\" | \"response\" | \"webhook\";\n\nexport interface SchemaKey {\n operationId: string;\n kind: SchemaKind;\n variant?: string;\n status?: number;\n}\n\nexport interface SchemaEntry<TSchema extends ZodTypeAny = ZodTypeAny> {\n key: SchemaKey;\n schema: TSchema;\n}\n\nfunction serialiseKey(key: SchemaKey): string {\n const variant = key.variant ?? \"default\";\n const status = key.status?.toString() ?? \"any\";\n return `${key.operationId}|${key.kind}|${variant}|${status}`;\n}\n\n/**\n * Lightweight registry that associates OpenAPI operation IDs with validation schemas.\n * Generators can populate this map while domain modules retrieve the schemas at runtime.\n */\nexport class SchemaRegistry {\n private readonly store = new Map<string, SchemaEntry>();\n\n register(entry: SchemaEntry): void {\n const id = serialiseKey(entry.key);\n this.store.set(id, entry);\n }\n\n get(key: SchemaKey): ZodTypeAny | undefined {\n const id = serialiseKey(key);\n return this.store.get(id)?.schema;\n }\n\n /**\n * Removes every registered schema — primarily useful in tests.\n */\n clear(): void {\n this.store.clear();\n }\n}\n\nexport const schemaRegistry = new SchemaRegistry();\n","import { type SafeParseReturnType, type ZodTypeAny } from \"zod\";\n\nimport type { SchemaKey } from \"./schema.registry\";\nimport { schemaRegistry } from \"./schema.registry\";\n\nexport type SchemaOutput<TSchema extends ZodTypeAny> = TSchema[\"_output\"];\n\nexport interface ParseWithSchemaOptions<TSchema extends ZodTypeAny> {\n schema: TSchema;\n value: unknown;\n description?: string;\n}\n\nexport interface ParseRegistryOptions {\n key: SchemaKey;\n value: unknown;\n description?: string;\n skipOnMissingSchema?: boolean;\n}\n\nexport interface ParseResult<T> {\n success: boolean;\n data?: T;\n error?: unknown;\n}\n\nexport class ValidationError extends Error {\n constructor(message: string, readonly cause?: unknown) {\n super(message, { cause });\n this.name = \"ClientValidationError\";\n }\n}\n\nexport function parseWithSchema<TSchema extends ZodTypeAny>(\n options: ParseWithSchemaOptions<TSchema>,\n): ParseResult<SchemaOutput<TSchema>> {\n const { schema, value, description } = options;\n const outcome: SafeParseReturnType<unknown, SchemaOutput<TSchema>> = schema.safeParse(value);\n if (outcome.success) {\n return { success: true, data: outcome.data };\n }\n\n const error = new ValidationError(description ?? \"Validation failed\", outcome.error);\n return { success: false, error };\n}\n\nexport function parseWithRegistry<TSchema extends ZodTypeAny>(options: ParseRegistryOptions): ParseResult<SchemaOutput<TSchema>> {\n const schema = schemaRegistry.get(options.key) as TSchema | undefined;\n if (!schema) {\n if (options.skipOnMissingSchema) {\n return { success: true, data: options.value as SchemaOutput<TSchema> };\n }\n return { success: false, error: new ValidationError(`No schema registered for ${options.key.operationId}`) };\n }\n\n return parseWithSchema({ schema, value: options.value, description: options.description });\n}\n","import type { HttpClient, HttpMethod, RequestOptions, RuntimeValidationOption } from \"./http.types\";\nimport { mergeRuntimeValidation } from \"./validation.config\";\nimport type { SchemaKey } from \"../../validation/schema.registry\";\nimport { parseWithRegistry } from \"../../validation/zod.helpers\";\n\ntype Query = NonNullable<RequestOptions[\"query\"]>;\n\nexport interface RequestJsonParams {\n operationId: string;\n method: HttpMethod;\n path: string;\n query?: Query;\n body?: unknown;\n schemaKey: SchemaKey;\n requestSchemaKey?: SchemaKey;\n description?: string;\n querySerializer?: RequestOptions[\"querySerializer\"];\n signal?: RequestOptions[\"signal\"];\n timeoutMs?: RequestOptions[\"timeoutMs\"];\n validation?: RuntimeValidationOption;\n meta?: RequestOptions[\"meta\"];\n}\n\nexport async function requestJson<T>(http: HttpClient, params: RequestJsonParams): Promise<T> {\n const {\n operationId,\n method,\n path,\n query,\n body,\n schemaKey,\n requestSchemaKey,\n description,\n querySerializer,\n signal,\n timeoutMs,\n validation,\n meta,\n } = params;\n\n const runtimeValidation = mergeRuntimeValidation(http.getRuntimeValidationConfig(), validation);\n\n let requestBody = body;\n if (runtimeValidation.requests && requestSchemaKey && body !== undefined) {\n const parsedRequest = parseWithRegistry({\n key: requestSchemaKey,\n value: body,\n description: `${description ?? operationId} request`,\n skipOnMissingSchema: true,\n });\n if (!parsedRequest.success) {\n throw parsedRequest.error;\n }\n requestBody = parsedRequest.data;\n }\n\n const metaValidation = validation ?? meta?.validation;\n const requestMeta: RequestOptions[\"meta\"] = {\n ...(meta ?? {}),\n operationId,\n validation: metaValidation,\n };\n\n const res = await http.request({\n method,\n path,\n query,\n body: requestBody,\n querySerializer,\n signal,\n timeoutMs,\n meta: requestMeta,\n });\n\n if (!runtimeValidation.responses) {\n return res.data as T;\n }\n\n const parsedResponse = parseWithRegistry({ key: schemaKey, value: res.data, description });\n if (!parsedResponse.success) throw parsedResponse.error;\n return parsedResponse.data as T;\n}\n\nexport interface RequestVoidParams {\n operationId: string;\n method: HttpMethod;\n path: string;\n query?: Query;\n body?: unknown;\n querySerializer?: RequestOptions[\"querySerializer\"];\n signal?: RequestOptions[\"signal\"];\n timeoutMs?: RequestOptions[\"timeoutMs\"];\n requestSchemaKey?: SchemaKey;\n validation?: RuntimeValidationOption;\n meta?: RequestOptions[\"meta\"];\n}\n\nexport async function requestVoid(http: HttpClient, params: RequestVoidParams): Promise<void> {\n const { operationId, method, path, query, body, querySerializer, signal, timeoutMs, requestSchemaKey, validation, meta } = params;\n\n const runtimeValidation = mergeRuntimeValidation(http.getRuntimeValidationConfig(), validation);\n\n let requestBody = body;\n if (runtimeValidation.requests && requestSchemaKey && body !== undefined) {\n const parsedRequest = parseWithRegistry({\n key: requestSchemaKey,\n value: body,\n description: `${operationId} request`,\n skipOnMissingSchema: true,\n });\n if (!parsedRequest.success) {\n throw parsedRequest.error;\n }\n requestBody = parsedRequest.data;\n }\n\n const metaValidation = validation ?? meta?.validation;\n const requestMeta: RequestOptions[\"meta\"] = {\n ...(meta ?? {}),\n operationId,\n validation: metaValidation,\n };\n\n await http.request({\n method,\n path,\n query,\n body: requestBody,\n querySerializer,\n signal,\n timeoutMs,\n meta: requestMeta,\n });\n}\n","import { buildRequestQuery, normalizeRequestStatusResponse, type RequestStatusResult } from \"./request.helpers\";\nimport type { HttpClient, RequestOptions, RuntimeValidationOption } from \"../../core/http/http.types\";\nimport { requestJson, requestVoid } from \"../../core/http/operation.helper\";\nimport type { operations } from \"../../generated/openapi-types\";\nimport { ValidationError } from \"../../validation/zod.helpers\";\n\nconst OP_CREATE = \"RequestControllerV2_createRequest_v2\" as const;\nconst OP_PAYMENT_ROUTES = \"RequestControllerV2_getRequestPaymentRoutes_v2\" as const;\nconst OP_PAYMENT_CALLDATA = \"RequestControllerV2_getPaymentCalldata_v2\" as const;\nconst OP_UPDATE = \"RequestControllerV2_updateRequest_v2\" as const;\nconst OP_SEND_PAYMENT_INTENT = \"RequestControllerV2_sendPaymentIntent_v2\" as const;\nconst OP_REQUEST_STATUS = \"RequestControllerV2_getRequestStatus_v2\" as const;\n\ntype CreateRequestBody = operations[typeof OP_CREATE][\"requestBody\"][\"content\"][\"application/json\"];\ntype CreateRequestResponse = operations[typeof OP_CREATE][\"responses\"][201][\"content\"][\"application/json\"];\n\nexport type PaymentRoutesResponse = operations[typeof OP_PAYMENT_ROUTES][\"responses\"][200][\"content\"][\"application/json\"];\nexport type PaymentRoute = PaymentRoutesResponse[\"routes\"][number];\ntype PaymentRoutesQuery = NonNullable<operations[typeof OP_PAYMENT_ROUTES][\"parameters\"][\"query\"]>;\n\ntype PaymentCalldataQuery = NonNullable<operations[typeof OP_PAYMENT_CALLDATA][\"parameters\"][\"query\"]>;\ntype RawPaymentCalldata = operations[typeof OP_PAYMENT_CALLDATA][\"responses\"][200][\"content\"][\"application/json\"];\ntype RequestStatusResponse = operations[typeof OP_REQUEST_STATUS][\"responses\"][200][\"content\"][\"application/json\"];\n\ntype PaymentIntentPayload = Extract<RawPaymentCalldata, { paymentIntentId: string }>;\ntype CalldataPayload = Extract<RawPaymentCalldata, { transactions: unknown }>;\n\nconst KIND_CALLDATA = \"calldata\" as const;\nconst KIND_PAYMENT_INTENT = \"paymentIntent\" as const;\n\nfunction isPaymentIntentPayload(payload: RawPaymentCalldata): payload is PaymentIntentPayload {\n return \"paymentIntentId\" in payload;\n}\n\nfunction isCalldataPayload(payload: RawPaymentCalldata): payload is CalldataPayload {\n return \"transactions\" in payload;\n}\n\ntype SendPaymentIntentBody = operations[typeof OP_SEND_PAYMENT_INTENT][\"requestBody\"][\"content\"][\"application/json\"];\n\nexport interface RequestOperationOptions {\n signal?: AbortSignal;\n timeoutMs?: number;\n validation?: RuntimeValidationOption;\n meta?: RequestOptions[\"meta\"];\n}\n\nexport type GetPaymentRoutesOptions = RequestOperationOptions & {\n wallet: PaymentRoutesQuery[\"wallet\"];\n} & Partial<Omit<PaymentRoutesQuery, \"wallet\">>;\n\nexport type GetPaymentCalldataOptions = RequestOperationOptions & Partial<PaymentCalldataQuery>;\n\nexport type PaymentCalldataResult =\n | ({ kind: \"calldata\" } & CalldataPayload)\n | ({ kind: \"paymentIntent\" } & PaymentIntentPayload);\nexport type { RequestStatusResult };\n\nexport interface RequestsApi {\n create(body: CreateRequestBody, options?: RequestOperationOptions): Promise<CreateRequestResponse>;\n getPaymentRoutes(requestId: string, options: GetPaymentRoutesOptions): Promise<PaymentRoutesResponse>;\n getPaymentCalldata(requestId: string, options?: GetPaymentCalldataOptions): Promise<PaymentCalldataResult>;\n getRequestStatus(requestId: string, options?: RequestOperationOptions): Promise<RequestStatusResult>;\n update(requestId: string, options?: RequestOperationOptions): Promise<void>;\n sendPaymentIntent(paymentIntentId: string, body: SendPaymentIntentBody, options?: RequestOperationOptions): Promise<void>;\n}\n\nexport function createRequestsApi(http: HttpClient): RequestsApi {\n return {\n async create(body: CreateRequestBody, options?: RequestOperationOptions) {\n return requestJson<CreateRequestResponse>(http, {\n operationId: OP_CREATE,\n method: \"POST\",\n path: \"/v2/request\",\n body,\n requestSchemaKey: { operationId: OP_CREATE, kind: \"request\", variant: \"application/json\" },\n schemaKey: { operationId: OP_CREATE, kind: \"response\", status: 201 },\n description: \"Create request\",\n signal: options?.signal,\n timeoutMs: options?.timeoutMs,\n validation: options?.validation,\n meta: options?.meta,\n });\n },\n\n async getRequestStatus(requestId: string, options?: RequestOperationOptions) {\n const path = `/v2/request/${encodeURIComponent(requestId)}`;\n const raw = await requestJson<RequestStatusResponse>(http, {\n operationId: OP_REQUEST_STATUS,\n method: \"GET\",\n path,\n schemaKey: { operationId: OP_REQUEST_STATUS, kind: \"response\", status: 200 },\n description: \"Request status\",\n signal: options?.signal,\n timeoutMs: options?.timeoutMs,\n validation: options?.validation,\n meta: options?.meta,\n });\n\n return normalizeRequestStatusResponse(raw);\n },\n\n async getPaymentRoutes(requestId: string, options: GetPaymentRoutesOptions) {\n const path = `/v2/request/${encodeURIComponent(requestId)}/routes`;\n return requestJson<PaymentRoutesResponse>(http, {\n operationId: OP_PAYMENT_ROUTES,\n method: \"GET\",\n path,\n query: buildRequestQuery({\n wallet: options.wallet,\n amount: options.amount,\n feePercentage: options.feePercentage,\n feeAddress: options.feeAddress,\n }),\n schemaKey: { operationId: OP_PAYMENT_ROUTES, kind: \"response\", status: 200 },\n description: \"Payment routes\",\n signal: options.signal,\n timeoutMs: options.timeoutMs,\n validation: options.validation,\n meta: options.meta,\n });\n },\n\n async getPaymentCalldata(requestId: string, options?: GetPaymentCalldataOptions) {\n const path = `/v2/request/${encodeURIComponent(requestId)}/pay`;\n const queryInput: Record<string, unknown> = {\n wallet: options?.wallet,\n chain: options?.chain,\n token: options?.token,\n amount: options?.amount,\n clientUserId: options?.clientUserId,\n paymentDetailsId: options?.paymentDetailsId,\n feePercentage: options?.feePercentage,\n feeAddress: options?.feeAddress,\n };\n const raw = await requestJson<RawPaymentCalldata>(http, {\n operationId: OP_PAYMENT_CALLDATA,\n method: \"GET\",\n path,\n query: buildRequestQuery(queryInput),\n schemaKey: { operationId: OP_PAYMENT_CALLDATA, kind: \"response\", status: 200 },\n description: \"Payment calldata\",\n signal: options?.signal,\n timeoutMs: options?.timeoutMs,\n validation: options?.validation,\n meta: options?.meta,\n });\n\n if (isCalldataPayload(raw)) {\n return { kind: KIND_CALLDATA, ...raw };\n }\n if (isPaymentIntentPayload(raw)) {\n return { kind: KIND_PAYMENT_INTENT, ...raw };\n }\n\n throw new ValidationError(\"Unexpected payment calldata response\", raw);\n },\n\n async update(requestId: string, options?: RequestOperationOptions) {\n const path = `/v2/request/${encodeURIComponent(requestId)}`;\n await requestVoid(http, {\n operationId: OP_UPDATE,\n method: \"PATCH\",\n path,\n signal: options?.signal,\n timeoutMs: options?.timeoutMs,\n validation: options?.validation,\n meta: options?.meta,\n });\n },\n\n async sendPaymentIntent(paymentIntentId: string, body: SendPaymentIntentBody, options?: RequestOperationOptions) {\n const path = `/v2/request/payment-intents/${encodeURIComponent(paymentIntentId)}`;\n await requestVoid(http, {\n operationId: OP_SEND_PAYMENT_INTENT,\n method: \"POST\",\n path,\n body,\n requestSchemaKey: { operationId: OP_SEND_PAYMENT_INTENT, kind: \"request\", variant: \"application/json\" },\n signal: options?.signal,\n timeoutMs: options?.timeoutMs,\n validation: options?.validation,\n meta: options?.meta,\n });\n },\n };\n}\n","// Auto-generated by scripts/generate-zod.mjs. Do not edit.\nimport { z } from 'zod';\n\nimport { schemaRegistry } from '../../schema.registry';\n\nconst ErrorDetailSchema = z\n .object({\n message: z.string(),\n code: z.string().optional(),\n field: z.string().optional(),\n source: z\n .object({\n pointer: z.string().optional(),\n parameter: z.string().optional(),\n })\n .passthrough()\n .optional(),\n meta: z.record(z.unknown()).optional(),\n })\n .passthrough();\n\nconst ErrorEnvelopeSchema = z\n .object({\n status: z.number().optional(),\n statusCode: z.number().optional(),\n code: z.string().optional(),\n error: z.string().optional(),\n message: z\n .union([\n z.string(),\n z.array(z.union([z.string(), ErrorDetailSchema])),\n ErrorDetailSchema,\n ])\n .optional(),\n detail: z.unknown().optional(),\n errors: z.array(ErrorDetailSchema).optional(),\n requestId: z.string().optional(),\n correlationId: z.string().optional(),\n retryAfter: z.union([z.number(), z.string()]).optional(),\n retryAfterMs: z.number().optional(),\n meta: z.record(z.unknown()).optional(),\n })\n .passthrough();\n\n// POST /v1/request -> RequestControllerV1_createRequest_v1 request (application/json)\nexport const RequestControllerV1_createRequest_v1_Request = z.object({ \"payer\": (z.string()).optional(), \"payee\": z.string(), \"amount\": z.string(), \"invoiceCurrency\": z.string(), \"paymentCurrency\": z.string(), \"recurrence\": (z.object({ \"startDate\": z.string(), \"frequency\": z.enum(['DAILY', 'WEEKLY', 'MONTHLY', 'YEARLY']) }).passthrough()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_createRequest_v1', kind: 'request', variant: 'application/json' }, schema: RequestControllerV1_createRequest_v1_Request });\n\n// POST /v1/request -> RequestControllerV1_createRequest_v1 (201)\nexport const RequestControllerV1_createRequest_v1_201 = z.object({ \"paymentReference\": (z.string()).optional(), \"requestID\": (z.string()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_createRequest_v1', kind: 'response', status: 201 }, schema: RequestControllerV1_createRequest_v1_201 });\n\n// POST /v1/request -> RequestControllerV1_createRequest_v1 (400)\nexport const RequestControllerV1_createRequest_v1_400 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_createRequest_v1', kind: 'response', status: 400 }, schema: RequestControllerV1_createRequest_v1_400 });\n\n// POST /v1/request -> RequestControllerV1_createRequest_v1 (401)\nexport const RequestControllerV1_createRequest_v1_401 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_createRequest_v1', kind: 'response', status: 401 }, schema: RequestControllerV1_createRequest_v1_401 });\n\n// POST /v1/request -> RequestControllerV1_createRequest_v1 (404)\nexport const RequestControllerV1_createRequest_v1_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_createRequest_v1', kind: 'response', status: 404 }, schema: RequestControllerV1_createRequest_v1_404 });\n\n// POST /v1/request -> RequestControllerV1_createRequest_v1 (429)\nexport const RequestControllerV1_createRequest_v1_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_createRequest_v1', kind: 'response', status: 429 }, schema: RequestControllerV1_createRequest_v1_429 });\n\n// GET /v1/request/{paymentReference} -> RequestControllerV1_getRequestStatus_v1 (200)\nexport const RequestControllerV1_getRequestStatus_v1_200 = z.object({ \"hasBeenPaid\": (z.boolean()).optional(), \"paymentReference\": (z.string()).optional(), \"requestId\": (z.string()).optional(), \"isListening\": (z.boolean()).optional(), \"txHash\": (z.string().nullable()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestStatus_v1', kind: 'response', status: 200 }, schema: RequestControllerV1_getRequestStatus_v1_200 });\n\n// GET /v1/request/{paymentReference} -> RequestControllerV1_getRequestStatus_v1 (401)\nexport const RequestControllerV1_getRequestStatus_v1_401 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestStatus_v1', kind: 'response', status: 401 }, schema: RequestControllerV1_getRequestStatus_v1_401 });\n\n// GET /v1/request/{paymentReference} -> RequestControllerV1_getRequestStatus_v1 (404)\nexport const RequestControllerV1_getRequestStatus_v1_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestStatus_v1', kind: 'response', status: 404 }, schema: RequestControllerV1_getRequestStatus_v1_404 });\n\n// GET /v1/request/{paymentReference} -> RequestControllerV1_getRequestStatus_v1 (429)\nexport const RequestControllerV1_getRequestStatus_v1_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestStatus_v1', kind: 'response', status: 429 }, schema: RequestControllerV1_getRequestStatus_v1_429 });\n\n// PATCH /v1/request/{paymentReference}/stop-recurrence -> RequestControllerV1_stopRecurrenceRequest_v1 (200)\nexport const RequestControllerV1_stopRecurrenceRequest_v1_200 = z.unknown();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_stopRecurrenceRequest_v1', kind: 'response', status: 200 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_200 });\n\n// PATCH /v1/request/{paymentReference}/stop-recurrence -> RequestControllerV1_stopRecurrenceRequest_v1 (401)\nexport const RequestControllerV1_stopRecurrenceRequest_v1_401 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_stopRecurrenceRequest_v1', kind: 'response', status: 401 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_401 });\n\n// PATCH /v1/request/{paymentReference}/stop-recurrence -> RequestControllerV1_stopRecurrenceRequest_v1 (404)\nexport const RequestControllerV1_stopRecurrenceRequest_v1_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_stopRecurrenceRequest_v1', kind: 'response', status: 404 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_404 });\n\n// PATCH /v1/request/{paymentReference}/stop-recurrence -> RequestControllerV1_stopRecurrenceRequest_v1 (429)\nexport const RequestControllerV1_stopRecurrenceRequest_v1_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_stopRecurrenceRequest_v1', kind: 'response', status: 429 }, schema: RequestControllerV1_stopRecurrenceRequest_v1_429 });\n\n// GET /v1/request/{paymentReference}/pay -> RequestControllerV1_getPaymentCalldata_v1 (200)\nexport const RequestControllerV1_getPaymentCalldata_v1_200 = z.union([z.object({ \"transactions\": z.array(z.object({ \"data\": z.string(), \"to\": z.string(), \"value\": z.object({ \"type\": (z.enum(['BigNumber'])).optional(), \"hex\": (z.string()).optional() }).passthrough() }).passthrough()), \"metadata\": z.object({ \"stepsRequired\": z.number(), \"needsApproval\": z.boolean(), \"approvalTransactionIndex\": (z.number().nullable()).optional(), \"hasEnoughBalance\": z.boolean(), \"hasEnoughGas\": z.boolean() }).passthrough() }).passthrough(), z.object({ \"paymentIntentId\": z.string(), \"paymentIntent\": z.string(), \"approvalPermitPayload\": (z.string().nullable()).optional(), \"approvalCalldata\": (z.object({ \"to\": (z.string()).optional(), \"data\": (z.string()).optional(), \"value\": (z.string()).optional() }).passthrough().nullable()).optional(), \"metadata\": z.object({ \"supportsEIP2612\": z.boolean() }).passthrough() }).passthrough()]);\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getPaymentCalldata_v1', kind: 'response', status: 200 }, schema: RequestControllerV1_getPaymentCalldata_v1_200 });\n\n// GET /v1/request/{paymentReference}/pay -> RequestControllerV1_getPaymentCalldata_v1 (400)\nexport const RequestControllerV1_getPaymentCalldata_v1_400 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getPaymentCalldata_v1', kind: 'response', status: 400 }, schema: RequestControllerV1_getPaymentCalldata_v1_400 });\n\n// GET /v1/request/{paymentReference}/pay -> RequestControllerV1_getPaymentCalldata_v1 (401)\nexport const RequestControllerV1_getPaymentCalldata_v1_401 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getPaymentCalldata_v1', kind: 'response', status: 401 }, schema: RequestControllerV1_getPaymentCalldata_v1_401 });\n\n// GET /v1/request/{paymentReference}/pay -> RequestControllerV1_getPaymentCalldata_v1 (404)\nexport const RequestControllerV1_getPaymentCalldata_v1_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getPaymentCalldata_v1', kind: 'response', status: 404 }, schema: RequestControllerV1_getPaymentCalldata_v1_404 });\n\n// GET /v1/request/{paymentReference}/pay -> RequestControllerV1_getPaymentCalldata_v1 (429)\nexport const RequestControllerV1_getPaymentCalldata_v1_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getPaymentCalldata_v1', kind: 'response', status: 429 }, schema: RequestControllerV1_getPaymentCalldata_v1_429 });\n\n// GET /v1/request/{paymentReference}/routes -> RequestControllerV1_getRequestPaymentRoutes_v1 (200)\nexport const RequestControllerV1_getRequestPaymentRoutes_v1_200 = z.object({ \"routes\": z.array(z.object({ \"id\": z.string(), \"fee\": z.number(), \"feeBreakdown\": (z.array(z.object({ \"type\": (z.enum(['gas', 'platform', 'crosschain', 'crypto-to-fiat', 'offramp'])).optional(), \"stage\": (z.enum(['sending', 'receiving', 'proxying', 'refunding', 'overall'])).optional(), \"provider\": (z.string()).optional(), \"amount\": (z.string()).optional(), \"amountInUSD\": (z.string()).optional(), \"currency\": (z.string()).optional(), \"receiverAddress\": (z.string()).optional(), \"network\": (z.string()).optional(), \"rateProvider\": (z.string()).optional() }).passthrough())).optional(), \"speed\": z.union([z.string(), z.number()]), \"price_impact\": (z.number()).optional(), \"chain\": z.string(), \"token\": z.string() }).passthrough()) }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestPaymentRoutes_v1', kind: 'response', status: 200 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_200 });\n\n// GET /v1/request/{paymentReference}/routes -> RequestControllerV1_getRequestPaymentRoutes_v1 (400)\nexport const RequestControllerV1_getRequestPaymentRoutes_v1_400 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestPaymentRoutes_v1', kind: 'response', status: 400 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_400 });\n\n// GET /v1/request/{paymentReference}/routes -> RequestControllerV1_getRequestPaymentRoutes_v1 (401)\nexport const RequestControllerV1_getRequestPaymentRoutes_v1_401 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestPaymentRoutes_v1', kind: 'response', status: 401 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_401 });\n\n// GET /v1/request/{paymentReference}/routes -> RequestControllerV1_getRequestPaymentRoutes_v1 (404)\nexport const RequestControllerV1_getRequestPaymentRoutes_v1_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestPaymentRoutes_v1', kind: 'response', status: 404 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_404 });\n\n// GET /v1/request/{paymentReference}/routes -> RequestControllerV1_getRequestPaymentRoutes_v1 (429)\nexport const RequestControllerV1_getRequestPaymentRoutes_v1_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_getRequestPaymentRoutes_v1', kind: 'response', status: 429 }, schema: RequestControllerV1_getRequestPaymentRoutes_v1_429 });\n\n// POST /v1/request/{paymentIntentId}/send -> RequestControllerV1_sendPaymentIntent_v1 request (application/json)\nexport const RequestControllerV1_sendPaymentIntent_v1_Request = z.object({ \"signedPaymentIntent\": z.object({ \"signature\": z.string(), \"nonce\": z.string(), \"deadline\": z.string() }).passthrough(), \"signedApprovalPermit\": (z.object({ \"signature\": z.string(), \"nonce\": z.string(), \"deadline\": z.string() }).passthrough()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_sendPaymentIntent_v1', kind: 'request', variant: 'application/json' }, schema: RequestControllerV1_sendPaymentIntent_v1_Request });\n\n// POST /v1/request/{paymentIntentId}/send -> RequestControllerV1_sendPaymentIntent_v1 (401)\nexport const RequestControllerV1_sendPaymentIntent_v1_401 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_sendPaymentIntent_v1', kind: 'response', status: 401 }, schema: RequestControllerV1_sendPaymentIntent_v1_401 });\n\n// POST /v1/request/{paymentIntentId}/send -> RequestControllerV1_sendPaymentIntent_v1 (404)\nexport const RequestControllerV1_sendPaymentIntent_v1_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_sendPaymentIntent_v1', kind: 'response', status: 404 }, schema: RequestControllerV1_sendPaymentIntent_v1_404 });\n\n// POST /v1/request/{paymentIntentId}/send -> RequestControllerV1_sendPaymentIntent_v1 (429)\nexport const RequestControllerV1_sendPaymentIntent_v1_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV1_sendPaymentIntent_v1', kind: 'response', status: 429 }, schema: RequestControllerV1_sendPaymentIntent_v1_429 });\n\n// POST /v2/request -> RequestControllerV2_createRequest_v2 request (application/json)\nexport const RequestControllerV2_createRequest_v2_Request = z.object({ \"payer\": (z.string()).optional(), \"payee\": (z.string()).optional(), \"amount\": z.string(), \"invoiceCurrency\": z.string(), \"paymentCurrency\": z.string(), \"recurrence\": (z.object({ \"startDate\": z.string(), \"frequency\": z.enum(['DAILY', 'WEEKLY', 'MONTHLY', 'YEARLY']) }).passthrough()).optional(), \"isCryptoToFiatAvailable\": (z.boolean()).optional(), \"customerInfo\": (z.object({ \"firstName\": (z.string()).optional(), \"lastName\": (z.string()).optional(), \"email\": (z.string()).optional(), \"address\": (z.object({ \"street\": (z.string()).optional(), \"city\": (z.string()).optional(), \"state\": (z.string()).optional(), \"postalCode\": (z.string()).optional(), \"country\": (z.string()).optional() }).passthrough()).optional() }).passthrough()).optional(), \"reference\": (z.string()).optional(), \"originalRequestId\": (z.string()).optional(), \"originalRequestPaymentReference\": (z.string()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_createRequest_v2', kind: 'request', variant: 'application/json' }, schema: RequestControllerV2_createRequest_v2_Request });\n\n// POST /v2/request -> RequestControllerV2_createRequest_v2 (201)\nexport const RequestControllerV2_createRequest_v2_201 = z.object({ \"paymentReference\": (z.string()).optional(), \"requestId\": (z.string()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_createRequest_v2', kind: 'response', status: 201 }, schema: RequestControllerV2_createRequest_v2_201 });\n\n// POST /v2/request -> RequestControllerV2_createRequest_v2 (400)\nexport const RequestControllerV2_createRequest_v2_400 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_createRequest_v2', kind: 'response', status: 400 }, schema: RequestControllerV2_createRequest_v2_400 });\n\n// POST /v2/request -> RequestControllerV2_createRequest_v2 (404)\nexport const RequestControllerV2_createRequest_v2_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_createRequest_v2', kind: 'response', status: 404 }, schema: RequestControllerV2_createRequest_v2_404 });\n\n// POST /v2/request -> RequestControllerV2_createRequest_v2 (429)\nexport const RequestControllerV2_createRequest_v2_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_createRequest_v2', kind: 'response', status: 429 }, schema: RequestControllerV2_createRequest_v2_429 });\n\n// GET /v2/request/{requestId} -> RequestControllerV2_getRequestStatus_v2 (200)\nexport const RequestControllerV2_getRequestStatus_v2_200 = z.object({ \"hasBeenPaid\": (z.boolean()).optional(), \"paymentReference\": (z.string()).optional(), \"requestId\": (z.string()).optional(), \"isListening\": (z.boolean()).optional(), \"txHash\": (z.string().nullable()).optional(), \"recurrence\": (z.object({ }).passthrough()).optional(), \"originalRequestId\": (z.string()).optional(), \"status\": (z.string()).optional(), \"isCryptoToFiatAvailable\": (z.boolean()).optional(), \"originalRequestPaymentReference\": (z.string()).optional(), \"payments\": (z.array(z.object({ }).passthrough())).optional(), \"isRecurrenceStopped\": (z.boolean()).optional(), \"customerInfo\": (z.object({ \"firstName\": (z.string()).optional(), \"lastName\": (z.string()).optional(), \"email\": (z.string()).optional(), \"address\": (z.object({ \"street\": (z.string()).optional(), \"city\": (z.string()).optional(), \"state\": (z.string()).optional(), \"postalCode\": (z.string()).optional(), \"country\": (z.string()).optional() }).passthrough()).optional() }).passthrough().nullable()).optional(), \"reference\": (z.string().nullable()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getRequestStatus_v2', kind: 'response', status: 200 }, schema: RequestControllerV2_getRequestStatus_v2_200 });\n\n// GET /v2/request/{requestId} -> RequestControllerV2_getRequestStatus_v2 (404)\nexport const RequestControllerV2_getRequestStatus_v2_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getRequestStatus_v2', kind: 'response', status: 404 }, schema: RequestControllerV2_getRequestStatus_v2_404 });\n\n// GET /v2/request/{requestId} -> RequestControllerV2_getRequestStatus_v2 (429)\nexport const RequestControllerV2_getRequestStatus_v2_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getRequestStatus_v2', kind: 'response', status: 429 }, schema: RequestControllerV2_getRequestStatus_v2_429 });\n\n// PATCH /v2/request/{requestId} -> RequestControllerV2_updateRequest_v2 (200)\nexport const RequestControllerV2_updateRequest_v2_200 = z.unknown();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_updateRequest_v2', kind: 'response', status: 200 }, schema: RequestControllerV2_updateRequest_v2_200 });\n\n// PATCH /v2/request/{requestId} -> RequestControllerV2_updateRequest_v2 (404)\nexport const RequestControllerV2_updateRequest_v2_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_updateRequest_v2', kind: 'response', status: 404 }, schema: RequestControllerV2_updateRequest_v2_404 });\n\n// PATCH /v2/request/{requestId} -> RequestControllerV2_updateRequest_v2 (429)\nexport const RequestControllerV2_updateRequest_v2_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_updateRequest_v2', kind: 'response', status: 429 }, schema: RequestControllerV2_updateRequest_v2_429 });\n\n// GET /v2/request/{requestId}/pay -> RequestControllerV2_getPaymentCalldata_v2 (200)\nexport const RequestControllerV2_getPaymentCalldata_v2_200 = z.union([z.object({ \"transactions\": z.array(z.object({ \"data\": z.string(), \"to\": z.string(), \"value\": z.object({ \"type\": (z.enum(['BigNumber'])).optional(), \"hex\": (z.string()).optional() }).passthrough() }).passthrough()), \"metadata\": z.object({ \"stepsRequired\": z.number(), \"needsApproval\": z.boolean(), \"approvalTransactionIndex\": (z.number().nullable()).optional(), \"hasEnoughBalance\": z.boolean(), \"hasEnoughGas\": z.boolean() }).passthrough() }).passthrough(), z.object({ \"paymentIntentId\": z.string(), \"paymentIntent\": z.string(), \"approvalPermitPayload\": (z.string().nullable()).optional(), \"approvalCalldata\": (z.object({ \"to\": (z.string()).optional(), \"data\": (z.string()).optional(), \"value\": (z.string()).optional() }).passthrough().nullable()).optional(), \"metadata\": z.object({ \"supportsEIP2612\": z.boolean() }).passthrough() }).passthrough()]);\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getPaymentCalldata_v2', kind: 'response', status: 200 }, schema: RequestControllerV2_getPaymentCalldata_v2_200 });\n\n// GET /v2/request/{requestId}/pay -> RequestControllerV2_getPaymentCalldata_v2 (400)\nexport const RequestControllerV2_getPaymentCalldata_v2_400 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getPaymentCalldata_v2', kind: 'response', status: 400 }, schema: RequestControllerV2_getPaymentCalldata_v2_400 });\n\n// GET /v2/request/{requestId}/pay -> RequestControllerV2_getPaymentCalldata_v2 (404)\nexport const RequestControllerV2_getPaymentCalldata_v2_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getPaymentCalldata_v2', kind: 'response', status: 404 }, schema: RequestControllerV2_getPaymentCalldata_v2_404 });\n\n// GET /v2/request/{requestId}/pay -> RequestControllerV2_getPaymentCalldata_v2 (429)\nexport const RequestControllerV2_getPaymentCalldata_v2_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getPaymentCalldata_v2', kind: 'response', status: 429 }, schema: RequestControllerV2_getPaymentCalldata_v2_429 });\n\n// GET /v2/request/{requestId}/routes -> RequestControllerV2_getRequestPaymentRoutes_v2 (200)\nexport const RequestControllerV2_getRequestPaymentRoutes_v2_200 = z.object({ \"routes\": z.array(z.object({ \"id\": z.string(), \"fee\": z.number(), \"feeBreakdown\": (z.array(z.object({ \"type\": (z.enum(['gas', 'platform', 'crosschain', 'crypto-to-fiat', 'offramp'])).optional(), \"stage\": (z.enum(['sending', 'receiving', 'proxying', 'refunding', 'overall'])).optional(), \"provider\": (z.string()).optional(), \"amount\": (z.string()).optional(), \"amountInUSD\": (z.string()).optional(), \"currency\": (z.string()).optional(), \"receiverAddress\": (z.string()).optional(), \"network\": (z.string()).optional(), \"rateProvider\": (z.string()).optional() }).passthrough())).optional(), \"speed\": z.union([z.string(), z.number()]), \"price_impact\": (z.number()).optional(), \"chain\": z.string(), \"token\": z.string() }).passthrough()) }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getRequestPaymentRoutes_v2', kind: 'response', status: 200 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_200 });\n\n// GET /v2/request/{requestId}/routes -> RequestControllerV2_getRequestPaymentRoutes_v2 (400)\nexport const RequestControllerV2_getRequestPaymentRoutes_v2_400 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getRequestPaymentRoutes_v2', kind: 'response', status: 400 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_400 });\n\n// GET /v2/request/{requestId}/routes -> RequestControllerV2_getRequestPaymentRoutes_v2 (404)\nexport const RequestControllerV2_getRequestPaymentRoutes_v2_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getRequestPaymentRoutes_v2', kind: 'response', status: 404 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_404 });\n\n// GET /v2/request/{requestId}/routes -> RequestControllerV2_getRequestPaymentRoutes_v2 (429)\nexport const RequestControllerV2_getRequestPaymentRoutes_v2_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_getRequestPaymentRoutes_v2', kind: 'response', status: 429 }, schema: RequestControllerV2_getRequestPaymentRoutes_v2_429 });\n\n// POST /v2/request/payment-intents/{paymentIntentId} -> RequestControllerV2_sendPaymentIntent_v2 request (application/json)\nexport const RequestControllerV2_sendPaymentIntent_v2_Request = z.object({ \"signedPaymentIntent\": z.object({ \"signature\": z.string(), \"nonce\": z.string(), \"deadline\": z.string() }).passthrough(), \"signedApprovalPermit\": (z.object({ \"signature\": z.string(), \"nonce\": z.string(), \"deadline\": z.string() }).passthrough()).optional() }).passthrough();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_sendPaymentIntent_v2', kind: 'request', variant: 'application/json' }, schema: RequestControllerV2_sendPaymentIntent_v2_Request });\n\n// POST /v2/request/payment-intents/{paymentIntentId} -> RequestControllerV2_sendPaymentIntent_v2 (200)\nexport const RequestControllerV2_sendPaymentIntent_v2_200 = z.unknown();\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_sendPaymentIntent_v2', kind: 'response', status: 200 }, schema: RequestControllerV2_sendPaymentIntent_v2_200 });\n\n// POST /v2/request/payment-intents/{paymentIntentId} -> RequestControllerV2_sendPaymentIntent_v2 (404)\nexport const RequestControllerV2_sendPaymentIntent_v2_404 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_sendPaymentIntent_v2', kind: 'response', status: 404 }, schema: RequestControllerV2_sendPaymentIntent_v2_404 });\n\n// POST /v2/request/payment-intents/{paymentIntentId} -> RequestControllerV2_sendPaymentIntent_v2 (429)\nexport const RequestControllerV2_sendPaymentIntent_v2_429 = ErrorEnvelopeSchema;\nschemaRegistry.register({ key: { operationId: 'RequestControllerV2_sendPaymentIntent_v2', kind: 'response', status: 429 }, schema: RequestControllerV2_sendPaymentIntent_v2_429 });\n","import { z } from \"zod\";\n\nimport { RequestControllerV2_getRequestStatus_v2_200 as BaseRequestStatusSchema } from \"../generated/groups/request.schemas.generated\";\nimport { schemaRegistry } from \"../schema.registry\";\n\nconst NullableRequestStatusSchema = z.preprocess((value) => {\n if (!value || typeof value !== \"object\") {\n return value;\n }\n\n const next = { ...value } as Record<string, unknown>;\n\n if (next.recurrence === null) {\n delete next.recurrence;\n }\n\n if (next.originalRequestId === null) {\n next.originalRequestId = undefined;\n }\n\n if (next.originalRequestPaymentReference === null) {\n next.originalRequestPaymentReference = undefined;\n }\n\n return next;\n}, BaseRequestStatusSchema);\n\nschemaRegistry.register({\n key: { operationId: \"RequestControllerV2_getRequestStatus_v2\", kind: \"response\", status: 200 },\n schema: NullableRequestStatusSchema,\n});\n","import { z } from \"zod\";\n\nimport { schemaRegistry } from \"../schema.registry\";\n\nconst FlexibleRoutesSchema = z\n .object({\n routes: z.array(\n z\n .object({\n fee: z.union([z.number(), z.string()]).optional(),\n })\n .passthrough(),\n ),\n })\n .passthrough();\n\nschemaRegistry.register({\n key: { operationId: \"RequestControllerV2_getRequestPaymentRoutes_v2\", kind: \"response\", status: 200 },\n schema: FlexibleRoutesSchema,\n});\n"]}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { o as operations, a as RuntimeValidationOption, c as RequestOptions, b as HttpClient } from './openapi-types-CtUFCrk4.mjs';
|
|
2
|
+
|
|
3
|
+
interface RequestStatusAddress {
|
|
4
|
+
street?: string;
|
|
5
|
+
city?: string;
|
|
6
|
+
state?: string;
|
|
7
|
+
postalCode?: string;
|
|
8
|
+
country?: string;
|
|
9
|
+
}
|
|
10
|
+
interface RequestStatusCustomerInfo {
|
|
11
|
+
firstName?: string;
|
|
12
|
+
lastName?: string;
|
|
13
|
+
email?: string;
|
|
14
|
+
address?: RequestStatusAddress;
|
|
15
|
+
}
|
|
16
|
+
type RequestStatusKind = "paid" | "pending" | "cancelled" | "overdue" | "unknown";
|
|
17
|
+
interface RequestStatusBase {
|
|
18
|
+
paymentReference?: string;
|
|
19
|
+
requestId?: string;
|
|
20
|
+
isListening?: boolean;
|
|
21
|
+
txHash: string | null;
|
|
22
|
+
status?: string;
|
|
23
|
+
recurrence?: Record<string, unknown>;
|
|
24
|
+
originalRequestId?: string;
|
|
25
|
+
originalRequestPaymentReference?: string;
|
|
26
|
+
isRecurrenceStopped?: boolean;
|
|
27
|
+
isCryptoToFiatAvailable?: boolean;
|
|
28
|
+
payments?: Array<Record<string, unknown>>;
|
|
29
|
+
customerInfo?: RequestStatusCustomerInfo | null;
|
|
30
|
+
reference?: string | null;
|
|
31
|
+
hasBeenPaid?: boolean;
|
|
32
|
+
}
|
|
33
|
+
type RequestStatusResult = (RequestStatusBase & {
|
|
34
|
+
kind: "paid";
|
|
35
|
+
hasBeenPaid: true;
|
|
36
|
+
}) | (RequestStatusBase & {
|
|
37
|
+
kind: "pending";
|
|
38
|
+
hasBeenPaid?: boolean;
|
|
39
|
+
}) | (RequestStatusBase & {
|
|
40
|
+
kind: "cancelled";
|
|
41
|
+
hasBeenPaid?: boolean;
|
|
42
|
+
}) | (RequestStatusBase & {
|
|
43
|
+
kind: "overdue";
|
|
44
|
+
hasBeenPaid?: boolean;
|
|
45
|
+
}) | (RequestStatusBase & {
|
|
46
|
+
kind: "unknown";
|
|
47
|
+
hasBeenPaid?: boolean;
|
|
48
|
+
});
|
|
49
|
+
type LegacyRequestStatusResult = Extract<RequestStatusResult, {
|
|
50
|
+
kind: "paid" | "pending";
|
|
51
|
+
}>;
|
|
52
|
+
|
|
53
|
+
declare const OP_CREATE: "RequestControllerV2_createRequest_v2";
|
|
54
|
+
declare const OP_PAYMENT_ROUTES: "RequestControllerV2_getRequestPaymentRoutes_v2";
|
|
55
|
+
declare const OP_PAYMENT_CALLDATA: "RequestControllerV2_getPaymentCalldata_v2";
|
|
56
|
+
declare const OP_SEND_PAYMENT_INTENT: "RequestControllerV2_sendPaymentIntent_v2";
|
|
57
|
+
type CreateRequestBody = operations[typeof OP_CREATE]["requestBody"]["content"]["application/json"];
|
|
58
|
+
type CreateRequestResponse = operations[typeof OP_CREATE]["responses"][201]["content"]["application/json"];
|
|
59
|
+
type PaymentRoutesResponse = operations[typeof OP_PAYMENT_ROUTES]["responses"][200]["content"]["application/json"];
|
|
60
|
+
type PaymentRoute = PaymentRoutesResponse["routes"][number];
|
|
61
|
+
type PaymentRoutesQuery = NonNullable<operations[typeof OP_PAYMENT_ROUTES]["parameters"]["query"]>;
|
|
62
|
+
type PaymentCalldataQuery = NonNullable<operations[typeof OP_PAYMENT_CALLDATA]["parameters"]["query"]>;
|
|
63
|
+
type RawPaymentCalldata = operations[typeof OP_PAYMENT_CALLDATA]["responses"][200]["content"]["application/json"];
|
|
64
|
+
type PaymentIntentPayload = Extract<RawPaymentCalldata, {
|
|
65
|
+
paymentIntentId: string;
|
|
66
|
+
}>;
|
|
67
|
+
type CalldataPayload = Extract<RawPaymentCalldata, {
|
|
68
|
+
transactions: unknown;
|
|
69
|
+
}>;
|
|
70
|
+
type SendPaymentIntentBody = operations[typeof OP_SEND_PAYMENT_INTENT]["requestBody"]["content"]["application/json"];
|
|
71
|
+
interface RequestOperationOptions {
|
|
72
|
+
signal?: AbortSignal;
|
|
73
|
+
timeoutMs?: number;
|
|
74
|
+
validation?: RuntimeValidationOption;
|
|
75
|
+
meta?: RequestOptions["meta"];
|
|
76
|
+
}
|
|
77
|
+
type GetPaymentRoutesOptions = RequestOperationOptions & {
|
|
78
|
+
wallet: PaymentRoutesQuery["wallet"];
|
|
79
|
+
} & Partial<Omit<PaymentRoutesQuery, "wallet">>;
|
|
80
|
+
type GetPaymentCalldataOptions = RequestOperationOptions & Partial<PaymentCalldataQuery>;
|
|
81
|
+
type PaymentCalldataResult = ({
|
|
82
|
+
kind: "calldata";
|
|
83
|
+
} & CalldataPayload) | ({
|
|
84
|
+
kind: "paymentIntent";
|
|
85
|
+
} & PaymentIntentPayload);
|
|
86
|
+
|
|
87
|
+
interface RequestsApi {
|
|
88
|
+
create(body: CreateRequestBody, options?: RequestOperationOptions): Promise<CreateRequestResponse>;
|
|
89
|
+
getPaymentRoutes(requestId: string, options: GetPaymentRoutesOptions): Promise<PaymentRoutesResponse>;
|
|
90
|
+
getPaymentCalldata(requestId: string, options?: GetPaymentCalldataOptions): Promise<PaymentCalldataResult>;
|
|
91
|
+
getRequestStatus(requestId: string, options?: RequestOperationOptions): Promise<RequestStatusResult>;
|
|
92
|
+
update(requestId: string, options?: RequestOperationOptions): Promise<void>;
|
|
93
|
+
sendPaymentIntent(paymentIntentId: string, body: SendPaymentIntentBody, options?: RequestOperationOptions): Promise<void>;
|
|
94
|
+
}
|
|
95
|
+
declare function createRequestsApi(http: HttpClient): RequestsApi;
|
|
96
|
+
|
|
97
|
+
type index_GetPaymentCalldataOptions = GetPaymentCalldataOptions;
|
|
98
|
+
type index_GetPaymentRoutesOptions = GetPaymentRoutesOptions;
|
|
99
|
+
type index_PaymentCalldataResult = PaymentCalldataResult;
|
|
100
|
+
type index_PaymentRoute = PaymentRoute;
|
|
101
|
+
type index_PaymentRoutesResponse = PaymentRoutesResponse;
|
|
102
|
+
type index_RequestOperationOptions = RequestOperationOptions;
|
|
103
|
+
type index_RequestStatusAddress = RequestStatusAddress;
|
|
104
|
+
type index_RequestStatusCustomerInfo = RequestStatusCustomerInfo;
|
|
105
|
+
type index_RequestStatusKind = RequestStatusKind;
|
|
106
|
+
type index_RequestStatusResult = RequestStatusResult;
|
|
107
|
+
type index_RequestsApi = RequestsApi;
|
|
108
|
+
declare const index_createRequestsApi: typeof createRequestsApi;
|
|
109
|
+
declare namespace index {
|
|
110
|
+
export { type index_GetPaymentCalldataOptions as GetPaymentCalldataOptions, type index_GetPaymentRoutesOptions as GetPaymentRoutesOptions, type index_PaymentCalldataResult as PaymentCalldataResult, type index_PaymentRoute as PaymentRoute, type index_PaymentRoutesResponse as PaymentRoutesResponse, type index_RequestOperationOptions as RequestOperationOptions, type index_RequestStatusAddress as RequestStatusAddress, type index_RequestStatusCustomerInfo as RequestStatusCustomerInfo, type index_RequestStatusKind as RequestStatusKind, type index_RequestStatusResult as RequestStatusResult, type index_RequestsApi as RequestsApi, index_createRequestsApi as createRequestsApi };
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export { type GetPaymentCalldataOptions as G, type LegacyRequestStatusResult as L, type PaymentCalldataResult as P, type RequestsApi as R, type PaymentRoutesResponse as a, type PaymentRoute as b, type RequestStatusResult as c, createRequestsApi as d, type RequestOperationOptions as e, type GetPaymentRoutesOptions as f, type RequestStatusKind as g, type RequestStatusCustomerInfo as h, index as i, type RequestStatusAddress as j };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { o as operations, b as HttpClient } from './openapi-types-CtUFCrk4.mjs';
|
|
2
|
+
|
|
3
|
+
type ClientIdListResponse = operations["ClientIdV2Controller_findAll_v2"]["responses"][200]["content"]["application/json"];
|
|
4
|
+
type ClientIdCreateBody = operations["ClientIdV2Controller_create_v2"]["requestBody"]["content"]["application/json"];
|
|
5
|
+
type ClientIdResponse = operations["ClientIdV2Controller_findOne_v2"]["responses"][200]["content"]["application/json"];
|
|
6
|
+
type ClientIdUpdateBody = operations["ClientIdV2Controller_update_v2"]["requestBody"]["content"]["application/json"];
|
|
7
|
+
interface ClientIdsApi {
|
|
8
|
+
list(): Promise<ClientIdListResponse>;
|
|
9
|
+
create(body: ClientIdCreateBody): Promise<ClientIdResponse>;
|
|
10
|
+
findOne(id: string): Promise<ClientIdResponse>;
|
|
11
|
+
update(id: string, body: ClientIdUpdateBody): Promise<ClientIdResponse>;
|
|
12
|
+
revoke(id: string): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
declare function createClientIdsApi(http: HttpClient): ClientIdsApi;
|
|
15
|
+
|
|
16
|
+
type index_ClientIdCreateBody = ClientIdCreateBody;
|
|
17
|
+
type index_ClientIdListResponse = ClientIdListResponse;
|
|
18
|
+
type index_ClientIdResponse = ClientIdResponse;
|
|
19
|
+
type index_ClientIdUpdateBody = ClientIdUpdateBody;
|
|
20
|
+
type index_ClientIdsApi = ClientIdsApi;
|
|
21
|
+
declare const index_createClientIdsApi: typeof createClientIdsApi;
|
|
22
|
+
declare namespace index {
|
|
23
|
+
export { type index_ClientIdCreateBody as ClientIdCreateBody, type index_ClientIdListResponse as ClientIdListResponse, type index_ClientIdResponse as ClientIdResponse, type index_ClientIdUpdateBody as ClientIdUpdateBody, type index_ClientIdsApi as ClientIdsApi, index_createClientIdsApi as createClientIdsApi };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { type ClientIdsApi as C, type ClientIdResponse as a, type ClientIdListResponse as b, createClientIdsApi as c, type ClientIdCreateBody as d, type ClientIdUpdateBody as e, index as i };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { o as operations, a as RuntimeValidationOption, c as RequestOptions, b as HttpClient } from './openapi-types-CtUFCrk4.mjs';
|
|
2
|
+
|
|
3
|
+
declare const OP_CREATE: "PayoutV2Controller_payRequest_v2";
|
|
4
|
+
declare const OP_CREATE_BATCH: "PayoutV2Controller_payBatchRequest_v2";
|
|
5
|
+
declare const OP_RECURRING_STATUS: "PayoutV2Controller_getRecurringPaymentStatus_v2";
|
|
6
|
+
declare const OP_SUBMIT_SIGNATURE: "PayoutV2Controller_submitRecurringPaymentSignature_v2";
|
|
7
|
+
declare const OP_UPDATE_RECURRING: "PayoutV2Controller_updateRecurringPayment_v2";
|
|
8
|
+
type CreatePayoutBody = operations[typeof OP_CREATE]["requestBody"]["content"]["application/json"];
|
|
9
|
+
type CreatePayoutResponse = operations[typeof OP_CREATE]["responses"][201]["content"]["application/json"];
|
|
10
|
+
type CreateBatchBody = operations[typeof OP_CREATE_BATCH]["requestBody"]["content"]["application/json"];
|
|
11
|
+
type CreateBatchResponse = operations[typeof OP_CREATE_BATCH]["responses"][201]["content"]["application/json"];
|
|
12
|
+
type RecurringStatusResponse = operations[typeof OP_RECURRING_STATUS]["responses"][200]["content"]["application/json"];
|
|
13
|
+
type SubmitRecurringSignatureBody = operations[typeof OP_SUBMIT_SIGNATURE]["requestBody"]["content"]["application/json"];
|
|
14
|
+
type SubmitRecurringSignatureResponse = operations[typeof OP_SUBMIT_SIGNATURE]["responses"][201]["content"]["application/json"];
|
|
15
|
+
type UpdateRecurringBody = operations[typeof OP_UPDATE_RECURRING]["requestBody"]["content"]["application/json"];
|
|
16
|
+
type UpdateRecurringResponse = operations[typeof OP_UPDATE_RECURRING]["responses"][200]["content"]["application/json"];
|
|
17
|
+
interface PayoutOperationOptions {
|
|
18
|
+
signal?: AbortSignal;
|
|
19
|
+
timeoutMs?: number;
|
|
20
|
+
validation?: RuntimeValidationOption;
|
|
21
|
+
meta?: RequestOptions["meta"];
|
|
22
|
+
}
|
|
23
|
+
interface PayoutsApi {
|
|
24
|
+
create(body: CreatePayoutBody, options?: PayoutOperationOptions): Promise<CreatePayoutResponse>;
|
|
25
|
+
createBatch(body: CreateBatchBody, options?: PayoutOperationOptions): Promise<CreateBatchResponse>;
|
|
26
|
+
getRecurringStatus(recurringId: string, options?: PayoutOperationOptions): Promise<RecurringStatusResponse>;
|
|
27
|
+
submitRecurringSignature(recurringId: string, body: SubmitRecurringSignatureBody, options?: PayoutOperationOptions): Promise<SubmitRecurringSignatureResponse>;
|
|
28
|
+
updateRecurring(recurringId: string, body: UpdateRecurringBody, options?: PayoutOperationOptions): Promise<UpdateRecurringResponse>;
|
|
29
|
+
}
|
|
30
|
+
declare function createPayoutsApi(http: HttpClient): PayoutsApi;
|
|
31
|
+
|
|
32
|
+
type index_PayoutOperationOptions = PayoutOperationOptions;
|
|
33
|
+
type index_PayoutsApi = PayoutsApi;
|
|
34
|
+
declare const index_createPayoutsApi: typeof createPayoutsApi;
|
|
35
|
+
declare namespace index {
|
|
36
|
+
export { type index_PayoutOperationOptions as PayoutOperationOptions, type index_PayoutsApi as PayoutsApi, index_createPayoutsApi as createPayoutsApi };
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { type PayoutsApi as P, type PayoutOperationOptions as a, createPayoutsApi as c, index as i };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { o as operations, a as RuntimeValidationOption, c as RequestOptions, b as HttpClient } from './openapi-types-CtUFCrk4.mjs';
|
|
2
|
+
|
|
3
|
+
declare const OP_CREATE_COMPLIANCE$1: "PayerV1Controller_getComplianceData_v1";
|
|
4
|
+
declare const OP_GET_STATUS$1: "PayerV1Controller_getComplianceStatus_v1";
|
|
5
|
+
declare const OP_UPDATE_STATUS$1: "PayerV1Controller_updateComplianceStatus_v1";
|
|
6
|
+
declare const OP_CREATE_PAYMENT_DETAILS$1: "PayerV1Controller_createPaymentDetails_v1";
|
|
7
|
+
declare const OP_GET_PAYMENT_DETAILS$1: "PayerV1Controller_getPaymentDetails_v1";
|
|
8
|
+
type CreateComplianceBody$1 = operations[typeof OP_CREATE_COMPLIANCE$1]["requestBody"]["content"]["application/json"];
|
|
9
|
+
type CreateComplianceResponse$1 = operations[typeof OP_CREATE_COMPLIANCE$1]["responses"][200]["content"]["application/json"];
|
|
10
|
+
type ComplianceStatusResponse$1 = operations[typeof OP_GET_STATUS$1]["responses"][200]["content"]["application/json"];
|
|
11
|
+
type UpdateComplianceBody$1 = operations[typeof OP_UPDATE_STATUS$1]["requestBody"]["content"]["application/json"];
|
|
12
|
+
type UpdateComplianceResponse$1 = operations[typeof OP_UPDATE_STATUS$1]["responses"][200]["content"]["application/json"];
|
|
13
|
+
type CreatePaymentDetailsBody$1 = operations[typeof OP_CREATE_PAYMENT_DETAILS$1]["requestBody"]["content"]["application/json"];
|
|
14
|
+
type CreatePaymentDetailsResponse$1 = operations[typeof OP_CREATE_PAYMENT_DETAILS$1]["responses"][201]["content"]["application/json"];
|
|
15
|
+
type GetPaymentDetailsResponse$1 = operations[typeof OP_GET_PAYMENT_DETAILS$1]["responses"][200]["content"]["application/json"];
|
|
16
|
+
interface PayerV1OperationOptions {
|
|
17
|
+
signal?: AbortSignal;
|
|
18
|
+
timeoutMs?: number;
|
|
19
|
+
validation?: RuntimeValidationOption;
|
|
20
|
+
meta?: RequestOptions["meta"];
|
|
21
|
+
}
|
|
22
|
+
interface PayerV1Api {
|
|
23
|
+
createComplianceData(body: CreateComplianceBody$1, options?: PayerV1OperationOptions): Promise<CreateComplianceResponse$1>;
|
|
24
|
+
getComplianceStatus(clientUserId: string, options?: PayerV1OperationOptions): Promise<ComplianceStatusResponse$1>;
|
|
25
|
+
updateComplianceStatus(clientUserId: string, body: UpdateComplianceBody$1, options?: PayerV1OperationOptions): Promise<UpdateComplianceResponse$1>;
|
|
26
|
+
createPaymentDetails(clientUserId: string, body: CreatePaymentDetailsBody$1, options?: PayerV1OperationOptions): Promise<CreatePaymentDetailsResponse$1>;
|
|
27
|
+
getPaymentDetails(clientUserId: string, options?: PayerV1OperationOptions): Promise<GetPaymentDetailsResponse$1>;
|
|
28
|
+
}
|
|
29
|
+
declare function createPayerV1Api(http: HttpClient): PayerV1Api;
|
|
30
|
+
|
|
31
|
+
declare const OP_CREATE_COMPLIANCE: "PayerV2Controller_getComplianceData_v2";
|
|
32
|
+
declare const OP_GET_STATUS: "PayerV2Controller_getComplianceStatus_v2";
|
|
33
|
+
declare const OP_UPDATE_STATUS: "PayerV2Controller_updateComplianceStatus_v2";
|
|
34
|
+
declare const OP_CREATE_PAYMENT_DETAILS: "PayerV2Controller_createPaymentDetails_v2";
|
|
35
|
+
declare const OP_GET_PAYMENT_DETAILS: "PayerV2Controller_getPaymentDetails_v2";
|
|
36
|
+
type CreateComplianceBody = operations[typeof OP_CREATE_COMPLIANCE]["requestBody"]["content"]["application/json"];
|
|
37
|
+
type CreateComplianceResponse = operations[typeof OP_CREATE_COMPLIANCE]["responses"][200]["content"]["application/json"];
|
|
38
|
+
type ComplianceStatusResponse = operations[typeof OP_GET_STATUS]["responses"][200]["content"]["application/json"];
|
|
39
|
+
type UpdateComplianceBody = operations[typeof OP_UPDATE_STATUS]["requestBody"]["content"]["application/json"];
|
|
40
|
+
type UpdateComplianceResponse = operations[typeof OP_UPDATE_STATUS]["responses"][200]["content"]["application/json"];
|
|
41
|
+
type CreatePaymentDetailsBody = operations[typeof OP_CREATE_PAYMENT_DETAILS]["requestBody"]["content"]["application/json"];
|
|
42
|
+
type CreatePaymentDetailsResponse = operations[typeof OP_CREATE_PAYMENT_DETAILS]["responses"][201]["content"]["application/json"];
|
|
43
|
+
type GetPaymentDetailsResponse = operations[typeof OP_GET_PAYMENT_DETAILS]["responses"][200]["content"]["application/json"];
|
|
44
|
+
interface PayerV2OperationOptions {
|
|
45
|
+
signal?: AbortSignal;
|
|
46
|
+
timeoutMs?: number;
|
|
47
|
+
validation?: RuntimeValidationOption;
|
|
48
|
+
meta?: RequestOptions["meta"];
|
|
49
|
+
}
|
|
50
|
+
interface PayerV2Api {
|
|
51
|
+
createComplianceData(body: CreateComplianceBody, options?: PayerV2OperationOptions): Promise<CreateComplianceResponse>;
|
|
52
|
+
getComplianceStatus(clientUserId: string, options?: PayerV2OperationOptions): Promise<ComplianceStatusResponse>;
|
|
53
|
+
updateComplianceStatus(clientUserId: string, body: UpdateComplianceBody, options?: PayerV2OperationOptions): Promise<UpdateComplianceResponse>;
|
|
54
|
+
createPaymentDetails(clientUserId: string, body: CreatePaymentDetailsBody, options?: PayerV2OperationOptions): Promise<CreatePaymentDetailsResponse>;
|
|
55
|
+
getPaymentDetails(clientUserId: string, options?: PayerV2OperationOptions): Promise<GetPaymentDetailsResponse>;
|
|
56
|
+
}
|
|
57
|
+
declare function createPayerV2Api(http: HttpClient): PayerV2Api;
|
|
58
|
+
|
|
59
|
+
type PayerOperationOptions = PayerV2OperationOptions;
|
|
60
|
+
interface PayerApi extends PayerV2Api {
|
|
61
|
+
legacy: PayerV1Api;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare function createPayerApi(http: HttpClient): PayerApi;
|
|
65
|
+
|
|
66
|
+
type index_PayerApi = PayerApi;
|
|
67
|
+
type index_PayerOperationOptions = PayerOperationOptions;
|
|
68
|
+
type index_PayerV1Api = PayerV1Api;
|
|
69
|
+
type index_PayerV1OperationOptions = PayerV1OperationOptions;
|
|
70
|
+
type index_PayerV2Api = PayerV2Api;
|
|
71
|
+
type index_PayerV2OperationOptions = PayerV2OperationOptions;
|
|
72
|
+
declare const index_createPayerApi: typeof createPayerApi;
|
|
73
|
+
declare const index_createPayerV1Api: typeof createPayerV1Api;
|
|
74
|
+
declare const index_createPayerV2Api: typeof createPayerV2Api;
|
|
75
|
+
declare namespace index {
|
|
76
|
+
export { type index_PayerApi as PayerApi, type index_PayerOperationOptions as PayerOperationOptions, type index_PayerV1Api as PayerV1Api, type index_PayerV1OperationOptions as PayerV1OperationOptions, type index_PayerV2Api as PayerV2Api, type index_PayerV2OperationOptions as PayerV2OperationOptions, index_createPayerApi as createPayerApi, index_createPayerV1Api as createPayerV1Api, index_createPayerV2Api as createPayerV2Api };
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export { type PayerV1Api as P, type PayerV1OperationOptions as a, type PayerV2Api as b, createPayerV1Api as c, type PayerV2OperationOptions as d, createPayerV2Api as e, type PayerApi as f, createPayerApi as g, type PayerOperationOptions as h, index as i };
|