@augno/sdk 0.17.0 → 0.18.1
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/CHANGELOG.md +5 -4
- package/package.json +1 -1
- package/resources/ai/memories.d.mts +6 -6
- package/resources/ai/memories.d.mts.map +1 -1
- package/resources/ai/memories.d.ts +6 -6
- package/resources/ai/memories.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +8 -0
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +8 -0
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +3 -0
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +3 -0
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +3 -0
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +3 -0
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/materials/materials.d.mts +6 -0
- package/resources/catalog/materials/materials.d.mts.map +1 -1
- package/resources/catalog/materials/materials.d.ts +6 -0
- package/resources/catalog/materials/materials.d.ts.map +1 -1
- package/resources/catalog/materials/materials.js.map +1 -1
- package/resources/catalog/materials/materials.mjs.map +1 -1
- package/resources/catalog/parts/parts.d.mts +6 -0
- package/resources/catalog/parts/parts.d.mts.map +1 -1
- package/resources/catalog/parts/parts.d.ts +6 -0
- package/resources/catalog/parts/parts.d.ts.map +1 -1
- package/resources/catalog/parts/parts.js.map +1 -1
- package/resources/catalog/parts/parts.mjs.map +1 -1
- package/resources/catalog/products/products.d.mts +6 -4
- package/resources/catalog/products/products.d.mts.map +1 -1
- package/resources/catalog/products/products.d.ts +6 -4
- package/resources/catalog/products/products.d.ts.map +1 -1
- package/resources/catalog/products/products.js.map +1 -1
- package/resources/catalog/products/products.mjs.map +1 -1
- package/resources/core/actions.d.mts +73 -0
- package/resources/core/actions.d.mts.map +1 -0
- package/resources/core/actions.d.ts +73 -0
- package/resources/core/actions.d.ts.map +1 -0
- package/resources/core/actions.js +36 -0
- package/resources/core/actions.js.map +1 -0
- package/resources/core/actions.mjs +32 -0
- package/resources/core/actions.mjs.map +1 -0
- package/resources/core/audit-events.d.mts +4 -4
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +4 -4
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/core.d.mts +6 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +6 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js +4 -0
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +4 -0
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/index.d.mts +1 -0
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +1 -0
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js +3 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs +1 -0
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/jobs.d.mts +1 -1
- package/resources/core/jobs.d.mts.map +1 -1
- package/resources/core/jobs.d.ts +1 -1
- package/resources/core/jobs.d.ts.map +1 -1
- package/resources/finance/payment-terms.d.mts +5 -5
- package/resources/finance/payment-terms.d.mts.map +1 -1
- package/resources/finance/payment-terms.d.ts +5 -5
- package/resources/finance/payment-terms.d.ts.map +1 -1
- package/resources/finance/payment-terms.js.map +1 -1
- package/resources/finance/payment-terms.mjs.map +1 -1
- package/resources/messaging/conversations/conversations.d.mts +3 -3
- package/resources/messaging/conversations/conversations.d.mts.map +1 -1
- package/resources/messaging/conversations/conversations.d.ts +3 -3
- package/resources/messaging/conversations/conversations.d.ts.map +1 -1
- package/resources/messaging/conversations/conversations.js.map +1 -1
- package/resources/messaging/conversations/conversations.mjs.map +1 -1
- package/resources/messaging/conversations/links.d.mts +2 -2
- package/resources/messaging/conversations/links.d.mts.map +1 -1
- package/resources/messaging/conversations/links.d.ts +2 -2
- package/resources/messaging/conversations/links.d.ts.map +1 -1
- package/resources/messaging/conversations/messages.d.mts +2 -2
- package/resources/messaging/conversations/messages.d.mts.map +1 -1
- package/resources/messaging/conversations/messages.d.ts +2 -2
- package/resources/messaging/conversations/messages.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.d.mts +2 -2
- package/resources/messaging/notifications/notifications.d.mts.map +1 -1
- package/resources/messaging/notifications/notifications.d.ts +2 -2
- package/resources/messaging/notifications/notifications.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.js.map +1 -1
- package/resources/messaging/notifications/notifications.mjs.map +1 -1
- package/resources/operations/carriers/carriers.d.mts +5 -5
- package/resources/operations/carriers/carriers.d.mts.map +1 -1
- package/resources/operations/carriers/carriers.d.ts +5 -5
- package/resources/operations/carriers/carriers.d.ts.map +1 -1
- package/resources/operations/carriers/service-levels.d.mts +5 -5
- package/resources/operations/carriers/service-levels.d.mts.map +1 -1
- package/resources/operations/carriers/service-levels.d.ts +5 -5
- package/resources/operations/carriers/service-levels.d.ts.map +1 -1
- package/resources/operations/index.d.mts +1 -0
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +1 -0
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.js +9 -7
- package/resources/operations/index.js.map +1 -1
- package/resources/operations/index.mjs +1 -0
- package/resources/operations/index.mjs.map +1 -1
- package/resources/operations/operating-calendars/closures.d.mts +173 -0
- package/resources/operations/operating-calendars/closures.d.mts.map +1 -0
- package/resources/operations/operating-calendars/closures.d.ts +173 -0
- package/resources/operations/operating-calendars/closures.d.ts.map +1 -0
- package/resources/operations/operating-calendars/closures.js +81 -0
- package/resources/operations/operating-calendars/closures.js.map +1 -0
- package/resources/operations/operating-calendars/closures.mjs +77 -0
- package/resources/operations/operating-calendars/closures.mjs.map +1 -0
- package/resources/operations/operating-calendars/index.d.mts +3 -0
- package/resources/operations/operating-calendars/index.d.mts.map +1 -0
- package/resources/operations/operating-calendars/index.d.ts +3 -0
- package/resources/operations/operating-calendars/index.d.ts.map +1 -0
- package/resources/operations/operating-calendars/index.js +9 -0
- package/resources/operations/operating-calendars/index.js.map +1 -0
- package/resources/operations/operating-calendars/index.mjs +4 -0
- package/resources/operations/operating-calendars/index.mjs.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.d.mts +332 -0
- package/resources/operations/operating-calendars/operating-calendars.d.mts.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.d.ts +332 -0
- package/resources/operations/operating-calendars/operating-calendars.d.ts.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.js +129 -0
- package/resources/operations/operating-calendars/operating-calendars.js.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.mjs +124 -0
- package/resources/operations/operating-calendars/operating-calendars.mjs.map +1 -0
- package/resources/operations/operating-calendars.d.mts +2 -0
- package/resources/operations/operating-calendars.d.mts.map +1 -0
- package/resources/operations/operating-calendars.d.ts +2 -0
- package/resources/operations/operating-calendars.d.ts.map +1 -0
- package/resources/operations/operating-calendars.js +6 -0
- package/resources/operations/operating-calendars.js.map +1 -0
- package/resources/operations/operating-calendars.mjs +3 -0
- package/resources/operations/operating-calendars.mjs.map +1 -0
- package/resources/operations/operations.d.mts +4 -0
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +4 -0
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js +4 -0
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs +4 -0
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +30 -0
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +30 -0
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -1
- package/resources/operations/production-schedules/lines.d.mts +10 -6
- package/resources/operations/production-schedules/lines.d.mts.map +1 -1
- package/resources/operations/production-schedules/lines.d.ts +10 -6
- package/resources/operations/production-schedules/lines.d.ts.map +1 -1
- package/resources/operations/shipments/actions.d.mts +3 -3
- package/resources/operations/shipments/actions.d.mts.map +1 -1
- package/resources/operations/shipments/actions.d.ts +3 -3
- package/resources/operations/shipments/actions.d.ts.map +1 -1
- package/resources/operations/shipping-terms.d.mts +5 -5
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +5 -5
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/operations/shipping-terms.js.map +1 -1
- package/resources/operations/shipping-terms.mjs.map +1 -1
- package/resources/sales/account-prices/account-prices.d.mts +1007 -0
- package/resources/sales/account-prices/account-prices.d.mts.map +1 -0
- package/resources/sales/account-prices/account-prices.d.ts +1007 -0
- package/resources/sales/account-prices/account-prices.d.ts.map +1 -0
- package/resources/sales/account-prices/account-prices.js +143 -0
- package/resources/sales/account-prices/account-prices.js.map +1 -0
- package/resources/sales/account-prices/account-prices.mjs +138 -0
- package/resources/sales/account-prices/account-prices.mjs.map +1 -0
- package/resources/sales/account-prices/actions.d.mts +58 -0
- package/resources/sales/account-prices/actions.d.mts.map +1 -0
- package/resources/sales/account-prices/actions.d.ts +58 -0
- package/resources/sales/account-prices/actions.d.ts.map +1 -0
- package/resources/sales/account-prices/actions.js +44 -0
- package/resources/sales/account-prices/actions.js.map +1 -0
- package/resources/sales/account-prices/actions.mjs +40 -0
- package/resources/sales/account-prices/actions.mjs.map +1 -0
- package/resources/sales/account-prices/index.d.mts +3 -0
- package/resources/sales/account-prices/index.d.mts.map +1 -0
- package/resources/sales/account-prices/index.d.ts +3 -0
- package/resources/sales/account-prices/index.d.ts.map +1 -0
- package/resources/sales/account-prices/index.js +9 -0
- package/resources/sales/account-prices/index.js.map +1 -0
- package/resources/sales/account-prices/index.mjs +4 -0
- package/resources/sales/account-prices/index.mjs.map +1 -0
- package/resources/sales/account-prices.d.mts +2 -0
- package/resources/sales/account-prices.d.mts.map +1 -0
- package/resources/sales/account-prices.d.ts +2 -0
- package/resources/sales/account-prices.d.ts.map +1 -0
- package/resources/sales/account-prices.js +6 -0
- package/resources/sales/account-prices.js.map +1 -0
- package/resources/sales/account-prices.mjs +3 -0
- package/resources/sales/account-prices.mjs.map +1 -0
- package/resources/sales/addresses.d.mts +20 -0
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +20 -0
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/customers/actions.d.mts +2 -2
- package/resources/sales/customers/actions.d.mts.map +1 -1
- package/resources/sales/customers/actions.d.ts +2 -2
- package/resources/sales/customers/actions.d.ts.map +1 -1
- package/resources/sales/customers/actions.js.map +1 -1
- package/resources/sales/customers/actions.mjs.map +1 -1
- package/resources/sales/customers/customers.d.mts +35 -564
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +35 -564
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs.map +1 -1
- package/resources/sales/customers/index.d.mts +1 -1
- package/resources/sales/customers/index.d.mts.map +1 -1
- package/resources/sales/customers/index.d.ts +1 -1
- package/resources/sales/customers/index.d.ts.map +1 -1
- package/resources/sales/customers/index.js.map +1 -1
- package/resources/sales/customers/index.mjs.map +1 -1
- package/resources/sales/index.d.mts +6 -3
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +6 -3
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js +15 -9
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs +3 -0
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/order-discounts/actions.d.mts +85 -0
- package/resources/sales/order-discounts/actions.d.mts.map +1 -0
- package/resources/sales/order-discounts/actions.d.ts +85 -0
- package/resources/sales/order-discounts/actions.d.ts.map +1 -0
- package/resources/sales/order-discounts/actions.js +35 -0
- package/resources/sales/order-discounts/actions.js.map +1 -0
- package/resources/sales/order-discounts/actions.mjs +31 -0
- package/resources/sales/order-discounts/actions.mjs.map +1 -0
- package/resources/sales/order-discounts/index.d.mts +3 -0
- package/resources/sales/order-discounts/index.d.mts.map +1 -0
- package/resources/sales/order-discounts/index.d.ts +3 -0
- package/resources/sales/order-discounts/index.d.ts.map +1 -0
- package/resources/sales/order-discounts/index.js +9 -0
- package/resources/sales/order-discounts/index.js.map +1 -0
- package/resources/sales/order-discounts/index.mjs +4 -0
- package/resources/sales/order-discounts/index.mjs.map +1 -0
- package/resources/sales/order-discounts/order-discounts.d.mts +365 -0
- package/resources/sales/order-discounts/order-discounts.d.mts.map +1 -0
- package/resources/sales/order-discounts/order-discounts.d.ts +365 -0
- package/resources/sales/order-discounts/order-discounts.d.ts.map +1 -0
- package/resources/sales/order-discounts/order-discounts.js +125 -0
- package/resources/sales/order-discounts/order-discounts.js.map +1 -0
- package/resources/sales/order-discounts/order-discounts.mjs +120 -0
- package/resources/sales/order-discounts/order-discounts.mjs.map +1 -0
- package/resources/sales/order-discounts.d.mts +2 -0
- package/resources/sales/order-discounts.d.mts.map +1 -0
- package/resources/sales/order-discounts.d.ts +2 -0
- package/resources/sales/order-discounts.d.ts.map +1 -0
- package/resources/sales/order-discounts.js +6 -0
- package/resources/sales/order-discounts.js.map +1 -0
- package/resources/sales/order-discounts.mjs +3 -0
- package/resources/sales/order-discounts.mjs.map +1 -0
- package/resources/sales/priorities.d.mts +4 -44
- package/resources/sales/priorities.d.mts.map +1 -1
- package/resources/sales/priorities.d.ts +4 -44
- package/resources/sales/priorities.d.ts.map +1 -1
- package/resources/sales/priorities.js.map +1 -1
- package/resources/sales/priorities.mjs.map +1 -1
- package/resources/sales/sales-orders/actions.d.mts +205 -1
- package/resources/sales/sales-orders/actions.d.mts.map +1 -1
- package/resources/sales/sales-orders/actions.d.ts +205 -1
- package/resources/sales/sales-orders/actions.d.ts.map +1 -1
- package/resources/sales/sales-orders/actions.js +36 -0
- package/resources/sales/sales-orders/actions.js.map +1 -1
- package/resources/sales/sales-orders/actions.mjs +36 -0
- package/resources/sales/sales-orders/actions.mjs.map +1 -1
- package/resources/sales/sales-orders/index.d.mts +2 -2
- package/resources/sales/sales-orders/index.d.mts.map +1 -1
- package/resources/sales/sales-orders/index.d.ts +2 -2
- package/resources/sales/sales-orders/index.d.ts.map +1 -1
- package/resources/sales/sales-orders/index.js.map +1 -1
- package/resources/sales/sales-orders/index.mjs.map +1 -1
- package/resources/sales/sales-orders/lines/lines.d.mts +2 -2
- package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
- package/resources/sales/sales-orders/lines/lines.d.ts +2 -2
- package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.mts +115 -78
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +115 -78
- package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
- package/resources/sales/sales.d.mts +18 -6
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +18 -6
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js +12 -0
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs +12 -0
- package/resources/sales/sales.mjs.map +1 -1
- package/resources/sales/volume-discounts.d.mts +684 -0
- package/resources/sales/volume-discounts.d.mts.map +1 -0
- package/resources/sales/volume-discounts.d.ts +684 -0
- package/resources/sales/volume-discounts.d.ts.map +1 -0
- package/resources/sales/volume-discounts.js +152 -0
- package/resources/sales/volume-discounts.js.map +1 -0
- package/resources/sales/volume-discounts.mjs +148 -0
- package/resources/sales/volume-discounts.mjs.map +1 -0
- package/src/resources/ai/memories.ts +6 -6
- package/src/resources/auth/api-keys/api-keys.ts +9 -0
- package/src/resources/catalog/items/attributes.ts +3 -0
- package/src/resources/catalog/materials/materials.ts +6 -0
- package/src/resources/catalog/parts/parts.ts +6 -0
- package/src/resources/catalog/products/products.ts +6 -4
- package/src/resources/core/actions.ts +89 -0
- package/src/resources/core/audit-events.ts +12 -0
- package/src/resources/core/core.ts +17 -0
- package/src/resources/core/index.ts +6 -0
- package/src/resources/core/jobs.ts +3 -0
- package/src/resources/finance/payment-terms.ts +8 -5
- package/src/resources/messaging/conversations/conversations.ts +9 -0
- package/src/resources/messaging/conversations/links.ts +6 -0
- package/src/resources/messaging/conversations/messages.ts +6 -0
- package/src/resources/messaging/notifications/notifications.ts +6 -0
- package/src/resources/operations/carriers/carriers.ts +5 -5
- package/src/resources/operations/carriers/service-levels.ts +5 -5
- package/src/resources/operations/index.ts +11 -0
- package/src/resources/operations/operating-calendars/closures.ts +223 -0
- package/src/resources/operations/operating-calendars/index.ts +23 -0
- package/src/resources/operations/operating-calendars/operating-calendars.ts +427 -0
- package/src/resources/operations/operating-calendars.ts +3 -0
- package/src/resources/operations/operations.ts +28 -0
- package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +36 -0
- package/src/resources/operations/production-schedules/lines.ts +10 -6
- package/src/resources/operations/shipments/actions.ts +3 -3
- package/src/resources/operations/shipping-terms.ts +8 -5
- package/src/resources/sales/account-prices/account-prices.ts +1200 -0
- package/src/resources/sales/account-prices/actions.ts +74 -0
- package/src/resources/sales/account-prices/index.ts +27 -0
- package/src/resources/sales/account-prices.ts +3 -0
- package/src/resources/sales/addresses.ts +24 -0
- package/src/resources/sales/customers/actions.ts +6 -2
- package/src/resources/sales/customers/customers.ts +37 -657
- package/src/resources/sales/customers/index.ts +0 -11
- package/src/resources/sales/index.ts +50 -13
- package/src/resources/sales/order-discounts/actions.ts +102 -0
- package/src/resources/sales/order-discounts/index.ts +13 -0
- package/src/resources/sales/order-discounts/order-discounts.ts +442 -0
- package/src/resources/sales/order-discounts.ts +3 -0
- package/src/resources/sales/priorities.ts +3 -51
- package/src/resources/sales/sales-orders/actions.ts +252 -0
- package/src/resources/sales/sales-orders/index.ts +4 -1
- package/src/resources/sales/sales-orders/lines/lines.ts +2 -2
- package/src/resources/sales/sales-orders/sales-orders.ts +139 -86
- package/src/resources/sales/sales.ts +113 -26
- package/src/resources/sales/volume-discounts.ts +813 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as APIKeysAPI from "../../auth/api-keys/api-keys.js";
|
|
3
|
+
import * as ClosuresAPI from "./closures.js";
|
|
4
|
+
import { ClosureCreateParams, ClosureDeleteParams, ClosureDeleteResponse, ClosureListParams, Closures, CreateOperatingCalendarClosureRequest, ListOperatingCalendarClosure, OperatingCalendarClosure } from "./closures.js";
|
|
5
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
7
|
+
/**
|
|
8
|
+
* The days a plant tenders freight and a customer's dock accepts it, less the holidays and shutdowns either side is closed for. Every ship-by date is resolved against them, so an order is never committed to a day nobody can act on.
|
|
9
|
+
*/
|
|
10
|
+
export declare class OperatingCalendars extends APIResource {
|
|
11
|
+
closures: ClosuresAPI.Closures;
|
|
12
|
+
/**
|
|
13
|
+
* Lists the operating calendars configured for the account.
|
|
14
|
+
*
|
|
15
|
+
* Both kinds are returned unless `kind` narrows it, ordered with each kind's
|
|
16
|
+
* default first.
|
|
17
|
+
*
|
|
18
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const listOperatingCalendar =
|
|
23
|
+
* await client.operations.operatingCalendars.list();
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
list(query?: OperatingCalendarListParams | null | undefined, options?: RequestOptions): APIPromise<ListOperatingCalendar>;
|
|
27
|
+
/**
|
|
28
|
+
* Retrieves one operating calendar by ID.
|
|
29
|
+
*
|
|
30
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const operatingCalendar =
|
|
35
|
+
* await client.operations.operatingCalendars.retrieve(
|
|
36
|
+
* 'occd_7f2m9qk4wzxb',
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<OperatingCalendar>;
|
|
41
|
+
/**
|
|
42
|
+
* Creates an operating calendar.
|
|
43
|
+
*
|
|
44
|
+
* The days govern every ship-by date resolved against this calendar: a plant that
|
|
45
|
+
* tenders freight Monday to Thursday never gets committed to a Friday shipment,
|
|
46
|
+
* and a customer's promised delivery date is worked back from a day they can
|
|
47
|
+
* actually receive on.
|
|
48
|
+
*
|
|
49
|
+
* A calendar starts with no closures. Add holidays and shutdowns to it separately.
|
|
50
|
+
*
|
|
51
|
+
* This endpoint requires the permission: `production_schedules:create`.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```ts
|
|
55
|
+
* const operatingCalendar =
|
|
56
|
+
* await client.operations.operatingCalendars.create({
|
|
57
|
+
* code: 'default_ship',
|
|
58
|
+
* days_of_week: '1111000',
|
|
59
|
+
* kind: 'ship',
|
|
60
|
+
* name: 'Shipping days',
|
|
61
|
+
* cutoff_at: '15:00',
|
|
62
|
+
* is_default: true,
|
|
63
|
+
* timezone: 'America/Chicago',
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
create(body: OperatingCalendarCreateParams, options?: RequestOptions): APIPromise<OperatingCalendar>;
|
|
68
|
+
/**
|
|
69
|
+
* Updates an operating calendar.
|
|
70
|
+
*
|
|
71
|
+
* A calendar's kind cannot change: a shipping calendar that became a receiving one
|
|
72
|
+
* would silently drop the pickup cutoff every commitment resolved against it
|
|
73
|
+
* depends on. Create a second calendar instead.
|
|
74
|
+
*
|
|
75
|
+
* Changes apply to commitments made from now on. Orders already issued keep the
|
|
76
|
+
* dates they were stamped with, so adding a holiday never retroactively makes a
|
|
77
|
+
* past order late.
|
|
78
|
+
*
|
|
79
|
+
* This endpoint requires the permission: `production_schedules:update`.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* const operatingCalendar =
|
|
84
|
+
* await client.operations.operatingCalendars.update(
|
|
85
|
+
* 'occd_7f2m9qk4wzxb',
|
|
86
|
+
* );
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
update(id: string, body?: OperatingCalendarUpdateParams | null | undefined, options?: RequestOptions): APIPromise<OperatingCalendar>;
|
|
90
|
+
/**
|
|
91
|
+
* Deletes an operating calendar.
|
|
92
|
+
*
|
|
93
|
+
* Refused while any address, customer, customer group, or account setting still
|
|
94
|
+
* points at it. Deleting a calendar out from under its references would quietly
|
|
95
|
+
* return every affected order to a plain Monday-to-Friday week, which reads as the
|
|
96
|
+
* feature breaking rather than as a decision anybody made — so re-point them
|
|
97
|
+
* first.
|
|
98
|
+
*
|
|
99
|
+
* This endpoint requires the permission: `production_schedules:delete`.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```ts
|
|
103
|
+
* const operatingCalendar =
|
|
104
|
+
* await client.operations.operatingCalendars.delete(
|
|
105
|
+
* 'occd_7f2m9qk4wzxb',
|
|
106
|
+
* );
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
delete(id: string, options?: RequestOptions): APIPromise<OperatingCalendarDeleteResponse>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Request to create an operating calendar.
|
|
113
|
+
*/
|
|
114
|
+
export interface CreateOperatingCalendarRequest {
|
|
115
|
+
/**
|
|
116
|
+
* Short stable identifier, unique per account.
|
|
117
|
+
*/
|
|
118
|
+
code: string;
|
|
119
|
+
/**
|
|
120
|
+
* Open weekdays as seven characters of '0' or '1', Monday first. "1111100" is
|
|
121
|
+
* Monday to Friday; "1111000" is a Monday-to-Thursday plant. At least one day must
|
|
122
|
+
* be open.
|
|
123
|
+
*/
|
|
124
|
+
days_of_week: string;
|
|
125
|
+
/**
|
|
126
|
+
* Which side of a shipment this calendar describes.
|
|
127
|
+
*/
|
|
128
|
+
kind: 'ship' | 'receive';
|
|
129
|
+
/**
|
|
130
|
+
* Human-readable name.
|
|
131
|
+
*/
|
|
132
|
+
name: string;
|
|
133
|
+
/**
|
|
134
|
+
* Local time freight has to be tendered by, as "15:00". Only a shipping calendar
|
|
135
|
+
* accepts one.
|
|
136
|
+
*/
|
|
137
|
+
cutoff_at?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Make this the calendar used when nothing more specific is linked. Setting it
|
|
140
|
+
* demotes whichever calendar of the same kind held the role.
|
|
141
|
+
*/
|
|
142
|
+
is_default?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* IANA zone the cutoff is read in, such as "America/Chicago". On a receiving
|
|
145
|
+
* calendar, leave it unset to take the zone from the ship-to address.
|
|
146
|
+
*/
|
|
147
|
+
timezone?: string;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* A single page of resources, together with the metadata needed to page through
|
|
151
|
+
* the rest of the result set.
|
|
152
|
+
*/
|
|
153
|
+
export interface ListOperatingCalendar {
|
|
154
|
+
/**
|
|
155
|
+
* Resources in this page.
|
|
156
|
+
*/
|
|
157
|
+
data: Array<OperatingCalendar>;
|
|
158
|
+
/**
|
|
159
|
+
* Resource type identifier.
|
|
160
|
+
*/
|
|
161
|
+
object: 'list';
|
|
162
|
+
/**
|
|
163
|
+
* PageInfo describes where the current page sits within a paginated result set and
|
|
164
|
+
* how to move to the adjacent pages.
|
|
165
|
+
*
|
|
166
|
+
* Page a list by following the URLs below rather than assembling cursors yourself.
|
|
167
|
+
* For a top-level list endpoint the URL repeats the original request's query
|
|
168
|
+
* string with only the cursor swapped, so following it preserves the same filters,
|
|
169
|
+
* search term, and page size.
|
|
170
|
+
*/
|
|
171
|
+
page_info: APIKeysAPI.PageInfo;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* OperatingCalendar is the set of days one party to a shipment operates.
|
|
175
|
+
*
|
|
176
|
+
* A `ship` calendar is the plant tendering freight to a carrier; a `receive`
|
|
177
|
+
* calendar is a customer's dock accepting it. Ship-by dates are resolved against
|
|
178
|
+
* both, so an order is never committed to a day nobody can act on.
|
|
179
|
+
*/
|
|
180
|
+
export interface OperatingCalendar {
|
|
181
|
+
/**
|
|
182
|
+
* Unique identifier.
|
|
183
|
+
*/
|
|
184
|
+
id: string;
|
|
185
|
+
/**
|
|
186
|
+
* Short stable identifier, unique per account.
|
|
187
|
+
*/
|
|
188
|
+
code: string;
|
|
189
|
+
/**
|
|
190
|
+
* Creation timestamp.
|
|
191
|
+
*/
|
|
192
|
+
created_at: string;
|
|
193
|
+
/**
|
|
194
|
+
* Local time freight has to be tendered by, as "15:00". Only a shipping calendar
|
|
195
|
+
* carries one.
|
|
196
|
+
*/
|
|
197
|
+
cutoff_at: string | null;
|
|
198
|
+
/**
|
|
199
|
+
* Open weekdays as seven characters of '0' or '1', Monday first. "1111100" is
|
|
200
|
+
* Monday to Friday; "1111000" is a Monday-to-Thursday plant.
|
|
201
|
+
*/
|
|
202
|
+
days_of_week: string;
|
|
203
|
+
/**
|
|
204
|
+
* Whether this is the calendar used when nothing more specific is linked. Exactly
|
|
205
|
+
* one per kind.
|
|
206
|
+
*/
|
|
207
|
+
is_default: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Which side of a shipment this calendar describes.
|
|
210
|
+
*/
|
|
211
|
+
kind: 'ship' | 'receive';
|
|
212
|
+
/**
|
|
213
|
+
* Human-readable name.
|
|
214
|
+
*/
|
|
215
|
+
name: string;
|
|
216
|
+
/**
|
|
217
|
+
* Resource type identifier.
|
|
218
|
+
*/
|
|
219
|
+
object: 'operating_calendar';
|
|
220
|
+
/**
|
|
221
|
+
* IANA zone the cutoff is read in. Null on a receiving calendar means it is taken
|
|
222
|
+
* from the ship-to address.
|
|
223
|
+
*/
|
|
224
|
+
timezone: string | null;
|
|
225
|
+
/**
|
|
226
|
+
* Last updated timestamp.
|
|
227
|
+
*/
|
|
228
|
+
updated_at: string;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Request to update an operating calendar.
|
|
232
|
+
*/
|
|
233
|
+
export interface UpdateOperatingCalendarRequest {
|
|
234
|
+
/**
|
|
235
|
+
* Local time freight has to be tendered by. Clearing it leaves the ship-by date a
|
|
236
|
+
* day with no time of day attached.
|
|
237
|
+
*/
|
|
238
|
+
cutoff_at?: string | null;
|
|
239
|
+
/**
|
|
240
|
+
* Open weekdays as seven characters of '0' or '1', Monday first. At least one day
|
|
241
|
+
* must be open.
|
|
242
|
+
*/
|
|
243
|
+
days_of_week?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Make this the calendar used when nothing more specific is linked. Setting it
|
|
246
|
+
* demotes whichever calendar of the same kind held the role.
|
|
247
|
+
*/
|
|
248
|
+
is_default?: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Human-readable name.
|
|
251
|
+
*/
|
|
252
|
+
name?: string;
|
|
253
|
+
/**
|
|
254
|
+
* IANA zone the cutoff is read in. Clearing it on a receiving calendar returns to
|
|
255
|
+
* taking the zone from the ship-to address.
|
|
256
|
+
*/
|
|
257
|
+
timezone?: string | null;
|
|
258
|
+
}
|
|
259
|
+
export interface OperatingCalendarDeleteResponse {
|
|
260
|
+
}
|
|
261
|
+
export interface OperatingCalendarListParams {
|
|
262
|
+
/**
|
|
263
|
+
* Return only shipping or only receiving calendars.
|
|
264
|
+
*/
|
|
265
|
+
kind?: 'ship' | 'receive';
|
|
266
|
+
}
|
|
267
|
+
export interface OperatingCalendarCreateParams {
|
|
268
|
+
/**
|
|
269
|
+
* Short stable identifier, unique per account.
|
|
270
|
+
*/
|
|
271
|
+
code: string;
|
|
272
|
+
/**
|
|
273
|
+
* Open weekdays as seven characters of '0' or '1', Monday first. "1111100" is
|
|
274
|
+
* Monday to Friday; "1111000" is a Monday-to-Thursday plant. At least one day must
|
|
275
|
+
* be open.
|
|
276
|
+
*/
|
|
277
|
+
days_of_week: string;
|
|
278
|
+
/**
|
|
279
|
+
* Which side of a shipment this calendar describes.
|
|
280
|
+
*/
|
|
281
|
+
kind: 'ship' | 'receive';
|
|
282
|
+
/**
|
|
283
|
+
* Human-readable name.
|
|
284
|
+
*/
|
|
285
|
+
name: string;
|
|
286
|
+
/**
|
|
287
|
+
* Local time freight has to be tendered by, as "15:00". Only a shipping calendar
|
|
288
|
+
* accepts one.
|
|
289
|
+
*/
|
|
290
|
+
cutoff_at?: string;
|
|
291
|
+
/**
|
|
292
|
+
* Make this the calendar used when nothing more specific is linked. Setting it
|
|
293
|
+
* demotes whichever calendar of the same kind held the role.
|
|
294
|
+
*/
|
|
295
|
+
is_default?: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* IANA zone the cutoff is read in, such as "America/Chicago". On a receiving
|
|
298
|
+
* calendar, leave it unset to take the zone from the ship-to address.
|
|
299
|
+
*/
|
|
300
|
+
timezone?: string;
|
|
301
|
+
}
|
|
302
|
+
export interface OperatingCalendarUpdateParams {
|
|
303
|
+
/**
|
|
304
|
+
* Local time freight has to be tendered by. Clearing it leaves the ship-by date a
|
|
305
|
+
* day with no time of day attached.
|
|
306
|
+
*/
|
|
307
|
+
cutoff_at?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* Open weekdays as seven characters of '0' or '1', Monday first. At least one day
|
|
310
|
+
* must be open.
|
|
311
|
+
*/
|
|
312
|
+
days_of_week?: string;
|
|
313
|
+
/**
|
|
314
|
+
* Make this the calendar used when nothing more specific is linked. Setting it
|
|
315
|
+
* demotes whichever calendar of the same kind held the role.
|
|
316
|
+
*/
|
|
317
|
+
is_default?: boolean;
|
|
318
|
+
/**
|
|
319
|
+
* Human-readable name.
|
|
320
|
+
*/
|
|
321
|
+
name?: string;
|
|
322
|
+
/**
|
|
323
|
+
* IANA zone the cutoff is read in. Clearing it on a receiving calendar returns to
|
|
324
|
+
* taking the zone from the ship-to address.
|
|
325
|
+
*/
|
|
326
|
+
timezone?: string | null;
|
|
327
|
+
}
|
|
328
|
+
export declare namespace OperatingCalendars {
|
|
329
|
+
export { type CreateOperatingCalendarRequest as CreateOperatingCalendarRequest, type ListOperatingCalendar as ListOperatingCalendar, type OperatingCalendar as OperatingCalendar, type UpdateOperatingCalendarRequest as UpdateOperatingCalendarRequest, type OperatingCalendarDeleteResponse as OperatingCalendarDeleteResponse, type OperatingCalendarListParams as OperatingCalendarListParams, type OperatingCalendarCreateParams as OperatingCalendarCreateParams, type OperatingCalendarUpdateParams as OperatingCalendarUpdateParams, };
|
|
330
|
+
export { Closures as Closures, type CreateOperatingCalendarClosureRequest as CreateOperatingCalendarClosureRequest, type ListOperatingCalendarClosure as ListOperatingCalendarClosure, type OperatingCalendarClosure as OperatingCalendarClosure, type ClosureDeleteResponse as ClosureDeleteResponse, type ClosureListParams as ClosureListParams, type ClosureCreateParams as ClosureCreateParams, type ClosureDeleteParams as ClosureDeleteParams, };
|
|
331
|
+
}
|
|
332
|
+
//# sourceMappingURL=operating-calendars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operating-calendars.d.ts","sourceRoot":"","sources":["../../../src/resources/operations/operating-calendars/operating-calendars.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,WAAW;OAChB,EACL,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,qCAAqC,EACrC,4BAA4B,E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BAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.OperatingCalendars = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const ClosuresAPI = tslib_1.__importStar(require("./closures.js"));
|
|
8
|
+
const closures_1 = require("./closures.js");
|
|
9
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
10
|
+
/**
|
|
11
|
+
* The days a plant tenders freight and a customer's dock accepts it, less the holidays and shutdowns either side is closed for. Every ship-by date is resolved against them, so an order is never committed to a day nobody can act on.
|
|
12
|
+
*/
|
|
13
|
+
class OperatingCalendars extends resource_1.APIResource {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.closures = new ClosuresAPI.Closures(this._client);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Lists the operating calendars configured for the account.
|
|
20
|
+
*
|
|
21
|
+
* Both kinds are returned unless `kind` narrows it, ordered with each kind's
|
|
22
|
+
* default first.
|
|
23
|
+
*
|
|
24
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const listOperatingCalendar =
|
|
29
|
+
* await client.operations.operatingCalendars.list();
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
list(query = {}, options) {
|
|
33
|
+
return this._client.get('/v1/operations/operating-calendars', { query, ...options });
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Retrieves one operating calendar by ID.
|
|
37
|
+
*
|
|
38
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const operatingCalendar =
|
|
43
|
+
* await client.operations.operatingCalendars.retrieve(
|
|
44
|
+
* 'occd_7f2m9qk4wzxb',
|
|
45
|
+
* );
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
retrieve(id, options) {
|
|
49
|
+
return this._client.get((0, path_1.path) `/v1/operations/operating-calendars/${id}`, options);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Creates an operating calendar.
|
|
53
|
+
*
|
|
54
|
+
* The days govern every ship-by date resolved against this calendar: a plant that
|
|
55
|
+
* tenders freight Monday to Thursday never gets committed to a Friday shipment,
|
|
56
|
+
* and a customer's promised delivery date is worked back from a day they can
|
|
57
|
+
* actually receive on.
|
|
58
|
+
*
|
|
59
|
+
* A calendar starts with no closures. Add holidays and shutdowns to it separately.
|
|
60
|
+
*
|
|
61
|
+
* This endpoint requires the permission: `production_schedules:create`.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const operatingCalendar =
|
|
66
|
+
* await client.operations.operatingCalendars.create({
|
|
67
|
+
* code: 'default_ship',
|
|
68
|
+
* days_of_week: '1111000',
|
|
69
|
+
* kind: 'ship',
|
|
70
|
+
* name: 'Shipping days',
|
|
71
|
+
* cutoff_at: '15:00',
|
|
72
|
+
* is_default: true,
|
|
73
|
+
* timezone: 'America/Chicago',
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
create(body, options) {
|
|
78
|
+
return this._client.post('/v1/operations/operating-calendars', { body, ...options });
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Updates an operating calendar.
|
|
82
|
+
*
|
|
83
|
+
* A calendar's kind cannot change: a shipping calendar that became a receiving one
|
|
84
|
+
* would silently drop the pickup cutoff every commitment resolved against it
|
|
85
|
+
* depends on. Create a second calendar instead.
|
|
86
|
+
*
|
|
87
|
+
* Changes apply to commitments made from now on. Orders already issued keep the
|
|
88
|
+
* dates they were stamped with, so adding a holiday never retroactively makes a
|
|
89
|
+
* past order late.
|
|
90
|
+
*
|
|
91
|
+
* This endpoint requires the permission: `production_schedules:update`.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* ```ts
|
|
95
|
+
* const operatingCalendar =
|
|
96
|
+
* await client.operations.operatingCalendars.update(
|
|
97
|
+
* 'occd_7f2m9qk4wzxb',
|
|
98
|
+
* );
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
update(id, body = {}, options) {
|
|
102
|
+
return this._client.patch((0, path_1.path) `/v1/operations/operating-calendars/${id}`, { body, ...options });
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Deletes an operating calendar.
|
|
106
|
+
*
|
|
107
|
+
* Refused while any address, customer, customer group, or account setting still
|
|
108
|
+
* points at it. Deleting a calendar out from under its references would quietly
|
|
109
|
+
* return every affected order to a plain Monday-to-Friday week, which reads as the
|
|
110
|
+
* feature breaking rather than as a decision anybody made — so re-point them
|
|
111
|
+
* first.
|
|
112
|
+
*
|
|
113
|
+
* This endpoint requires the permission: `production_schedules:delete`.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ```ts
|
|
117
|
+
* const operatingCalendar =
|
|
118
|
+
* await client.operations.operatingCalendars.delete(
|
|
119
|
+
* 'occd_7f2m9qk4wzxb',
|
|
120
|
+
* );
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
delete(id, options) {
|
|
124
|
+
return this._client.delete((0, path_1.path) `/v1/operations/operating-calendars/${id}`, options);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.OperatingCalendars = OperatingCalendars;
|
|
128
|
+
OperatingCalendars.Closures = closures_1.Closures;
|
|
129
|
+
//# sourceMappingURL=operating-calendars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operating-calendars.js","sourceRoot":"","sources":["../../../src/resources/operations/operating-calendars/operating-calendars.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,mEAA0C;AAC1C,4CASoB;AAGpB,0DAAoD;AAEpD;;GAEG;AACH,MAAa,kBAAmB,SAAQ,sBAAW;IAAnD;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyH1E,CAAC;IAvHC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,QAAwD,EAAE,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sCAAsC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,MAAM,CAAC,IAAmC,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CACJ,EAAU,EACV,OAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,sCAAsC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,sCAAsC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF;AA1HD,gDA0HC;AAkQD,kBAAkB,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ClosuresAPI from "./closures.mjs";
|
|
4
|
+
import { Closures, } from "./closures.mjs";
|
|
5
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* The days a plant tenders freight and a customer's dock accepts it, less the holidays and shutdowns either side is closed for. Every ship-by date is resolved against them, so an order is never committed to a day nobody can act on.
|
|
8
|
+
*/
|
|
9
|
+
export class OperatingCalendars extends APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.closures = new ClosuresAPI.Closures(this._client);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Lists the operating calendars configured for the account.
|
|
16
|
+
*
|
|
17
|
+
* Both kinds are returned unless `kind` narrows it, ordered with each kind's
|
|
18
|
+
* default first.
|
|
19
|
+
*
|
|
20
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const listOperatingCalendar =
|
|
25
|
+
* await client.operations.operatingCalendars.list();
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
list(query = {}, options) {
|
|
29
|
+
return this._client.get('/v1/operations/operating-calendars', { query, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves one operating calendar by ID.
|
|
33
|
+
*
|
|
34
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const operatingCalendar =
|
|
39
|
+
* await client.operations.operatingCalendars.retrieve(
|
|
40
|
+
* 'occd_7f2m9qk4wzxb',
|
|
41
|
+
* );
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
retrieve(id, options) {
|
|
45
|
+
return this._client.get(path `/v1/operations/operating-calendars/${id}`, options);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Creates an operating calendar.
|
|
49
|
+
*
|
|
50
|
+
* The days govern every ship-by date resolved against this calendar: a plant that
|
|
51
|
+
* tenders freight Monday to Thursday never gets committed to a Friday shipment,
|
|
52
|
+
* and a customer's promised delivery date is worked back from a day they can
|
|
53
|
+
* actually receive on.
|
|
54
|
+
*
|
|
55
|
+
* A calendar starts with no closures. Add holidays and shutdowns to it separately.
|
|
56
|
+
*
|
|
57
|
+
* This endpoint requires the permission: `production_schedules:create`.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const operatingCalendar =
|
|
62
|
+
* await client.operations.operatingCalendars.create({
|
|
63
|
+
* code: 'default_ship',
|
|
64
|
+
* days_of_week: '1111000',
|
|
65
|
+
* kind: 'ship',
|
|
66
|
+
* name: 'Shipping days',
|
|
67
|
+
* cutoff_at: '15:00',
|
|
68
|
+
* is_default: true,
|
|
69
|
+
* timezone: 'America/Chicago',
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
create(body, options) {
|
|
74
|
+
return this._client.post('/v1/operations/operating-calendars', { body, ...options });
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Updates an operating calendar.
|
|
78
|
+
*
|
|
79
|
+
* A calendar's kind cannot change: a shipping calendar that became a receiving one
|
|
80
|
+
* would silently drop the pickup cutoff every commitment resolved against it
|
|
81
|
+
* depends on. Create a second calendar instead.
|
|
82
|
+
*
|
|
83
|
+
* Changes apply to commitments made from now on. Orders already issued keep the
|
|
84
|
+
* dates they were stamped with, so adding a holiday never retroactively makes a
|
|
85
|
+
* past order late.
|
|
86
|
+
*
|
|
87
|
+
* This endpoint requires the permission: `production_schedules:update`.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* ```ts
|
|
91
|
+
* const operatingCalendar =
|
|
92
|
+
* await client.operations.operatingCalendars.update(
|
|
93
|
+
* 'occd_7f2m9qk4wzxb',
|
|
94
|
+
* );
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
update(id, body = {}, options) {
|
|
98
|
+
return this._client.patch(path `/v1/operations/operating-calendars/${id}`, { body, ...options });
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Deletes an operating calendar.
|
|
102
|
+
*
|
|
103
|
+
* Refused while any address, customer, customer group, or account setting still
|
|
104
|
+
* points at it. Deleting a calendar out from under its references would quietly
|
|
105
|
+
* return every affected order to a plain Monday-to-Friday week, which reads as the
|
|
106
|
+
* feature breaking rather than as a decision anybody made — so re-point them
|
|
107
|
+
* first.
|
|
108
|
+
*
|
|
109
|
+
* This endpoint requires the permission: `production_schedules:delete`.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* const operatingCalendar =
|
|
114
|
+
* await client.operations.operatingCalendars.delete(
|
|
115
|
+
* 'occd_7f2m9qk4wzxb',
|
|
116
|
+
* );
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
delete(id, options) {
|
|
120
|
+
return this._client.delete(path `/v1/operations/operating-calendars/${id}`, options);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
OperatingCalendars.Closures = Closures;
|
|
124
|
+
//# sourceMappingURL=operating-calendars.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operating-calendars.mjs","sourceRoot":"","sources":["../../../src/resources/operations/operating-calendars/operating-calendars.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,W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F;AAkQD,kBAAkB,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operating-calendars.d.mts","sourceRoot":"","sources":["../../src/resources/operations/operating-calendars.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operating-calendars.d.ts","sourceRoot":"","sources":["../../src/resources/operations/operating-calendars.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./operating-calendars/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=operating-calendars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operating-calendars.js","sourceRoot":"","sources":["../../src/resources/operations/operating-calendars.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yEAA4C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operating-calendars.mjs","sourceRoot":"","sources":["../../src/resources/operations/operating-calendars.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -21,6 +21,8 @@ import * as FulfillmentRecommendationsAPI from "./fulfillment-recommendations/fu
|
|
|
21
21
|
import { FulfillmentRecommendation, FulfillmentRecommendations, ListFulfillmentRecommendation } from "./fulfillment-recommendations/fulfillment-recommendations.mjs";
|
|
22
22
|
import * as LocationsAPI from "./locations/locations.mjs";
|
|
23
23
|
import { CreateLocationRequest, LocationCreateParams, LocationDeleteResponse, LocationListParams, LocationRetrieveParams, LocationUpdateParams, Locations, UpdateLocationRequest } from "./locations/locations.mjs";
|
|
24
|
+
import * as OperatingCalendarsAPI from "./operating-calendars/operating-calendars.mjs";
|
|
25
|
+
import { CreateOperatingCalendarRequest, ListOperatingCalendar, OperatingCalendar, OperatingCalendarCreateParams, OperatingCalendarDeleteResponse, OperatingCalendarListParams, OperatingCalendarUpdateParams, OperatingCalendars, UpdateOperatingCalendarRequest } from "./operating-calendars/operating-calendars.mjs";
|
|
24
26
|
import * as ProductionScheduleSettingsAPI from "./production-schedule-settings/production-schedule-settings.mjs";
|
|
25
27
|
import { ProductionScheduleSettingUpdateParams, ProductionScheduleSettings, UpdateProductionScheduleSettingsRequest } from "./production-schedule-settings/production-schedule-settings.mjs";
|
|
26
28
|
import * as ProductionSchedulesAPI from "./production-schedules/production-schedules.mjs";
|
|
@@ -39,6 +41,7 @@ export declare class Operations extends APIResource {
|
|
|
39
41
|
productionSchedules: ProductionSchedulesAPI.ProductionSchedules;
|
|
40
42
|
productionScheduleSettings: ProductionScheduleSettingsAPI.ProductionScheduleSettings;
|
|
41
43
|
fulfillmentRecommendations: FulfillmentRecommendationsAPI.FulfillmentRecommendations;
|
|
44
|
+
operatingCalendars: OperatingCalendarsAPI.OperatingCalendars;
|
|
42
45
|
locations: LocationsAPI.Locations;
|
|
43
46
|
locationTypes: LocationTypesAPI.LocationTypes;
|
|
44
47
|
shipments: ShipmentsAPI.Shipments;
|
|
@@ -544,6 +547,7 @@ export declare namespace Operations {
|
|
|
544
547
|
export { ProductionSchedules as ProductionSchedules, type GenerateProductionScheduleRequest as GenerateProductionScheduleRequest, type ListProductionSchedule as ListProductionSchedule, type ListProductionScheduleDerivedLine as ListProductionScheduleDerivedLine, type ListProductionScheduleDeviation as ListProductionScheduleDeviation, type ListProductionScheduleFinishedPolicy as ListProductionScheduleFinishedPolicy, type ListProductionScheduleItemPolicy as ListProductionScheduleItemPolicy, type ListReleaseScheduleBatch as ListReleaseScheduleBatch, type ListReleasedScheduleLine as ListReleasedScheduleLine, type ListScheduleAppliedOverride as ListScheduleAppliedOverride, type ListScheduleAtRiskOrder as ListScheduleAtRiskOrder, type ListScheduleOrderCoverage as ListScheduleOrderCoverage, type ListScheduleOrderCoverageLine as ListScheduleOrderCoverageLine, type ProductionSchedule as ProductionSchedule, type ProductionScheduleDerivedLine as ProductionScheduleDerivedLine, type ProductionScheduleDeviation as ProductionScheduleDeviation, type ProductionScheduleFinishedPolicy as ProductionScheduleFinishedPolicy, type ProductionScheduleItemPolicy as ProductionScheduleItemPolicy, type ReleaseScheduleBatch as ReleaseScheduleBatch, type ReleaseScheduleWeekPreview as ReleaseScheduleWeekPreview, type ReleasedScheduleLine as ReleasedScheduleLine, type ScheduleAppliedOverride as ScheduleAppliedOverride, type ScheduleAtRiskOrder as ScheduleAtRiskOrder, type ScheduleDiagnostics as ScheduleDiagnostics, type ScheduleOrderCoverage as ScheduleOrderCoverage, type ScheduleOrderCoverageLine as ScheduleOrderCoverageLine, type ProductionScheduleDeleteResponse as ProductionScheduleDeleteResponse, type ProductionScheduleListParams as ProductionScheduleListParams, type ProductionScheduleCreateParams as ProductionScheduleCreateParams, type ProductionScheduleRetrieveDerivedLinesParams as ProductionScheduleRetrieveDerivedLinesParams, type ProductionScheduleRetrieveDeviationsParams as ProductionScheduleRetrieveDeviationsParams, type ProductionScheduleRetrieveWeekReleasePreviewParams as ProductionScheduleRetrieveWeekReleasePreviewParams, };
|
|
545
548
|
export { type ProductionScheduleSettings as ProductionScheduleSettings, type UpdateProductionScheduleSettingsRequest as UpdateProductionScheduleSettingsRequest, type ProductionScheduleSettingUpdateParams as ProductionScheduleSettingUpdateParams, };
|
|
546
549
|
export { FulfillmentRecommendations as FulfillmentRecommendations, type FulfillmentRecommendation as FulfillmentRecommendation, type ListFulfillmentRecommendation as ListFulfillmentRecommendation, };
|
|
550
|
+
export { OperatingCalendars as OperatingCalendars, type CreateOperatingCalendarRequest as CreateOperatingCalendarRequest, type ListOperatingCalendar as ListOperatingCalendar, type OperatingCalendar as OperatingCalendar, type UpdateOperatingCalendarRequest as UpdateOperatingCalendarRequest, type OperatingCalendarDeleteResponse as OperatingCalendarDeleteResponse, type OperatingCalendarListParams as OperatingCalendarListParams, type OperatingCalendarCreateParams as OperatingCalendarCreateParams, type OperatingCalendarUpdateParams as OperatingCalendarUpdateParams, };
|
|
547
551
|
export { Locations as Locations, type CreateLocationRequest as CreateLocationRequest, type UpdateLocationRequest as UpdateLocationRequest, type LocationDeleteResponse as LocationDeleteResponse, type LocationListParams as LocationListParams, type LocationRetrieveParams as LocationRetrieveParams, type LocationCreateParams as LocationCreateParams, type LocationUpdateParams as LocationUpdateParams, };
|
|
548
552
|
export { LocationTypes as LocationTypes, type ListLocationType as ListLocationType, type LocationType as LocationType, type LocationTypeListParams as LocationTypeListParams, };
|
|
549
553
|
export { Shipments as Shipments };
|