@vindentech/api-client 2.0.0-next.2 → 2.0.0-next.21
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/dist/client.d.ts.map +1 -1
- package/dist/client.js.map +1 -1
- package/dist/generated/_all.d.ts +4 -0
- package/dist/generated/_all.d.ts.map +1 -1
- package/dist/generated/_all.js +4 -0
- package/dist/generated/_all.js.map +1 -1
- package/dist/generated/_permissions.d.ts +41 -1
- package/dist/generated/_permissions.d.ts.map +1 -1
- package/dist/generated/_permissions.js +10 -0
- package/dist/generated/_permissions.js.map +1 -1
- package/dist/generated/analytics/analytics.d.ts +30 -2
- package/dist/generated/analytics/analytics.d.ts.map +1 -1
- package/dist/generated/analytics/analytics.js +43 -1
- package/dist/generated/analytics/analytics.js.map +1 -1
- package/dist/generated/billing-accounts/billing-accounts.d.ts +8 -1
- package/dist/generated/billing-accounts/billing-accounts.d.ts.map +1 -1
- package/dist/generated/billing-accounts/billing-accounts.js +0 -1
- package/dist/generated/billing-accounts/billing-accounts.js.map +1 -1
- package/dist/generated/collection-holds/collection-holds.d.ts +24 -0
- package/dist/generated/collection-holds/collection-holds.d.ts.map +1 -0
- package/dist/generated/collection-holds/collection-holds.js +23 -0
- package/dist/generated/collection-holds/collection-holds.js.map +1 -0
- package/dist/generated/index.schemas.d.ts +1388 -61
- package/dist/generated/index.schemas.d.ts.map +1 -1
- package/dist/generated/index.schemas.js +151 -5
- package/dist/generated/index.schemas.js.map +1 -1
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.d.ts +38 -0
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.d.ts.map +1 -0
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.js +41 -0
- package/dist/generated/invoice-auto-charge-mode/invoice-auto-charge-mode.js.map +1 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.d.ts +31 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.d.ts.map +1 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.js +15 -0
- package/dist/generated/organization-stored-volume/organization-stored-volume.js.map +1 -0
- package/dist/generated/organizations/organizations.d.ts +1 -1
- package/dist/generated/organizations/organizations.js +1 -1
- package/dist/generated/price-presentation/price-presentation.d.ts +38 -0
- package/dist/generated/price-presentation/price-presentation.d.ts.map +1 -0
- package/dist/generated/price-presentation/price-presentation.js +41 -0
- package/dist/generated/price-presentation/price-presentation.js.map +1 -0
- package/dist/generated/provider-switch/provider-switch.d.ts +5 -1
- package/dist/generated/provider-switch/provider-switch.d.ts.map +1 -1
- package/dist/generated/provider-switch/provider-switch.js.map +1 -1
- package/dist/generated/service-points/service-points.d.ts +1 -1
- package/dist/generated/service-points/service-points.js +1 -1
- package/dist/generated/tenant-config/tenant-config.d.ts +29 -1
- package/dist/generated/tenant-config/tenant-config.d.ts.map +1 -1
- package/dist/generated/tenant-config/tenant-config.js +39 -0
- package/dist/generated/tenant-config/tenant-config.js.map +1 -1
- package/dist/generated/users/users.d.ts +1 -1
- package/dist/generated/users/users.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export const getAnalyticsControllerOverviewV1Url = (params) => {
|
|
|
11
11
|
return stringifiedParams.length > 0 ? `/v1/analytics/overview?${stringifiedParams}` : `/v1/analytics/overview`;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
* Point-in-time figures (`pointInTime`) are read at `asOf`, at the end of the month before, and on the same day a month earlier (clamped: 31 Oct → 30 Sep). Figures that add up over a period (`periods`) are read month-to-date, over the same days of last month, over the last full month and over the month before. Every month is a calendar month in the tenant's billing calendar, and money is per currency, never summed across currencies. Measured volume reads low until a provider-run warehouse reports its measurements, which is why estimated volume is given beside it. Figures for a past night are as known now: the nightly build fills in nights it missed. `estimatedInvoicesThisMonth` is an estimate from live billing rows. 400 as_of_not_built for an asOf after the latest night built;
|
|
14
|
+
* Point-in-time figures (`pointInTime`) are read at `asOf`, at the end of the month before, and on the same day a month earlier (clamped: 31 Oct → 30 Sep). Figures that add up over a period (`periods`) are read month-to-date, over the same days of last month, over the last full month and over the month before. `range` carries the same figures over `from`–`to` and over the range it is compared with, each with the average lifetime value to date of its acquisition cohort: the customers whose first stored night falls in it. `to` is `asOf` by its newer name and both default to the latest night built; `from` defaults to the 1st of its month. A range starting on a 1st compares with the same span as many calendar months earlier as it spans (October with September, 1–10 Nov with 1–10 Oct); any other range with as many days immediately before it. `pointInTime.previousRangeEnd` is read at the last night of the range compared with. Every month is a calendar month in the tenant's billing calendar, and money is per currency, never summed across currencies. Measured volume reads low until a provider-run warehouse reports its measurements, which is why estimated volume is given beside it. Figures for a past night are as known now: the nightly build fills in nights it missed. `averagePricePerM3Trend` prices each of the twelve service months before asOf's once it is fully invoiced and flags the rest, never estimating them. `estimatedInvoicesThisMonth` is an estimate from live billing rows. Article names are in `locale` where the article has a name in it, else its default name; categories are codes for the client to label. 400 as_of_not_built for an asOf, and date_range_not_built for a `to`, after the latest night built; as_of_and_to_exclusive when both are given; date_range_required when `from` is after `to`; date_range_too_wide past 25 calendar months; invalid_date for a day that does not exist or falls outside 2000–2999; 400 for an unsupported `locale`. 503 analytics_busy when this replica is already serving its share of analytics requests, and 503 analytics_timeout when a figure takes too long to compute; both are retryable. 🔒 Requires permission: analytics:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
15
15
|
* @summary Every dashboard figure, each with its two comparisons
|
|
16
16
|
*/
|
|
17
17
|
export const analyticsControllerOverviewV1 = async (params, options) => {
|
|
@@ -21,6 +21,27 @@ export const analyticsControllerOverviewV1 = async (params, options) => {
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
;
|
|
24
|
+
export const getAnalyticsControllerStorageForecastV1Url = (params) => {
|
|
25
|
+
const normalizedParams = new URLSearchParams();
|
|
26
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
27
|
+
if (value !== undefined) {
|
|
28
|
+
normalizedParams.append(key, value === null ? 'null' : String(value));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const stringifiedParams = normalizedParams.toString();
|
|
32
|
+
return stringifiedParams.length > 0 ? `/v1/analytics/storage-forecast?${stringifiedParams}` : `/v1/analytics/storage-forecast`;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Continues the volume the dashboard charts from the latest night built: each day is the day before's, plus the pickups planned on it, minus the deliveries planned on it. A pickup counts at its estimated volume times `ratio`, the tenant's measured-to-estimated ratio over the last 90 days of measured pods (1 with `source: cold_start` while fewer than `minPods` were measured). Deliveries leave at the size the stored goods are counted at; packing materials and merchandise sales are no delivery. A forecast, not a figure: goods that arrive or leave without a booking are not in it. `days` is 1–60, default 30. Not paged. 503 analytics_busy when this replica is already serving its share of analytics requests, and 503 analytics_timeout when a figure takes too long to compute; both are retryable. 🔒 Requires permission: analytics:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
36
|
+
* @summary m³ in storage over the next 30 or 60 days, from the orders already booked
|
|
37
|
+
*/
|
|
38
|
+
export const analyticsControllerStorageForecastV1 = async (params, options) => {
|
|
39
|
+
return customFetch(getAnalyticsControllerStorageForecastV1Url(params), {
|
|
40
|
+
...options,
|
|
41
|
+
method: 'GET'
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
;
|
|
24
45
|
export const getAnalyticsControllerDailyV1Url = (params) => {
|
|
25
46
|
const normalizedParams = new URLSearchParams();
|
|
26
47
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -105,6 +126,27 @@ export const analyticsControllerCustomerMonthsV1 = async (params, options) => {
|
|
|
105
126
|
});
|
|
106
127
|
};
|
|
107
128
|
;
|
|
129
|
+
export const getAnalyticsControllerOrdersV1Url = (params) => {
|
|
130
|
+
const normalizedParams = new URLSearchParams();
|
|
131
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
132
|
+
if (value !== undefined) {
|
|
133
|
+
normalizedParams.append(key, value === null ? 'null' : String(value));
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
const stringifiedParams = normalizedParams.toString();
|
|
137
|
+
return stringifiedParams.length > 0 ? `/v1/analytics/orders?${stringifiedParams}` : `/v1/analytics/orders`;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* One row per order placed in the range, by when it was placed, in the columns and order of the pilot's order export: customerKey (user/customer_number), jobNumber (order_id), type, createdAt, plannedWindowStart and plannedWindowEnd (preferred_transport_from/to), status, handleTimeAtCustomerMinutes (sales_order_transports/0/handle_time_at_customer), productCount, actualVolumeCm3 and billableVolumeCm3 (actual_volume, billable_volume), movingBoxCount (movingBoxes/aggregate/count), itemCount (totalItems/aggregate/count), estimatedItemCount and estimatedVolumeCm3 (sales_order_estimates/0/items and volume), then stayNumber and goodsMovedAt. The pilot's user/internal_user is not carried, since no customer is marked internal or a test account, nor its user/subscription/binding_volume and billable_volume. Volumes are in cm³ and instants in UTC. `type` is one of PICKUP, DELIVERY, MOVE, DROP_OFF, TRANSFER, PICKING, MERCHANDISE_SALE. `status` is the order's status today, one of CREATED, CONFIRMED, REQUESTED, PROCESSING, PROCESSED, IN_TRANSIT, AT_CUSTOMER, RECEIVED, COMPLETED, CANCELLED, FAILED; the pilot's REMOVED is closest to CANCELLED. The window and handle time are the customer leg's: the leg that collects from the customer or delivers to them. The handle time is measured, from the driver's arrival at its stop to completing it, and null until both are recorded. productCount is the order's product lines; itemCount the units on them; movingBoxCount the units whose product is a moving box. A merchandise sale's goods are not product lines. The measured and billable volumes are set when the order completes. goodsMovedAt is when the goods arrived in storage or left it: a pickup's receipt (its first status of RECEIVED, PROCESSING, PROCESSED or COMPLETED), and the completion of a delivery's last delivery leg, which a delivery the warehouse provider books carries only once its leg is closed. It is null for every other type, for goods that have not moved, and for a cancelled or failed order. stayNumber is the customer's stay whose nights cover goodsMovedAt's day in the billing calendar, one night earlier for a pickup (received after the night's last count) and one later for a delivery (closed the day after its planned day), and joins the `stays` dataset on (customerKey, stayNumber). It is null when no stay covers that day, when goodsMovedAt is after the latest night built (the next build places it), and for a pickup put away two or more nights after its receipt. Everything but the stay is read now. `from`/`to` default to the 13 calendar months ending at the latest night built, and may span at most 25 months: 400 date_range_not_built for a `to` after the latest night built, date_range_required when from is after to, date_range_too_wide past 25 months, invalid_date for a day that does not exist or falls outside 2000–2999. A customer is identified by `customerKey`, never by organization id, and no row carries a name, email, address or identity number. Unlike the other datasets it is not pseudonymous on its own: `jobNumber` is the order's own number, so anyone who can look orders up can tell whose a row is, and with it every row of that `customerKey` in the other datasets. Paged by keyset: pass `nextCursor` back as `cursor` until it is null; up to 5000 rows a page. 400 invalid_cursor for a cursor this dataset did not issue. 503 analytics_busy when this replica is already serving its share of analytics requests, and 503 analytics_timeout when a figure takes too long to compute; both are retryable. 🔒 Requires permission: analytics:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
141
|
+
* @summary One row per order, in the pilot's order export columns, placed in the customer's stays
|
|
142
|
+
*/
|
|
143
|
+
export const analyticsControllerOrdersV1 = async (params, options) => {
|
|
144
|
+
return customFetch(getAnalyticsControllerOrdersV1Url(params), {
|
|
145
|
+
...options,
|
|
146
|
+
method: 'GET'
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
;
|
|
108
150
|
export const getAnalyticsControllerRevenueV1Url = (params) => {
|
|
109
151
|
const normalizedParams = new URLSearchParams();
|
|
110
152
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/generated/analytics/analytics.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/generated/analytics/analytics.ts"],"names":[],"mappings":"AA0BA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,MAA4C,EAAG,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d,CACF,CAAC;AAAA,CAAC,CAAA;AAWH,CAAC;AAID,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,MAA2C,EAAG,EAAE;IACjG,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,yBAAyB,iBAAiB,EAAE,CAAC,CAAC,CAAC,uBAAuB,CAAA;AAC9G,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,KAAK,EAAE,MAA2C,EAAE,OAA2C,EAAiD,EAAE;IAE5L,OAAO,WAAW,CAAuC,kCAAkC,CAAC,MAAM,CAAC,EACnG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -60,10 +60,17 @@ export type billingAccountsControllerUpdateAccountV1Response200 = {
|
|
|
60
60
|
data: BillingAccountDto;
|
|
61
61
|
status: 200;
|
|
62
62
|
};
|
|
63
|
+
export type billingAccountsControllerUpdateAccountV1Response400 = {
|
|
64
|
+
data: void;
|
|
65
|
+
status: 400;
|
|
66
|
+
};
|
|
63
67
|
export type billingAccountsControllerUpdateAccountV1ResponseSuccess = (billingAccountsControllerUpdateAccountV1Response200) & {
|
|
64
68
|
headers: Headers;
|
|
65
69
|
};
|
|
66
|
-
export type
|
|
70
|
+
export type billingAccountsControllerUpdateAccountV1ResponseError = (billingAccountsControllerUpdateAccountV1Response400) & {
|
|
71
|
+
headers: Headers;
|
|
72
|
+
};
|
|
73
|
+
export type billingAccountsControllerUpdateAccountV1Response = (billingAccountsControllerUpdateAccountV1ResponseSuccess | billingAccountsControllerUpdateAccountV1ResponseError);
|
|
67
74
|
export declare const getBillingAccountsControllerUpdateAccountV1Url: (id: string) => string;
|
|
68
75
|
/**
|
|
69
76
|
* 🔒 Requires permission: billingaccount:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-accounts.d.ts","sourceRoot":"","sources":["../../../src/generated/billing-accounts/billing-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,6CAA6C,EAC7C,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IAC1H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,+CAA+C,GAAG,CAAC,sDAAsD,CAAC,CAAA;AAEtH,eAAO,MAAM,6CAA6C,GAAI,SAAS,6CAA6C,WAanH,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uCAAuC,GAAU,SAAS,6CAA6C,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,+CAA+C,CASxN,CAAA;AAGH,MAAM,MAAM,mDAAmD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AAA;CACZ,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,CAAC,mDAAmD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"billing-accounts.d.ts","sourceRoot":"","sources":["../../../src/generated/billing-accounts/billing-accounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,iBAAiB,EACjB,6CAA6C,EAC7C,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IAC1H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,+CAA+C,GAAG,CAAC,sDAAsD,CAAC,CAAA;AAEtH,eAAO,MAAM,6CAA6C,GAAI,SAAS,6CAA6C,WAanH,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uCAAuC,GAAU,SAAS,6CAA6C,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,+CAA+C,CASxN,CAAA;AAGH,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,iBAAiB,CAAA;IACvB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,CAAC,mDAAmD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAA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G;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,KAAK,EAAE,uBAAgD,EAAE,OAA2C,EAA6D,EAAE;IAEvN,MAAM,UAAU,GAAG,CAAC,CAAuC,EAA8C,EAAE;QAC3G,IAAI,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAClB,IAAI,CAAC,YAAY,OAAO;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACjE,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACJ,OAAO,WAAW,CAAmD,8CAA8C,EAAE,EACnH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC;KAC9C,CACF,CAAC;AAAA,CAAC,CAAA;AAWH,CAAC;AAID,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK7E,OAAO,wBAAwB,EAAE,EAAE,CAAA;AACrC,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,EAAU,EAAE,OAA2C,EAA8D,EAAE;IAErL,OAAO,WAAW,CAAoD,+CAA+C,CAAC,EAAE,CAAC,EACzH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"billing-accounts.js","sourceRoot":"","sources":["../../../src/generated/billing-accounts/billing-accounts.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID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,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC;KACpC,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
import type { CollectionHoldsControllerListCollectionHoldsV1Params, PaginatedCollectionHoldsDto } from '../index.schemas.js';
|
|
9
|
+
import { customFetch } from '../../mutator.js';
|
|
10
|
+
export type collectionHoldsControllerListCollectionHoldsV1Response200 = {
|
|
11
|
+
data: PaginatedCollectionHoldsDto;
|
|
12
|
+
status: 200;
|
|
13
|
+
};
|
|
14
|
+
export type collectionHoldsControllerListCollectionHoldsV1ResponseSuccess = (collectionHoldsControllerListCollectionHoldsV1Response200) & {
|
|
15
|
+
headers: Headers;
|
|
16
|
+
};
|
|
17
|
+
export type collectionHoldsControllerListCollectionHoldsV1Response = (collectionHoldsControllerListCollectionHoldsV1ResponseSuccess);
|
|
18
|
+
export declare const getCollectionHoldsControllerListCollectionHoldsV1Url: (params?: CollectionHoldsControllerListCollectionHoldsV1Params) => string;
|
|
19
|
+
/**
|
|
20
|
+
* Open invoices (SENT, PARTIALLY_PAID, OVERDUE) collected by card on the Stripe rail with at least one credit note against them that is not voided, not-yet-due ones included. The due-date charge holds such an invoice while every credit note is a draft (DRAFT_CREDIT_NOTE) and stops for good once one is sent (CREDITED); `reason` says what staff do next. Oldest due date first, then invoice id. Paying the invoice, or voiding its only draft credit note, removes it from the list. A CREDITED invoice stays listed until its status leaves SENT, PARTIALLY_PAID and OVERDUE, even when nothing is owed: the platform does not close a sent invoice that credit notes cover. 🔒 Requires permission: invoice:correct. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
21
|
+
* @summary List the card invoices a credit note keeps the due-date charge from collecting
|
|
22
|
+
*/
|
|
23
|
+
export declare const collectionHoldsControllerListCollectionHoldsV1: (params?: CollectionHoldsControllerListCollectionHoldsV1Params, options?: Parameters<typeof customFetch>[1]) => Promise<collectionHoldsControllerListCollectionHoldsV1Response>;
|
|
24
|
+
//# sourceMappingURL=collection-holds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-holds.d.ts","sourceRoot":"","sources":["../../../src/generated/collection-holds/collection-holds.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oDAAoD,EACpD,2BAA2B,EAC5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,2BAA2B,CAAA;IACjC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,6DAA6D,GAAG,CAAC,yDAAyD,CAAC,GAAG;IACxI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,sDAAsD,GAAG,CAAC,6DAA6D,CAAC,CAAA;AAEpI,eAAO,MAAM,oDAAoD,GAAI,SAAS,oDAAoD,WAajI,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,8CAA8C,GAAU,SAAS,oDAAoD,EAAE,UAAU,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,KAAG,OAAO,CAAC,sDAAsD,CAS7O,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
;
|
|
3
|
+
export const getCollectionHoldsControllerListCollectionHoldsV1Url = (params) => {
|
|
4
|
+
const normalizedParams = new URLSearchParams();
|
|
5
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
6
|
+
if (value !== undefined) {
|
|
7
|
+
normalizedParams.append(key, value === null ? 'null' : String(value));
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
const stringifiedParams = normalizedParams.toString();
|
|
11
|
+
return stringifiedParams.length > 0 ? `/v1/billing/collection-holds?${stringifiedParams}` : `/v1/billing/collection-holds`;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Open invoices (SENT, PARTIALLY_PAID, OVERDUE) collected by card on the Stripe rail with at least one credit note against them that is not voided, not-yet-due ones included. The due-date charge holds such an invoice while every credit note is a draft (DRAFT_CREDIT_NOTE) and stops for good once one is sent (CREDITED); `reason` says what staff do next. Oldest due date first, then invoice id. Paying the invoice, or voiding its only draft credit note, removes it from the list. A CREDITED invoice stays listed until its status leaves SENT, PARTIALLY_PAID and OVERDUE, even when nothing is owed: the platform does not close a sent invoice that credit notes cover. 🔒 Requires permission: invoice:correct. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
15
|
+
* @summary List the card invoices a credit note keeps the due-date charge from collecting
|
|
16
|
+
*/
|
|
17
|
+
export const collectionHoldsControllerListCollectionHoldsV1 = async (params, options) => {
|
|
18
|
+
return customFetch(getCollectionHoldsControllerListCollectionHoldsV1Url(params), {
|
|
19
|
+
...options,
|
|
20
|
+
method: 'GET'
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=collection-holds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-holds.js","sourceRoot":"","sources":["../../../src/generated/collection-holds/collection-holds.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAU/C,CAAC;AAID,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAAC,MAA6D,EAAG,EAAE;IACrI,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;QACvE,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,gCAAgC,iBAAiB,EAAE,CAAC,CAAC,CAAC,8BAA8B,CAAA;AAC5H,CAAC,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,KAAK,EAAE,MAA6D,EAAE,OAA2C,EAAmE,EAAE;IAElP,OAAO,WAAW,CAAyD,oDAAoD,CAAC,MAAM,CAAC,EACvI;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
|