@payabli/sdk-node 0.0.140 → 0.0.142
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/README.md +11 -15
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +41 -36
- package/dist/cjs/api/resources/bill/types/BillOutData.d.ts +5 -1
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/cloud/client/Client.js +4 -0
- package/dist/cjs/api/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/index.js +5 -1
- package/dist/cjs/api/resources/management/client/Client.d.ts +41 -0
- package/dist/cjs/api/resources/management/client/Client.js +131 -0
- package/dist/cjs/api/resources/management/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/management/client/index.js +17 -0
- package/dist/cjs/api/resources/management/client/requests/VerifyAccountDetailsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/management/client/requests/VerifyAccountDetailsRequest.js +3 -0
- package/dist/cjs/api/resources/management/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/management/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/management/exports.d.ts +2 -0
- package/dist/cjs/api/resources/management/exports.js +21 -0
- package/dist/cjs/api/resources/management/index.d.ts +2 -0
- package/dist/cjs/api/resources/management/index.js +18 -0
- package/dist/cjs/api/resources/management/types/BankAccountVerificationDetailsResponse.d.ts +31 -0
- package/dist/cjs/api/resources/management/types/BankAccountVerificationDetailsResponse.js +3 -0
- package/dist/cjs/api/resources/management/types/VerifyAccountDetailsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/management/types/VerifyAccountDetailsResponse.js +3 -0
- package/dist/cjs/api/resources/management/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/management/types/index.js +18 -0
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/Client.js +1 -1
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailPaymentData.d.ts +1 -1
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/moneyOut/client/Client.js +5 -2
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +3 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +1 -0
- package/dist/cjs/api/resources/payoutSubscription/types/GetPayoutSubscriptionResponse.d.ts +7 -0
- package/dist/cjs/api/resources/payoutSubscription/types/PayoutSubscriptionQueryRecord.d.ts +7 -0
- package/dist/cjs/api/resources/payoutSubscription/types/PayoutSubscriptionQueryRecordPascal.d.ts +7 -0
- package/dist/cjs/api/resources/payoutSubscription/types/QueryPayoutSubscriptionResponse.d.ts +7 -0
- package/dist/cjs/api/resources/query/client/Client.d.ts +42 -0
- package/dist/cjs/api/resources/query/client/Client.js +140 -0
- package/dist/cjs/api/resources/query/client/requests/ListDevicesOrgRequest.d.ts +113 -0
- package/dist/cjs/api/resources/query/client/requests/ListDevicesOrgRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListDevicesRequest.d.ts +113 -0
- package/dist/cjs/api/resources/query/client/requests/ListDevicesRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/queryTypes/types/DeviceQueryRecord.d.ts +50 -0
- package/dist/cjs/api/resources/queryTypes/types/DeviceQueryRecord.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/QueryDeviceResponse.d.ts +45 -0
- package/dist/cjs/api/resources/queryTypes/types/QueryDeviceResponse.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/queryTypes/types/index.js +2 -0
- package/dist/cjs/api/resources/vendor/client/Client.d.ts +44 -1
- package/dist/cjs/api/resources/vendor/client/Client.js +88 -1
- package/dist/cjs/api/resources/vendor/index.d.ts +1 -0
- package/dist/cjs/api/resources/vendor/index.js +1 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichRequest.d.ts +20 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichRequest.js +3 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichResponse.d.ts +12 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichResponse.js +3 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichResponseData.d.ts +16 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichResponseData.js +3 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichmentData.d.ts +10 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichmentData.js +3 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichmentInvoiceScan.d.ts +35 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichmentInvoiceScan.js +3 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichmentWebSearch.d.ts +35 -0
- package/dist/cjs/api/resources/vendor/types/VendorEnrichmentWebSearch.js +3 -0
- package/dist/cjs/api/resources/vendor/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/vendor/types/index.js +22 -0
- package/dist/cjs/api/types/AutoCapture.d.ts +4 -0
- package/dist/cjs/api/types/AutoCapture.js +3 -0
- package/dist/cjs/api/types/BinData.d.ts +4 -1
- package/dist/cjs/api/types/NotificationContent.d.ts +0 -1
- package/dist/cjs/api/types/NotificationContent.js +0 -1
- package/dist/cjs/api/types/NotificationStandardRequest.d.ts +0 -1
- package/dist/cjs/api/types/NotificationStandardRequest.js +0 -1
- package/dist/cjs/api/types/ProcessingSection.d.ts +5 -0
- package/dist/cjs/api/types/QueryChargebacksResponse.d.ts +10 -1
- package/dist/cjs/api/types/TemplateElement.d.ts +1 -0
- package/dist/cjs/api/types/VCardCardType.d.ts +6 -0
- package/dist/cjs/api/types/VCardCardType.js +3 -0
- package/dist/cjs/api/types/VCardRecord.d.ts +2 -0
- package/dist/cjs/api/types/VendorData.d.ts +12 -0
- package/dist/cjs/api/types/VendorQueryRecord.d.ts +21 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/bill/types/BillOutData.d.mts +5 -1
- package/dist/esm/api/resources/cloud/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/cloud/client/Client.mjs +4 -0
- package/dist/esm/api/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/index.mjs +4 -0
- package/dist/esm/api/resources/management/client/Client.d.mts +41 -0
- package/dist/esm/api/resources/management/client/Client.mjs +94 -0
- package/dist/esm/api/resources/management/client/index.d.mts +1 -0
- package/dist/esm/api/resources/management/client/index.mjs +1 -0
- package/dist/esm/api/resources/management/client/requests/VerifyAccountDetailsRequest.d.mts +25 -0
- package/dist/esm/api/resources/management/client/requests/VerifyAccountDetailsRequest.mjs +2 -0
- package/dist/esm/api/resources/management/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/management/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/management/exports.d.mts +2 -0
- package/dist/esm/api/resources/management/exports.mjs +3 -0
- package/dist/esm/api/resources/management/index.d.mts +2 -0
- package/dist/esm/api/resources/management/index.mjs +2 -0
- package/dist/esm/api/resources/management/types/BankAccountVerificationDetailsResponse.d.mts +31 -0
- package/dist/esm/api/resources/management/types/BankAccountVerificationDetailsResponse.mjs +2 -0
- package/dist/esm/api/resources/management/types/VerifyAccountDetailsResponse.d.mts +9 -0
- package/dist/esm/api/resources/management/types/VerifyAccountDetailsResponse.mjs +2 -0
- package/dist/esm/api/resources/management/types/index.d.mts +2 -0
- package/dist/esm/api/resources/management/types/index.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +1 -1
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailPaymentData.d.mts +1 -1
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +5 -2
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +3 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +1 -0
- package/dist/esm/api/resources/payoutSubscription/types/GetPayoutSubscriptionResponse.d.mts +7 -0
- package/dist/esm/api/resources/payoutSubscription/types/PayoutSubscriptionQueryRecord.d.mts +7 -0
- package/dist/esm/api/resources/payoutSubscription/types/PayoutSubscriptionQueryRecordPascal.d.mts +7 -0
- package/dist/esm/api/resources/payoutSubscription/types/QueryPayoutSubscriptionResponse.d.mts +7 -0
- package/dist/esm/api/resources/query/client/Client.d.mts +42 -0
- package/dist/esm/api/resources/query/client/Client.mjs +140 -0
- package/dist/esm/api/resources/query/client/requests/ListDevicesOrgRequest.d.mts +113 -0
- package/dist/esm/api/resources/query/client/requests/ListDevicesOrgRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListDevicesRequest.d.mts +113 -0
- package/dist/esm/api/resources/query/client/requests/ListDevicesRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/queryTypes/types/DeviceQueryRecord.d.mts +50 -0
- package/dist/esm/api/resources/queryTypes/types/DeviceQueryRecord.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/QueryDeviceResponse.d.mts +45 -0
- package/dist/esm/api/resources/queryTypes/types/QueryDeviceResponse.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/index.d.mts +2 -0
- package/dist/esm/api/resources/queryTypes/types/index.mjs +2 -0
- package/dist/esm/api/resources/vendor/client/Client.d.mts +44 -1
- package/dist/esm/api/resources/vendor/client/Client.mjs +88 -1
- package/dist/esm/api/resources/vendor/index.d.mts +1 -0
- package/dist/esm/api/resources/vendor/index.mjs +1 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichRequest.d.mts +20 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichRequest.mjs +2 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichResponse.d.mts +12 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichResponse.mjs +2 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichResponseData.d.mts +16 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichResponseData.mjs +2 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichmentData.d.mts +10 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichmentData.mjs +2 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichmentInvoiceScan.d.mts +35 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichmentInvoiceScan.mjs +2 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichmentWebSearch.d.mts +35 -0
- package/dist/esm/api/resources/vendor/types/VendorEnrichmentWebSearch.mjs +2 -0
- package/dist/esm/api/resources/vendor/types/index.d.mts +6 -0
- package/dist/esm/api/resources/vendor/types/index.mjs +6 -0
- package/dist/esm/api/types/AutoCapture.d.mts +4 -0
- package/dist/esm/api/types/AutoCapture.mjs +2 -0
- package/dist/esm/api/types/BinData.d.mts +4 -1
- package/dist/esm/api/types/NotificationContent.d.mts +0 -1
- package/dist/esm/api/types/NotificationContent.mjs +0 -1
- package/dist/esm/api/types/NotificationStandardRequest.d.mts +0 -1
- package/dist/esm/api/types/NotificationStandardRequest.mjs +0 -1
- package/dist/esm/api/types/ProcessingSection.d.mts +5 -0
- package/dist/esm/api/types/QueryChargebacksResponse.d.mts +10 -1
- package/dist/esm/api/types/TemplateElement.d.mts +1 -0
- package/dist/esm/api/types/VCardCardType.d.mts +6 -0
- package/dist/esm/api/types/VCardCardType.mjs +2 -0
- package/dist/esm/api/types/VCardRecord.d.mts +2 -0
- package/dist/esm/api/types/VendorData.d.mts +12 -0
- package/dist/esm/api/types/VendorQueryRecord.d.mts +21 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -1
- package/reference.md +321 -4
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type * as Payabli from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* fromRecord: 0,
|
|
6
|
+
* limitRecord: 20,
|
|
7
|
+
* sortBy: "desc(createdAt)"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface ListDevicesRequest {
|
|
11
|
+
exportFormat?: Payabli.ExportFormat;
|
|
12
|
+
/** The number of records to skip before starting to collect the result set. */
|
|
13
|
+
fromRecord?: number;
|
|
14
|
+
/** Max number of records to return for the query. Use `0` or negative value to return all records. */
|
|
15
|
+
limitRecord?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Collection of field names, conditions, and values used to filter
|
|
18
|
+
* the query.
|
|
19
|
+
*
|
|
20
|
+
* <Info>
|
|
21
|
+
* **You must remove `parameters=` from the request before you send it, otherwise Payabli will ignore the filters.**
|
|
22
|
+
*
|
|
23
|
+
* Because of a technical limitation, you can't make a request that includes filters from the API console on this page. The response won't be filtered. Instead, copy the request, remove `parameters=` and run the request in a different client.
|
|
24
|
+
*
|
|
25
|
+
* For example:
|
|
26
|
+
*
|
|
27
|
+
* --url https://api-sandbox.payabli.com/api/Query/devices/8cfec329267?parameters=status=1&limitRecord=20
|
|
28
|
+
*
|
|
29
|
+
* should become:
|
|
30
|
+
*
|
|
31
|
+
* --url https://api-sandbox.payabli.com/api/Query/devices/8cfec329267?status=1&limitRecord=20
|
|
32
|
+
* </Info>
|
|
33
|
+
*
|
|
34
|
+
* See [Filters and Conditions
|
|
35
|
+
* Reference](/developers/developer-guides/pay-ops-reporting-engine-overview#filters-and-conditions-reference)
|
|
36
|
+
* for more information.
|
|
37
|
+
*
|
|
38
|
+
* **List of field names accepted:**
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
* - `deviceId` (eq, ne, ct, nct)
|
|
42
|
+
*
|
|
43
|
+
* - `serialNumber` (eq, ne, ct, nct)
|
|
44
|
+
*
|
|
45
|
+
* - `friendlyName` (eq, ne, ct, nct)
|
|
46
|
+
*
|
|
47
|
+
* - `description` (eq, ne, ct, nct)
|
|
48
|
+
*
|
|
49
|
+
* - `model` (eq, ne, ct, nct)
|
|
50
|
+
*
|
|
51
|
+
* - `make` (eq, ne, ct, nct)
|
|
52
|
+
*
|
|
53
|
+
* - `macAddress` (eq, ne, ct, nct)
|
|
54
|
+
*
|
|
55
|
+
* - `registrationCode` (eq, ne, ct, nct)
|
|
56
|
+
*
|
|
57
|
+
* - `status` (eq, ne, in, nin)
|
|
58
|
+
*
|
|
59
|
+
* - `deviceType` (eq, ne, in, nin)
|
|
60
|
+
*
|
|
61
|
+
* - `deviceOs` (eq, ne, in, nin)
|
|
62
|
+
*
|
|
63
|
+
* - `activationAttempts` (eq, ne, gt, ge, lt, le)
|
|
64
|
+
*
|
|
65
|
+
* - `createdDate` (gt, ge, lt, le, eq, ne)
|
|
66
|
+
*
|
|
67
|
+
* - `updatedDate` (gt, ge, lt, le, eq, ne)
|
|
68
|
+
*
|
|
69
|
+
* - `lastHealthCheck` (gt, ge, lt, le, eq, ne)
|
|
70
|
+
*
|
|
71
|
+
* - `activationExpiry` (gt, ge, lt, le, eq, ne). This filter corresponds to the `activationCodeExpiry` response field.
|
|
72
|
+
*
|
|
73
|
+
* - `paypointId` (eq, ne)
|
|
74
|
+
*
|
|
75
|
+
* - `paypointDba` (eq, ne, ct, nct)
|
|
76
|
+
*
|
|
77
|
+
* - `paypointLegal` (eq, ne, ct, nct)
|
|
78
|
+
*
|
|
79
|
+
* - `paypointEntry` (eq, ne, ct, nct)
|
|
80
|
+
*
|
|
81
|
+
* - `externalPaypointId` (eq, ne, ct, nct)
|
|
82
|
+
*
|
|
83
|
+
* - `parentOrgId` (eq, ne)
|
|
84
|
+
*
|
|
85
|
+
* - `parentOrgName` (eq, ne, ct, nct)
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* **List of comparison operators accepted:**
|
|
89
|
+
*
|
|
90
|
+
* - `eq` or empty => equal
|
|
91
|
+
*
|
|
92
|
+
* - `gt` => greater than
|
|
93
|
+
*
|
|
94
|
+
* - `ge` => greater or equal
|
|
95
|
+
*
|
|
96
|
+
* - `lt` => less than
|
|
97
|
+
*
|
|
98
|
+
* - `le` => less or equal
|
|
99
|
+
*
|
|
100
|
+
* - `ne` => not equal
|
|
101
|
+
*
|
|
102
|
+
* - `ct` => contains
|
|
103
|
+
*
|
|
104
|
+
* - `nct` => not contains
|
|
105
|
+
*
|
|
106
|
+
* - `in` => inside array
|
|
107
|
+
*
|
|
108
|
+
* - `nin` => not inside array
|
|
109
|
+
*/
|
|
110
|
+
parameters?: Record<string, string>;
|
|
111
|
+
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
112
|
+
sortBy?: string;
|
|
113
|
+
}
|
|
@@ -8,6 +8,8 @@ export type { ListChargebacksOrgRequest } from "./ListChargebacksOrgRequest.js";
|
|
|
8
8
|
export type { ListChargebacksRequest } from "./ListChargebacksRequest.js";
|
|
9
9
|
export type { ListCustomersOrgRequest } from "./ListCustomersOrgRequest.js";
|
|
10
10
|
export type { ListCustomersRequest } from "./ListCustomersRequest.js";
|
|
11
|
+
export type { ListDevicesOrgRequest } from "./ListDevicesOrgRequest.js";
|
|
12
|
+
export type { ListDevicesRequest } from "./ListDevicesRequest.js";
|
|
11
13
|
export type { ListNotificationReportsOrgRequest } from "./ListNotificationReportsOrgRequest.js";
|
|
12
14
|
export type { ListNotificationReportsRequest } from "./ListNotificationReportsRequest.js";
|
|
13
15
|
export type { ListNotificationsOrgRequest } from "./ListNotificationsOrgRequest.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface DeviceQueryRecord {
|
|
2
|
+
/** Unique identifier for the cloud device. */
|
|
3
|
+
deviceId: string | null;
|
|
4
|
+
/** Internal cloud device record ID. */
|
|
5
|
+
idCloud: number | null;
|
|
6
|
+
/** Description of the device. */
|
|
7
|
+
description: string | null;
|
|
8
|
+
/** Serial number of the device. */
|
|
9
|
+
serialNumber: string | null;
|
|
10
|
+
/** Human-readable name for the device. */
|
|
11
|
+
friendlyName: string | null;
|
|
12
|
+
/** Manufacturer of the device. */
|
|
13
|
+
make: string | null;
|
|
14
|
+
/** Model name of the device. */
|
|
15
|
+
model: string | null;
|
|
16
|
+
/** Type of device. */
|
|
17
|
+
deviceType: number | null;
|
|
18
|
+
/** Current status of the device. */
|
|
19
|
+
deviceStatus: number | null;
|
|
20
|
+
/** Operating system of the device. */
|
|
21
|
+
deviceOs: number | null;
|
|
22
|
+
/** MAC address of the device. */
|
|
23
|
+
macAddress: string | null;
|
|
24
|
+
/** Timestamp of the last health check from the device. */
|
|
25
|
+
lastHealthCheck: string | null;
|
|
26
|
+
/** Registration code used to activate the device. */
|
|
27
|
+
registrationCode: string | null;
|
|
28
|
+
/** Number of activation attempts for the device. */
|
|
29
|
+
activationAttempts: number | null;
|
|
30
|
+
/** Expiration timestamp for the device activation code. */
|
|
31
|
+
activationCodeExpiry: string | null;
|
|
32
|
+
/** Timestamp when the device record was created. */
|
|
33
|
+
createdAt: string | null;
|
|
34
|
+
/** Timestamp when the device record was last updated. */
|
|
35
|
+
updatedAt: string | null;
|
|
36
|
+
/** Numeric identifier for the paypoint. */
|
|
37
|
+
paypointId: number | null;
|
|
38
|
+
/** DBA name for the paypoint. */
|
|
39
|
+
paypointDba: string | null;
|
|
40
|
+
/** Legal name for the paypoint. */
|
|
41
|
+
paypointLegal: string | null;
|
|
42
|
+
/** Entry identifier for the paypoint. */
|
|
43
|
+
paypointEntry: string | null;
|
|
44
|
+
/** External identifier for the paypoint. */
|
|
45
|
+
externalPaypointId: string | null;
|
|
46
|
+
/** Numeric identifier for the parent organization. */
|
|
47
|
+
parentOrgId: number | null;
|
|
48
|
+
/** Name of the parent organization. */
|
|
49
|
+
parentOrgName: string | null;
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Response body for queries about cloud devices.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* Summary: {
|
|
8
|
+
* pageSize: 20,
|
|
9
|
+
* totalAmount: 0,
|
|
10
|
+
* totalNetAmount: 0,
|
|
11
|
+
* totalPages: 2,
|
|
12
|
+
* totalRecords: 28
|
|
13
|
+
* },
|
|
14
|
+
* Records: [{
|
|
15
|
+
* deviceId: "DEV-A1B2C3D4",
|
|
16
|
+
* idCloud: 142,
|
|
17
|
+
* description: "Front Counter Terminal",
|
|
18
|
+
* serialNumber: "SN-90210-XR",
|
|
19
|
+
* friendlyName: "Front Counter Terminal",
|
|
20
|
+
* make: "Ingenico",
|
|
21
|
+
* model: "LK2500",
|
|
22
|
+
* deviceType: 1,
|
|
23
|
+
* deviceStatus: 1,
|
|
24
|
+
* deviceOs: null,
|
|
25
|
+
* macAddress: "1A2B3C4D5E6F",
|
|
26
|
+
* lastHealthCheck: "2026-04-09T14:49:42Z",
|
|
27
|
+
* registrationCode: "REG-A1B2C3D4",
|
|
28
|
+
* activationAttempts: 0,
|
|
29
|
+
* activationCodeExpiry: "2026-04-09T14:49:42Z",
|
|
30
|
+
* createdAt: "2026-04-09T01:14:37Z",
|
|
31
|
+
* updatedAt: "2026-04-09T14:49:42Z",
|
|
32
|
+
* paypointId: 12345,
|
|
33
|
+
* paypointDba: "Gruzya Adventure Outfitters",
|
|
34
|
+
* paypointLegal: "Gruzya Adventure Outfitters, LLC",
|
|
35
|
+
* paypointEntry: "8cfec329267",
|
|
36
|
+
* externalPaypointId: "GRUZYA-01",
|
|
37
|
+
* parentOrgId: 100,
|
|
38
|
+
* parentOrgName: "Example Corp"
|
|
39
|
+
* }]
|
|
40
|
+
* }
|
|
41
|
+
*/
|
|
42
|
+
export interface QueryDeviceResponse {
|
|
43
|
+
Summary: Payabli.QuerySummary;
|
|
44
|
+
Records: Payabli.DeviceQueryRecord[];
|
|
45
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
export * from "./DeviceQueryRecord.js";
|
|
1
2
|
export * from "./LimitRecord.js";
|
|
2
3
|
export * from "./ListOrganizationsResponse.js";
|
|
3
4
|
export * from "./QueryBatchesDetailResponse.js";
|
|
4
5
|
export * from "./QueryBatchesResponse.js";
|
|
5
6
|
export * from "./QueryBatchesTransfer.js";
|
|
7
|
+
export * from "./QueryDeviceResponse.js";
|
|
6
8
|
export * from "./QueryTransferDetailResponse.js";
|
|
7
9
|
export * from "./QueryTransferResponse.js";
|
|
8
10
|
export * from "./QueryTransferSummary.js";
|
|
@@ -14,11 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DeviceQueryRecord.js"), exports);
|
|
17
18
|
__exportStar(require("./LimitRecord.js"), exports);
|
|
18
19
|
__exportStar(require("./ListOrganizationsResponse.js"), exports);
|
|
19
20
|
__exportStar(require("./QueryBatchesDetailResponse.js"), exports);
|
|
20
21
|
__exportStar(require("./QueryBatchesResponse.js"), exports);
|
|
21
22
|
__exportStar(require("./QueryBatchesTransfer.js"), exports);
|
|
23
|
+
__exportStar(require("./QueryDeviceResponse.js"), exports);
|
|
22
24
|
__exportStar(require("./QueryTransferDetailResponse.js"), exports);
|
|
23
25
|
__exportStar(require("./QueryTransferResponse.js"), exports);
|
|
24
26
|
__exportStar(require("./QueryTransferSummary.js"), exports);
|
|
@@ -106,7 +106,7 @@ export declare class VendorClient {
|
|
|
106
106
|
editVendor(idVendor: number, request: Payabli.VendorData, requestOptions?: VendorClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponseVendors>;
|
|
107
107
|
private __editVendor;
|
|
108
108
|
/**
|
|
109
|
-
* Retrieves a vendor's details.
|
|
109
|
+
* Retrieves a vendor's details, including enrichment status and payment acceptance info when available.
|
|
110
110
|
*
|
|
111
111
|
* @param {number} idVendor - Vendor ID.
|
|
112
112
|
* @param {VendorClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -116,4 +116,47 @@ export declare class VendorClient {
|
|
|
116
116
|
*/
|
|
117
117
|
getVendor(idVendor: number, requestOptions?: VendorClient.RequestOptions): core.HttpResponsePromise<Payabli.VendorQueryRecord>;
|
|
118
118
|
private __getVendor;
|
|
119
|
+
/**
|
|
120
|
+
* Triggers AI-powered vendor enrichment for an existing vendor. Runs one or more enrichment stages (invoice scan, web search) based on the `scope` parameter. Can automatically apply extracted payment acceptance info and vendor contact information to the vendor record, or return raw results for manual review. Contact Payabli to enable this feature.
|
|
121
|
+
*
|
|
122
|
+
* @param {string} entry - Entrypoint identifier.
|
|
123
|
+
* @param {Payabli.VendorEnrichRequest} request
|
|
124
|
+
* @param {VendorClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link Payabli.BadRequestError}
|
|
127
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
128
|
+
* @throws {@link Payabli.InternalServerError}
|
|
129
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* await client.vendor.enrichVendor("8cfec329267", {
|
|
133
|
+
* vendorId: 3890,
|
|
134
|
+
* scope: ["invoice_scan"],
|
|
135
|
+
* applyEnrichmentData: false,
|
|
136
|
+
* fallbackMethod: "check",
|
|
137
|
+
* invoiceFile: {
|
|
138
|
+
* ftype: "pdf",
|
|
139
|
+
* filename: "invoice-2026-001.pdf",
|
|
140
|
+
* fContent: "<base64-encoded-pdf>"
|
|
141
|
+
* }
|
|
142
|
+
* })
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.vendor.enrichVendor("8cfec329267", {
|
|
146
|
+
* vendorId: 3891,
|
|
147
|
+
* scope: ["web_search"],
|
|
148
|
+
* applyEnrichmentData: false,
|
|
149
|
+
* fallbackMethod: "check"
|
|
150
|
+
* })
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* await client.vendor.enrichVendor("8cfec329267", {
|
|
154
|
+
* vendorId: 3891,
|
|
155
|
+
* scope: ["web_search"],
|
|
156
|
+
* applyEnrichmentData: true,
|
|
157
|
+
* fallbackMethod: "check"
|
|
158
|
+
* })
|
|
159
|
+
*/
|
|
160
|
+
enrichVendor(entry: string, request: Payabli.VendorEnrichRequest, requestOptions?: VendorClient.RequestOptions): core.HttpResponsePromise<Payabli.VendorEnrichResponse>;
|
|
161
|
+
private __enrichVendor;
|
|
119
162
|
}
|
|
@@ -280,7 +280,7 @@ class VendorClient {
|
|
|
280
280
|
});
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
283
|
-
* Retrieves a vendor's details.
|
|
283
|
+
* Retrieves a vendor's details, including enrichment status and payment acceptance info when available.
|
|
284
284
|
*
|
|
285
285
|
* @param {number} idVendor - Vendor ID.
|
|
286
286
|
* @param {VendorClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -320,5 +320,92 @@ class VendorClient {
|
|
|
320
320
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Vendor/{idVendor}");
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* Triggers AI-powered vendor enrichment for an existing vendor. Runs one or more enrichment stages (invoice scan, web search) based on the `scope` parameter. Can automatically apply extracted payment acceptance info and vendor contact information to the vendor record, or return raw results for manual review. Contact Payabli to enable this feature.
|
|
325
|
+
*
|
|
326
|
+
* @param {string} entry - Entrypoint identifier.
|
|
327
|
+
* @param {Payabli.VendorEnrichRequest} request
|
|
328
|
+
* @param {VendorClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
329
|
+
*
|
|
330
|
+
* @throws {@link Payabli.BadRequestError}
|
|
331
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
332
|
+
* @throws {@link Payabli.InternalServerError}
|
|
333
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
334
|
+
*
|
|
335
|
+
* @example
|
|
336
|
+
* await client.vendor.enrichVendor("8cfec329267", {
|
|
337
|
+
* vendorId: 3890,
|
|
338
|
+
* scope: ["invoice_scan"],
|
|
339
|
+
* applyEnrichmentData: false,
|
|
340
|
+
* fallbackMethod: "check",
|
|
341
|
+
* invoiceFile: {
|
|
342
|
+
* ftype: "pdf",
|
|
343
|
+
* filename: "invoice-2026-001.pdf",
|
|
344
|
+
* fContent: "<base64-encoded-pdf>"
|
|
345
|
+
* }
|
|
346
|
+
* })
|
|
347
|
+
*
|
|
348
|
+
* @example
|
|
349
|
+
* await client.vendor.enrichVendor("8cfec329267", {
|
|
350
|
+
* vendorId: 3891,
|
|
351
|
+
* scope: ["web_search"],
|
|
352
|
+
* applyEnrichmentData: false,
|
|
353
|
+
* fallbackMethod: "check"
|
|
354
|
+
* })
|
|
355
|
+
*
|
|
356
|
+
* @example
|
|
357
|
+
* await client.vendor.enrichVendor("8cfec329267", {
|
|
358
|
+
* vendorId: 3891,
|
|
359
|
+
* scope: ["web_search"],
|
|
360
|
+
* applyEnrichmentData: true,
|
|
361
|
+
* fallbackMethod: "check"
|
|
362
|
+
* })
|
|
363
|
+
*/
|
|
364
|
+
enrichVendor(entry, request, requestOptions) {
|
|
365
|
+
return core.HttpResponsePromise.fromPromise(this.__enrichVendor(entry, request, requestOptions));
|
|
366
|
+
}
|
|
367
|
+
__enrichVendor(entry, request, requestOptions) {
|
|
368
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
369
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
370
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
371
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
372
|
+
const _response = yield core.fetcher({
|
|
373
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Vendor/enrich/${core.url.encodePathParam(entry)}`),
|
|
374
|
+
method: "POST",
|
|
375
|
+
headers: _headers,
|
|
376
|
+
contentType: "application/json",
|
|
377
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
378
|
+
requestType: "json",
|
|
379
|
+
body: request,
|
|
380
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
381
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
382
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
383
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
384
|
+
logging: this._options.logging,
|
|
385
|
+
});
|
|
386
|
+
if (_response.ok) {
|
|
387
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
388
|
+
}
|
|
389
|
+
if (_response.error.reason === "status-code") {
|
|
390
|
+
switch (_response.error.statusCode) {
|
|
391
|
+
case 400:
|
|
392
|
+
throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
|
|
393
|
+
case 401:
|
|
394
|
+
throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
395
|
+
case 500:
|
|
396
|
+
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
397
|
+
case 503:
|
|
398
|
+
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
399
|
+
default:
|
|
400
|
+
throw new errors.PayabliError({
|
|
401
|
+
statusCode: _response.error.statusCode,
|
|
402
|
+
body: _response.error.body,
|
|
403
|
+
rawResponse: _response.rawResponse,
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/Vendor/enrich/{entry}");
|
|
408
|
+
});
|
|
409
|
+
}
|
|
323
410
|
}
|
|
324
411
|
exports.VendorClient = VendorClient;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Request body for the vendor enrichment endpoint.
|
|
4
|
+
*/
|
|
5
|
+
export interface VendorEnrichRequest {
|
|
6
|
+
/** ID of the vendor to enrich. Must be active and belong to the given entrypoint. */
|
|
7
|
+
vendorId: number;
|
|
8
|
+
/** Enrichment stages to run. Valid values are `invoice_scan` and `web_search`. Stages run in order: invoice scan first, then web search. If the vendor becomes payout-ready after invoice scan, web search is skipped. */
|
|
9
|
+
scope?: string[] | undefined;
|
|
10
|
+
/** When `true` (the default), extracted data is automatically written to the vendor record. Only empty fields are populated, existing values are never overwritten. When `false`, the vendor record isn't modified. In both cases, `enrichmentData` in the response contains the extracted results. Use `false` for UI flows where users review and confirm changes before applying them with the update vendor endpoint. */
|
|
11
|
+
applyEnrichmentData?: boolean | undefined;
|
|
12
|
+
/** When `true`, triggers an AI outreach call if enrichment stages return insufficient payment acceptance info. This feature is currently in development. */
|
|
13
|
+
scheduleCallIfNeeded?: boolean | undefined;
|
|
14
|
+
/** PDF invoice file, Base64-encoded. Required when `scope` includes `invoice_scan`. */
|
|
15
|
+
invoiceFile?: Payabli.FileContent | undefined;
|
|
16
|
+
/** Bill ID to associate with this enrichment request. */
|
|
17
|
+
billId?: number | undefined;
|
|
18
|
+
/** Payment method to apply if enrichment can't find payment details. Values are `check`, `ach`, or `card`. */
|
|
19
|
+
fallbackMethod?: string | undefined;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Response from the vendor enrichment endpoint.
|
|
4
|
+
*/
|
|
5
|
+
export interface VendorEnrichResponse {
|
|
6
|
+
responseCode?: Payabli.Responsecode | undefined;
|
|
7
|
+
pageIdentifier?: Payabli.PageIdentifier | undefined;
|
|
8
|
+
roomId?: Payabli.RoomIdNotInUse | undefined;
|
|
9
|
+
isSuccess?: Payabli.IsSuccess | undefined;
|
|
10
|
+
responseText: Payabli.ResponseText;
|
|
11
|
+
responseData?: Payabli.VendorEnrichResponseData | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Enrichment result details.
|
|
4
|
+
*/
|
|
5
|
+
export interface VendorEnrichResponseData {
|
|
6
|
+
/** Unique identifier for this enrichment run. Format: `enrich-{vendorId}-{8-char hex}`. */
|
|
7
|
+
enrichmentId?: string | undefined;
|
|
8
|
+
/** Final enrichment status. Values are `completed` (vendor is payout-ready), `completed_from_network` (vendor was already enriched in the Payabli vendor network, no AI processing needed), or `insufficient` (all stages ran but the vendor still lacks sufficient payment data). */
|
|
9
|
+
status?: string | undefined;
|
|
10
|
+
/** Stages that ran successfully. A stage is only listed here if it returned a successful response. Failed stages are excluded. */
|
|
11
|
+
stagesTriggered?: string[] | undefined;
|
|
12
|
+
/** `true` if the vendor now has sufficient payment data to process a payout (ACH, card email, or check remit address). */
|
|
13
|
+
vendorPayoutReady?: boolean | undefined;
|
|
14
|
+
/** Raw extraction results from the enrichment stages that ran. */
|
|
15
|
+
enrichmentData?: Payabli.VendorEnrichmentData | undefined;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Container for enrichment stage results.
|
|
4
|
+
*/
|
|
5
|
+
export interface VendorEnrichmentData {
|
|
6
|
+
/** Results from the invoice scan stage, if it ran. */
|
|
7
|
+
invoiceScan?: Payabli.VendorEnrichmentInvoiceScan | undefined;
|
|
8
|
+
/** Results from the web search stage, if it ran. */
|
|
9
|
+
webSearch?: Payabli.VendorEnrichmentWebSearch | undefined;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vendor contact information and payment acceptance info extracted from an invoice.
|
|
3
|
+
*/
|
|
4
|
+
export interface VendorEnrichmentInvoiceScan {
|
|
5
|
+
/** Vendor name extracted from the invoice. */
|
|
6
|
+
vendorName?: string | undefined;
|
|
7
|
+
/** Street address. */
|
|
8
|
+
street?: string | undefined;
|
|
9
|
+
/** City. */
|
|
10
|
+
city?: string | undefined;
|
|
11
|
+
/** State (two-letter abbreviation). */
|
|
12
|
+
state?: string | undefined;
|
|
13
|
+
/** ZIP code. */
|
|
14
|
+
zipCode?: string | undefined;
|
|
15
|
+
/** Country code. */
|
|
16
|
+
country?: string | undefined;
|
|
17
|
+
/** Phone number. Format isn't guaranteed and is extracted as-is from the invoice. */
|
|
18
|
+
phone?: string | undefined;
|
|
19
|
+
/** Email address. */
|
|
20
|
+
email?: string | undefined;
|
|
21
|
+
/** Payment portal URL, if found on the invoice. */
|
|
22
|
+
paymentLink?: string | undefined;
|
|
23
|
+
/** Whether the vendor accepts card payments. Values are `yes`, `no`, or `unable to determine`. */
|
|
24
|
+
cardAccepted?: string | undefined;
|
|
25
|
+
/** Whether the vendor accepts ACH payments. Values are `yes`, `no`, or `unable to determine`. */
|
|
26
|
+
achAccepted?: string | undefined;
|
|
27
|
+
/** Whether the vendor accepts check payments. Values are `yes`, `no`, or `unable to determine`. */
|
|
28
|
+
checkAccepted?: string | undefined;
|
|
29
|
+
/** Invoice number extracted from the document. */
|
|
30
|
+
invoiceNumber?: string | undefined;
|
|
31
|
+
/** Invoice amount due in USD. */
|
|
32
|
+
amountDue?: number | undefined;
|
|
33
|
+
/** Payment due date. Format is `YYYY-MM-DD`. */
|
|
34
|
+
dueDate?: string | undefined;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vendor contact information and payment acceptance info found through web search.
|
|
3
|
+
*/
|
|
4
|
+
export interface VendorEnrichmentWebSearch {
|
|
5
|
+
/** Phone number found through web search. Format isn't guaranteed. */
|
|
6
|
+
phone?: string | undefined;
|
|
7
|
+
/** Phone classification. Values are `main`, `billing`, or `customer_service`. */
|
|
8
|
+
phoneType?: string | undefined;
|
|
9
|
+
/** Email address. */
|
|
10
|
+
email?: string | undefined;
|
|
11
|
+
/** Email classification. Values are `billing`, `general`, or `customer_service`. */
|
|
12
|
+
emailType?: string | undefined;
|
|
13
|
+
/** Street address. */
|
|
14
|
+
street?: string | undefined;
|
|
15
|
+
/** City. */
|
|
16
|
+
city?: string | undefined;
|
|
17
|
+
/** State (two-letter abbreviation). */
|
|
18
|
+
state?: string | undefined;
|
|
19
|
+
/** ZIP code. */
|
|
20
|
+
zipCode?: string | undefined;
|
|
21
|
+
/** Country code. */
|
|
22
|
+
country?: string | undefined;
|
|
23
|
+
/** Address classification. Values are `business`, `headquarters`, or `mailing`. */
|
|
24
|
+
addressType?: string | undefined;
|
|
25
|
+
/** Payment portal URL. */
|
|
26
|
+
paymentLink?: string | undefined;
|
|
27
|
+
/** Link classification. Values are `payment_portal`, `billing_page`, or `general_website`. */
|
|
28
|
+
paymentLinkType?: string | undefined;
|
|
29
|
+
/** Whether the vendor accepts card payments. Values are `yes`, `no`, or `unable to determine`. */
|
|
30
|
+
cardAccepted?: string | undefined;
|
|
31
|
+
/** Whether the vendor accepts ACH payments. Values are `yes`, `no`, or `unable to determine`. */
|
|
32
|
+
achAccepted?: string | undefined;
|
|
33
|
+
/** Whether the vendor accepts check payments. Values are `yes`, `no`, or `unable to determine`. */
|
|
34
|
+
checkAccepted?: string | undefined;
|
|
35
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./VendorEnrichmentData.js";
|
|
2
|
+
export * from "./VendorEnrichmentInvoiceScan.js";
|
|
3
|
+
export * from "./VendorEnrichmentWebSearch.js";
|
|
4
|
+
export * from "./VendorEnrichRequest.js";
|
|
5
|
+
export * from "./VendorEnrichResponse.js";
|
|
6
|
+
export * from "./VendorEnrichResponseData.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./VendorEnrichmentData.js"), exports);
|
|
18
|
+
__exportStar(require("./VendorEnrichmentInvoiceScan.js"), exports);
|
|
19
|
+
__exportStar(require("./VendorEnrichmentWebSearch.js"), exports);
|
|
20
|
+
__exportStar(require("./VendorEnrichRequest.js"), exports);
|
|
21
|
+
__exportStar(require("./VendorEnrichResponse.js"), exports);
|
|
22
|
+
__exportStar(require("./VendorEnrichResponseData.js"), exports);
|