@augno/sdk 0.18.0 → 0.18.2
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 +2 -7
- 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/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/index.d.mts +2 -1
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +2 -1
- 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/machine-downtime-events.d.mts +56 -7
- package/resources/operations/machine-downtime-events.d.mts.map +1 -1
- package/resources/operations/machine-downtime-events.d.ts +56 -7
- package/resources/operations/machine-downtime-events.d.ts.map +1 -1
- package/resources/operations/machine-downtime-events.js +11 -7
- package/resources/operations/machine-downtime-events.js.map +1 -1
- package/resources/operations/machine-downtime-events.mjs +11 -7
- package/resources/operations/machine-downtime-events.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 +6 -2
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +6 -2
- 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 +43 -12
- 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 +43 -12
- 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/actions.d.mts +34 -1
- package/resources/operations/production-schedules/actions.d.mts.map +1 -1
- package/resources/operations/production-schedules/actions.d.ts +34 -1
- package/resources/operations/production-schedules/actions.d.ts.map +1 -1
- package/resources/operations/production-schedules/actions.js +8 -0
- package/resources/operations/production-schedules/actions.js.map +1 -1
- package/resources/operations/production-schedules/actions.mjs +8 -0
- package/resources/operations/production-schedules/actions.mjs.map +1 -1
- package/resources/operations/production-schedules/index.d.mts +1 -1
- package/resources/operations/production-schedules/index.d.mts.map +1 -1
- package/resources/operations/production-schedules/index.d.ts +1 -1
- package/resources/operations/production-schedules/index.d.ts.map +1 -1
- package/resources/operations/production-schedules/index.js.map +1 -1
- package/resources/operations/production-schedules/index.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/production-schedules/production-schedules.d.mts +295 -2
- package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.ts +295 -2
- package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.js +42 -0
- package/resources/operations/production-schedules/production-schedules.js.map +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs +42 -0
- package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
- package/resources/sales/account-groups.d.mts +2 -1
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +2 -1
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.mts +10 -1
- package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.ts +10 -1
- package/resources/sales/account-prices/account-prices.d.ts.map +1 -1
- package/resources/sales/account-prices/account-prices.js.map +1 -1
- package/resources/sales/account-prices/account-prices.mjs.map +1 -1
- 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/customers.d.mts +72 -14
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +72 -14
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +10 -5
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +10 -5
- 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 +1 -1
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +1 -1
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/sales-orders/actions.d.mts +217 -1
- package/resources/sales/sales-orders/actions.d.mts.map +1 -1
- package/resources/sales/sales-orders/actions.d.ts +217 -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 +1 -1
- package/resources/sales/sales-orders/index.d.mts.map +1 -1
- package/resources/sales/sales-orders/index.d.ts +1 -1
- 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/sales-orders.d.mts +105 -9
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +105 -9
- 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 +2 -2
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +2 -2
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs.map +1 -1
- 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 +16 -0
- package/src/resources/core/core.ts +19 -0
- package/src/resources/core/index.ts +6 -0
- package/src/resources/core/jobs.ts +4 -0
- package/src/resources/messaging/conversations/conversations.ts +12 -0
- package/src/resources/messaging/conversations/links.ts +8 -0
- package/src/resources/messaging/conversations/messages.ts +8 -0
- package/src/resources/messaging/notifications/notifications.ts +8 -0
- package/src/resources/operations/index.ts +15 -0
- package/src/resources/operations/machine-downtime-events.ts +62 -7
- 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 +36 -0
- package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +49 -12
- package/src/resources/operations/production-schedules/actions.ts +37 -1
- package/src/resources/operations/production-schedules/index.ts +4 -0
- package/src/resources/operations/production-schedules/lines.ts +10 -6
- package/src/resources/operations/production-schedules/production-schedules.ts +354 -1
- package/src/resources/sales/account-groups.ts +2 -1
- package/src/resources/sales/account-prices/account-prices.ts +11 -1
- package/src/resources/sales/addresses.ts +24 -0
- package/src/resources/sales/customers/customers.ts +90 -14
- package/src/resources/sales/customers/index.ts +1 -0
- package/src/resources/sales/index.ts +1 -0
- package/src/resources/sales/sales-orders/actions.ts +266 -0
- package/src/resources/sales/sales-orders/index.ts +4 -0
- package/src/resources/sales/sales-orders/sales-orders.ts +131 -7
- package/src/resources/sales/sales.ts +2 -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
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
export {
|
|
4
|
+
Actions,
|
|
5
|
+
type EmailRecordRequest,
|
|
6
|
+
type ActionEmailRecordResponse,
|
|
7
|
+
type ActionEmailRecordParams,
|
|
8
|
+
} from './actions';
|
|
3
9
|
export {
|
|
4
10
|
Addresses,
|
|
5
11
|
type AddressSuggestion,
|
|
@@ -244,6 +244,7 @@ export interface Job {
|
|
|
244
244
|
| 'schedule_deviation_type'
|
|
245
245
|
| 'schedule_at_risk_order'
|
|
246
246
|
| 'production_schedule_finished_policy'
|
|
247
|
+
| 'production_schedule_finishing_line'
|
|
247
248
|
| 'production_schedule_week_release'
|
|
248
249
|
| 'production_schedule_week_release_preview'
|
|
249
250
|
| 'production_schedule_item_policy'
|
|
@@ -390,6 +391,9 @@ export interface Job {
|
|
|
390
391
|
| 'checkout_sales_order'
|
|
391
392
|
| 'sales_order_price_quote'
|
|
392
393
|
| 'sales_order_freight_quote'
|
|
394
|
+
| 'sales_order_commitment_quote'
|
|
395
|
+
| 'operating_calendar'
|
|
396
|
+
| 'operating_calendar_closure'
|
|
393
397
|
| 'sales_order_price_quote_line'
|
|
394
398
|
| 'hubspot_sync_job'
|
|
395
399
|
| 'hubspot_sync_report'
|
|
@@ -587,6 +587,7 @@ export interface CreateConversationRequest {
|
|
|
587
587
|
| 'schedule_deviation_type'
|
|
588
588
|
| 'schedule_at_risk_order'
|
|
589
589
|
| 'production_schedule_finished_policy'
|
|
590
|
+
| 'production_schedule_finishing_line'
|
|
590
591
|
| 'production_schedule_week_release'
|
|
591
592
|
| 'production_schedule_week_release_preview'
|
|
592
593
|
| 'production_schedule_item_policy'
|
|
@@ -733,6 +734,9 @@ export interface CreateConversationRequest {
|
|
|
733
734
|
| 'checkout_sales_order'
|
|
734
735
|
| 'sales_order_price_quote'
|
|
735
736
|
| 'sales_order_freight_quote'
|
|
737
|
+
| 'sales_order_commitment_quote'
|
|
738
|
+
| 'operating_calendar'
|
|
739
|
+
| 'operating_calendar_closure'
|
|
736
740
|
| 'sales_order_price_quote_line'
|
|
737
741
|
| 'hubspot_sync_job'
|
|
738
742
|
| 'hubspot_sync_report'
|
|
@@ -1439,6 +1443,7 @@ export interface ConversationCreateParams {
|
|
|
1439
1443
|
| 'schedule_deviation_type'
|
|
1440
1444
|
| 'schedule_at_risk_order'
|
|
1441
1445
|
| 'production_schedule_finished_policy'
|
|
1446
|
+
| 'production_schedule_finishing_line'
|
|
1442
1447
|
| 'production_schedule_week_release'
|
|
1443
1448
|
| 'production_schedule_week_release_preview'
|
|
1444
1449
|
| 'production_schedule_item_policy'
|
|
@@ -1585,6 +1590,9 @@ export interface ConversationCreateParams {
|
|
|
1585
1590
|
| 'checkout_sales_order'
|
|
1586
1591
|
| 'sales_order_price_quote'
|
|
1587
1592
|
| 'sales_order_freight_quote'
|
|
1593
|
+
| 'sales_order_commitment_quote'
|
|
1594
|
+
| 'operating_calendar'
|
|
1595
|
+
| 'operating_calendar_closure'
|
|
1588
1596
|
| 'sales_order_price_quote_line'
|
|
1589
1597
|
| 'hubspot_sync_job'
|
|
1590
1598
|
| 'hubspot_sync_report'
|
|
@@ -1820,6 +1828,7 @@ export interface ConversationListParams {
|
|
|
1820
1828
|
| 'schedule_deviation_type'
|
|
1821
1829
|
| 'schedule_at_risk_order'
|
|
1822
1830
|
| 'production_schedule_finished_policy'
|
|
1831
|
+
| 'production_schedule_finishing_line'
|
|
1823
1832
|
| 'production_schedule_week_release'
|
|
1824
1833
|
| 'production_schedule_week_release_preview'
|
|
1825
1834
|
| 'production_schedule_item_policy'
|
|
@@ -1966,6 +1975,9 @@ export interface ConversationListParams {
|
|
|
1966
1975
|
| 'checkout_sales_order'
|
|
1967
1976
|
| 'sales_order_price_quote'
|
|
1968
1977
|
| 'sales_order_freight_quote'
|
|
1978
|
+
| 'sales_order_commitment_quote'
|
|
1979
|
+
| 'operating_calendar'
|
|
1980
|
+
| 'operating_calendar_closure'
|
|
1969
1981
|
| 'sales_order_price_quote_line'
|
|
1970
1982
|
| 'hubspot_sync_job'
|
|
1971
1983
|
| 'hubspot_sync_report'
|
|
@@ -221,6 +221,7 @@ export interface AddConversationLinkRequest {
|
|
|
221
221
|
| 'schedule_deviation_type'
|
|
222
222
|
| 'schedule_at_risk_order'
|
|
223
223
|
| 'production_schedule_finished_policy'
|
|
224
|
+
| 'production_schedule_finishing_line'
|
|
224
225
|
| 'production_schedule_week_release'
|
|
225
226
|
| 'production_schedule_week_release_preview'
|
|
226
227
|
| 'production_schedule_item_policy'
|
|
@@ -367,6 +368,9 @@ export interface AddConversationLinkRequest {
|
|
|
367
368
|
| 'checkout_sales_order'
|
|
368
369
|
| 'sales_order_price_quote'
|
|
369
370
|
| 'sales_order_freight_quote'
|
|
371
|
+
| 'sales_order_commitment_quote'
|
|
372
|
+
| 'operating_calendar'
|
|
373
|
+
| 'operating_calendar_closure'
|
|
370
374
|
| 'sales_order_price_quote_line'
|
|
371
375
|
| 'hubspot_sync_job'
|
|
372
376
|
| 'hubspot_sync_report'
|
|
@@ -596,6 +600,7 @@ export interface LinkCreateParams {
|
|
|
596
600
|
| 'schedule_deviation_type'
|
|
597
601
|
| 'schedule_at_risk_order'
|
|
598
602
|
| 'production_schedule_finished_policy'
|
|
603
|
+
| 'production_schedule_finishing_line'
|
|
599
604
|
| 'production_schedule_week_release'
|
|
600
605
|
| 'production_schedule_week_release_preview'
|
|
601
606
|
| 'production_schedule_item_policy'
|
|
@@ -742,6 +747,9 @@ export interface LinkCreateParams {
|
|
|
742
747
|
| 'checkout_sales_order'
|
|
743
748
|
| 'sales_order_price_quote'
|
|
744
749
|
| 'sales_order_freight_quote'
|
|
750
|
+
| 'sales_order_commitment_quote'
|
|
751
|
+
| 'operating_calendar'
|
|
752
|
+
| 'operating_calendar_closure'
|
|
745
753
|
| 'sales_order_price_quote_line'
|
|
746
754
|
| 'hubspot_sync_job'
|
|
747
755
|
| 'hubspot_sync_report'
|
|
@@ -372,6 +372,7 @@ export interface SendMessageRequest {
|
|
|
372
372
|
| 'schedule_deviation_type'
|
|
373
373
|
| 'schedule_at_risk_order'
|
|
374
374
|
| 'production_schedule_finished_policy'
|
|
375
|
+
| 'production_schedule_finishing_line'
|
|
375
376
|
| 'production_schedule_week_release'
|
|
376
377
|
| 'production_schedule_week_release_preview'
|
|
377
378
|
| 'production_schedule_item_policy'
|
|
@@ -518,6 +519,9 @@ export interface SendMessageRequest {
|
|
|
518
519
|
| 'checkout_sales_order'
|
|
519
520
|
| 'sales_order_price_quote'
|
|
520
521
|
| 'sales_order_freight_quote'
|
|
522
|
+
| 'sales_order_commitment_quote'
|
|
523
|
+
| 'operating_calendar'
|
|
524
|
+
| 'operating_calendar_closure'
|
|
521
525
|
| 'sales_order_price_quote_line'
|
|
522
526
|
| 'hubspot_sync_job'
|
|
523
527
|
| 'hubspot_sync_report'
|
|
@@ -810,6 +814,7 @@ export interface MessageCreateParams {
|
|
|
810
814
|
| 'schedule_deviation_type'
|
|
811
815
|
| 'schedule_at_risk_order'
|
|
812
816
|
| 'production_schedule_finished_policy'
|
|
817
|
+
| 'production_schedule_finishing_line'
|
|
813
818
|
| 'production_schedule_week_release'
|
|
814
819
|
| 'production_schedule_week_release_preview'
|
|
815
820
|
| 'production_schedule_item_policy'
|
|
@@ -956,6 +961,9 @@ export interface MessageCreateParams {
|
|
|
956
961
|
| 'checkout_sales_order'
|
|
957
962
|
| 'sales_order_price_quote'
|
|
958
963
|
| 'sales_order_freight_quote'
|
|
964
|
+
| 'sales_order_commitment_quote'
|
|
965
|
+
| 'operating_calendar'
|
|
966
|
+
| 'operating_calendar_closure'
|
|
959
967
|
| 'sales_order_price_quote_line'
|
|
960
968
|
| 'hubspot_sync_job'
|
|
961
969
|
| 'hubspot_sync_report'
|
|
@@ -602,6 +602,7 @@ export interface SendNotificationRequest {
|
|
|
602
602
|
| 'schedule_deviation_type'
|
|
603
603
|
| 'schedule_at_risk_order'
|
|
604
604
|
| 'production_schedule_finished_policy'
|
|
605
|
+
| 'production_schedule_finishing_line'
|
|
605
606
|
| 'production_schedule_week_release'
|
|
606
607
|
| 'production_schedule_week_release_preview'
|
|
607
608
|
| 'production_schedule_item_policy'
|
|
@@ -748,6 +749,9 @@ export interface SendNotificationRequest {
|
|
|
748
749
|
| 'checkout_sales_order'
|
|
749
750
|
| 'sales_order_price_quote'
|
|
750
751
|
| 'sales_order_freight_quote'
|
|
752
|
+
| 'sales_order_commitment_quote'
|
|
753
|
+
| 'operating_calendar'
|
|
754
|
+
| 'operating_calendar_closure'
|
|
751
755
|
| 'sales_order_price_quote_line'
|
|
752
756
|
| 'hubspot_sync_job'
|
|
753
757
|
| 'hubspot_sync_report'
|
|
@@ -953,6 +957,7 @@ export interface NotificationCreateParams {
|
|
|
953
957
|
| 'schedule_deviation_type'
|
|
954
958
|
| 'schedule_at_risk_order'
|
|
955
959
|
| 'production_schedule_finished_policy'
|
|
960
|
+
| 'production_schedule_finishing_line'
|
|
956
961
|
| 'production_schedule_week_release'
|
|
957
962
|
| 'production_schedule_week_release_preview'
|
|
958
963
|
| 'production_schedule_item_policy'
|
|
@@ -1099,6 +1104,9 @@ export interface NotificationCreateParams {
|
|
|
1099
1104
|
| 'checkout_sales_order'
|
|
1100
1105
|
| 'sales_order_price_quote'
|
|
1101
1106
|
| 'sales_order_freight_quote'
|
|
1107
|
+
| 'sales_order_commitment_quote'
|
|
1108
|
+
| 'operating_calendar'
|
|
1109
|
+
| 'operating_calendar_closure'
|
|
1102
1110
|
| 'sales_order_price_quote_line'
|
|
1103
1111
|
| 'hubspot_sync_job'
|
|
1104
1112
|
| 'hubspot_sync_report'
|
|
@@ -78,6 +78,17 @@ export {
|
|
|
78
78
|
type MachineCreateParams,
|
|
79
79
|
type MachineUpdateParams,
|
|
80
80
|
} from './machines';
|
|
81
|
+
export {
|
|
82
|
+
OperatingCalendars,
|
|
83
|
+
type CreateOperatingCalendarRequest,
|
|
84
|
+
type ListOperatingCalendar,
|
|
85
|
+
type OperatingCalendar,
|
|
86
|
+
type UpdateOperatingCalendarRequest,
|
|
87
|
+
type OperatingCalendarDeleteResponse,
|
|
88
|
+
type OperatingCalendarListParams,
|
|
89
|
+
type OperatingCalendarCreateParams,
|
|
90
|
+
type OperatingCalendarUpdateParams,
|
|
91
|
+
} from './operating-calendars/index';
|
|
81
92
|
export {
|
|
82
93
|
Operations,
|
|
83
94
|
type DemandOverrideType,
|
|
@@ -105,6 +116,7 @@ export {
|
|
|
105
116
|
type ListProductionScheduleDerivedLine,
|
|
106
117
|
type ListProductionScheduleDeviation,
|
|
107
118
|
type ListProductionScheduleFinishedPolicy,
|
|
119
|
+
type ListProductionScheduleFinishingLine,
|
|
108
120
|
type ListProductionScheduleItemPolicy,
|
|
109
121
|
type ListReleaseScheduleBatch,
|
|
110
122
|
type ListReleasedScheduleLine,
|
|
@@ -116,6 +128,7 @@ export {
|
|
|
116
128
|
type ProductionScheduleDerivedLine,
|
|
117
129
|
type ProductionScheduleDeviation,
|
|
118
130
|
type ProductionScheduleFinishedPolicy,
|
|
131
|
+
type ProductionScheduleFinishingLine,
|
|
119
132
|
type ProductionScheduleItemPolicy,
|
|
120
133
|
type ReleaseScheduleBatch,
|
|
121
134
|
type ReleaseScheduleWeekPreview,
|
|
@@ -123,11 +136,13 @@ export {
|
|
|
123
136
|
type ScheduleAppliedOverride,
|
|
124
137
|
type ScheduleAtRiskOrder,
|
|
125
138
|
type ScheduleDiagnostics,
|
|
139
|
+
type ScheduleFinishingDiagnostics,
|
|
126
140
|
type ScheduleOrderCoverage,
|
|
127
141
|
type ScheduleOrderCoverageLine,
|
|
128
142
|
type ProductionScheduleDeleteResponse,
|
|
129
143
|
type ProductionScheduleListParams,
|
|
130
144
|
type ProductionScheduleCreateParams,
|
|
145
|
+
type ProductionScheduleRetrieveFinishingLinesParams,
|
|
131
146
|
type ProductionScheduleRetrieveDerivedLinesParams,
|
|
132
147
|
type ProductionScheduleRetrieveDeviationsParams,
|
|
133
148
|
type ProductionScheduleRetrieveWeekReleasePreviewParams,
|
|
@@ -7,6 +7,7 @@ import * as BlocksAPI from '../messaging/blocks';
|
|
|
7
7
|
import * as OperationsAPI from './operations';
|
|
8
8
|
import * as APIKeysAPI from '../auth/api-keys/api-keys';
|
|
9
9
|
import * as ItemsAPI from '../catalog/items/items';
|
|
10
|
+
import * as ProductLinesAPI from '../catalog/product-lines/product-lines';
|
|
10
11
|
import { APIPromise } from '../../core/api-promise';
|
|
11
12
|
import { RequestOptions } from '../../internal/request-options';
|
|
12
13
|
import { path } from '../../internal/utils/path';
|
|
@@ -61,9 +62,11 @@ export class MachineDowntimeEvents extends APIResource {
|
|
|
61
62
|
/**
|
|
62
63
|
* Logs a machine downtime event.
|
|
63
64
|
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
65
|
+
* Give the stoppage an end either as `ended_at` or as a `duration` counted in a
|
|
66
|
+
* unit of time — sending both is rejected. Omit `ended_at` while the machine is
|
|
67
|
+
* still down. A machine can only have one open event at a time, so logging a
|
|
68
|
+
* second open stoppage against a machine that is already down is rejected until
|
|
69
|
+
* the first is closed.
|
|
67
70
|
*
|
|
68
71
|
* The department is taken from the machine, the business day is taken from
|
|
69
72
|
* `started_at`, the event is attributed to the credentials that made the request,
|
|
@@ -96,10 +99,12 @@ export class MachineDowntimeEvents extends APIResource {
|
|
|
96
99
|
/**
|
|
97
100
|
* Closes or corrects a machine downtime event.
|
|
98
101
|
*
|
|
99
|
-
* Only the fields provided in the request are changed. Setting `ended_at`
|
|
100
|
-
* the
|
|
101
|
-
*
|
|
102
|
-
*
|
|
102
|
+
* Only the fields provided in the request are changed. Setting `ended_at` — or a
|
|
103
|
+
* `duration`, which says the same thing as a length of time from the start —
|
|
104
|
+
* closes the event and calculates how long it lasted; sending either as null
|
|
105
|
+
* reopens an event closed by mistake, which is rejected when the machine already
|
|
106
|
+
* has another open stoppage. Moving the event to another machine re-resolves the
|
|
107
|
+
* department the stoppage is charged to.
|
|
103
108
|
*
|
|
104
109
|
* This endpoint requires the permission: `machine_downtime:update`.
|
|
105
110
|
*
|
|
@@ -187,6 +192,14 @@ export interface CreateMachineDowntimeEventRequest {
|
|
|
187
192
|
*/
|
|
188
193
|
batch_id?: string;
|
|
189
194
|
|
|
195
|
+
/**
|
|
196
|
+
* An amount together with the unit it is expressed in.
|
|
197
|
+
*
|
|
198
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
199
|
+
* the same way as physical amounts like weights or counts.
|
|
200
|
+
*/
|
|
201
|
+
duration?: ProductLinesAPI.QuantityInput;
|
|
202
|
+
|
|
190
203
|
/**
|
|
191
204
|
* When the machine started running again.
|
|
192
205
|
*
|
|
@@ -382,6 +395,14 @@ export interface UpdateMachineDowntimeEventRequest {
|
|
|
382
395
|
*/
|
|
383
396
|
batch_id?: string | null;
|
|
384
397
|
|
|
398
|
+
/**
|
|
399
|
+
* An amount together with the unit it is expressed in.
|
|
400
|
+
*
|
|
401
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
402
|
+
* the same way as physical amounts like weights or counts.
|
|
403
|
+
*/
|
|
404
|
+
duration?: ProductLinesAPI.QuantityInput | null;
|
|
405
|
+
|
|
385
406
|
/**
|
|
386
407
|
* When the machine started running again.
|
|
387
408
|
*
|
|
@@ -398,6 +419,15 @@ export interface UpdateMachineDowntimeEventRequest {
|
|
|
398
419
|
*/
|
|
399
420
|
item_id?: string | null;
|
|
400
421
|
|
|
422
|
+
/**
|
|
423
|
+
* ID of the machine that stopped.
|
|
424
|
+
*
|
|
425
|
+
* Moving an event to another machine re-resolves the department it is charged to,
|
|
426
|
+
* so past availability changes for both rooms. Rejected when the destination
|
|
427
|
+
* machine already has an open stoppage and this one is open too.
|
|
428
|
+
*/
|
|
429
|
+
machine_id?: string;
|
|
430
|
+
|
|
401
431
|
/**
|
|
402
432
|
* Free-form notes about the stoppage.
|
|
403
433
|
*
|
|
@@ -563,6 +593,14 @@ export interface MachineDowntimeEventCreateParams {
|
|
|
563
593
|
*/
|
|
564
594
|
batch_id?: string;
|
|
565
595
|
|
|
596
|
+
/**
|
|
597
|
+
* Body param: An amount together with the unit it is expressed in.
|
|
598
|
+
*
|
|
599
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
600
|
+
* the same way as physical amounts like weights or counts.
|
|
601
|
+
*/
|
|
602
|
+
duration?: ProductLinesAPI.QuantityInput;
|
|
603
|
+
|
|
566
604
|
/**
|
|
567
605
|
* Body param: When the machine started running again.
|
|
568
606
|
*
|
|
@@ -613,6 +651,14 @@ export interface MachineDowntimeEventUpdateParams {
|
|
|
613
651
|
*/
|
|
614
652
|
batch_id?: string | null;
|
|
615
653
|
|
|
654
|
+
/**
|
|
655
|
+
* Body param: An amount together with the unit it is expressed in.
|
|
656
|
+
*
|
|
657
|
+
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
658
|
+
* the same way as physical amounts like weights or counts.
|
|
659
|
+
*/
|
|
660
|
+
duration?: ProductLinesAPI.QuantityInput | null;
|
|
661
|
+
|
|
616
662
|
/**
|
|
617
663
|
* Body param: When the machine started running again.
|
|
618
664
|
*
|
|
@@ -629,6 +675,15 @@ export interface MachineDowntimeEventUpdateParams {
|
|
|
629
675
|
*/
|
|
630
676
|
item_id?: string | null;
|
|
631
677
|
|
|
678
|
+
/**
|
|
679
|
+
* Body param: ID of the machine that stopped.
|
|
680
|
+
*
|
|
681
|
+
* Moving an event to another machine re-resolves the department it is charged to,
|
|
682
|
+
* so past availability changes for both rooms. Rejected when the destination
|
|
683
|
+
* machine already has an open stoppage and this one is open too.
|
|
684
|
+
*/
|
|
685
|
+
machine_id?: string;
|
|
686
|
+
|
|
632
687
|
/**
|
|
633
688
|
* Body param: Free-form notes about the stoppage.
|
|
634
689
|
*
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as APIKeysAPI from '../../auth/api-keys/api-keys';
|
|
5
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* 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.
|
|
11
|
+
*/
|
|
12
|
+
export class Closures extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Lists the dates a calendar is shut, within a date window.
|
|
15
|
+
*
|
|
16
|
+
* Bounded rather than exhaustive: a calendar accumulates closures indefinitely,
|
|
17
|
+
* and the useful answer is the year either side of today. Widen it with
|
|
18
|
+
* `from_date` and `to_date`.
|
|
19
|
+
*
|
|
20
|
+
* This endpoint requires the permission: `production_schedules:read`.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const listOperatingCalendarClosure =
|
|
25
|
+
* await client.operations.operatingCalendars.closures.list(
|
|
26
|
+
* 'occd_7f2m9qk4wzxb',
|
|
27
|
+
* );
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
id: string,
|
|
32
|
+
query: ClosureListParams | null | undefined = {},
|
|
33
|
+
options?: RequestOptions,
|
|
34
|
+
): APIPromise<ListOperatingCalendarClosure> {
|
|
35
|
+
return this._client.get(path`/v1/operations/operating-calendars/${id}/closures`, { query, ...options });
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Closes a calendar on a date.
|
|
40
|
+
*
|
|
41
|
+
* Every ship-by date resolved against this calendar afterwards walks past the
|
|
42
|
+
* closure: a carrier that does not move on Thanksgiving pushes the day an order
|
|
43
|
+
* has to leave earlier, and a plant shutdown does the same.
|
|
44
|
+
*
|
|
45
|
+
* Closing the same date twice is a no-op rather than an error, so re-seeding a
|
|
46
|
+
* year is safe and never renames a closure somebody has relabelled.
|
|
47
|
+
*
|
|
48
|
+
* This endpoint requires the permission: `production_schedules:update`.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const operatingCalendarClosure =
|
|
53
|
+
* await client.operations.operatingCalendars.closures.create(
|
|
54
|
+
* 'occd_7f2m9qk4wzxb',
|
|
55
|
+
* {
|
|
56
|
+
* closed_on: '2026-11-26T00:00:00Z',
|
|
57
|
+
* name: 'Thanksgiving Day',
|
|
58
|
+
* },
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
create(
|
|
63
|
+
id: string,
|
|
64
|
+
body: ClosureCreateParams,
|
|
65
|
+
options?: RequestOptions,
|
|
66
|
+
): APIPromise<OperatingCalendarClosure> {
|
|
67
|
+
return this._client.post(path`/v1/operations/operating-calendars/${id}/closures`, { body, ...options });
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Reopens a date the calendar was closed on.
|
|
72
|
+
*
|
|
73
|
+
* Used to drop a seeded holiday a plant actually works through. Orders already
|
|
74
|
+
* issued keep the dates they were stamped with.
|
|
75
|
+
*
|
|
76
|
+
* This endpoint requires the permission: `production_schedules:update`.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```ts
|
|
80
|
+
* const closure =
|
|
81
|
+
* await client.operations.operatingCalendars.closures.delete(
|
|
82
|
+
* 'occdcn_3vh8yt5nqp1r',
|
|
83
|
+
* { id: 'occd_7f2m9qk4wzxb' },
|
|
84
|
+
* );
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
delete(
|
|
88
|
+
closureID: string,
|
|
89
|
+
params: ClosureDeleteParams,
|
|
90
|
+
options?: RequestOptions,
|
|
91
|
+
): APIPromise<ClosureDeleteResponse> {
|
|
92
|
+
const { id } = params;
|
|
93
|
+
return this._client.delete(path`/v1/operations/operating-calendars/${id}/closures/${closureID}`, options);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Request to close a calendar on a date.
|
|
99
|
+
*/
|
|
100
|
+
export interface CreateOperatingCalendarClosureRequest {
|
|
101
|
+
/**
|
|
102
|
+
* The date nothing operates. Truncated to a day.
|
|
103
|
+
*/
|
|
104
|
+
closed_on: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* What the closure is, such as "Thanksgiving Day" or "Summer shutdown".
|
|
108
|
+
*/
|
|
109
|
+
name: string;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* A single page of resources, together with the metadata needed to page through
|
|
114
|
+
* the rest of the result set.
|
|
115
|
+
*/
|
|
116
|
+
export interface ListOperatingCalendarClosure {
|
|
117
|
+
/**
|
|
118
|
+
* Resources in this page.
|
|
119
|
+
*/
|
|
120
|
+
data: Array<OperatingCalendarClosure>;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Resource type identifier.
|
|
124
|
+
*/
|
|
125
|
+
object: 'list';
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* PageInfo describes where the current page sits within a paginated result set and
|
|
129
|
+
* how to move to the adjacent pages.
|
|
130
|
+
*
|
|
131
|
+
* Page a list by following the URLs below rather than assembling cursors yourself.
|
|
132
|
+
* For a top-level list endpoint the URL repeats the original request's query
|
|
133
|
+
* string with only the cursor swapped, so following it preserves the same filters,
|
|
134
|
+
* search term, and page size.
|
|
135
|
+
*/
|
|
136
|
+
page_info: APIKeysAPI.PageInfo;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* OperatingCalendarClosure is one date a calendar is shut — a holiday, or a day of
|
|
141
|
+
* a shutdown week.
|
|
142
|
+
*/
|
|
143
|
+
export interface OperatingCalendarClosure {
|
|
144
|
+
/**
|
|
145
|
+
* Unique identifier.
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The date nothing operates.
|
|
151
|
+
*/
|
|
152
|
+
closed_on: string;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Creation timestamp.
|
|
156
|
+
*/
|
|
157
|
+
created_at: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* What the closure is, such as "Thanksgiving Day" or "Summer shutdown".
|
|
161
|
+
*/
|
|
162
|
+
name: string;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Resource type identifier.
|
|
166
|
+
*/
|
|
167
|
+
object: 'operating_calendar_closure';
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* The calendar this closure belongs to.
|
|
171
|
+
*/
|
|
172
|
+
operating_calendar_id: string;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Last updated timestamp.
|
|
176
|
+
*/
|
|
177
|
+
updated_at: string;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface ClosureDeleteResponse {}
|
|
181
|
+
|
|
182
|
+
export interface ClosureListParams {
|
|
183
|
+
/**
|
|
184
|
+
* Earliest closure date to return. Defaults to a year ago.
|
|
185
|
+
*/
|
|
186
|
+
from_date?: string;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Latest closure date to return. Defaults to a year ahead.
|
|
190
|
+
*/
|
|
191
|
+
to_date?: string;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export interface ClosureCreateParams {
|
|
195
|
+
/**
|
|
196
|
+
* The date nothing operates. Truncated to a day.
|
|
197
|
+
*/
|
|
198
|
+
closed_on: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* What the closure is, such as "Thanksgiving Day" or "Summer shutdown".
|
|
202
|
+
*/
|
|
203
|
+
name: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export interface ClosureDeleteParams {
|
|
207
|
+
/**
|
|
208
|
+
* Operating calendar ID.
|
|
209
|
+
*/
|
|
210
|
+
id: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export declare namespace Closures {
|
|
214
|
+
export {
|
|
215
|
+
type CreateOperatingCalendarClosureRequest as CreateOperatingCalendarClosureRequest,
|
|
216
|
+
type ListOperatingCalendarClosure as ListOperatingCalendarClosure,
|
|
217
|
+
type OperatingCalendarClosure as OperatingCalendarClosure,
|
|
218
|
+
type ClosureDeleteResponse as ClosureDeleteResponse,
|
|
219
|
+
type ClosureListParams as ClosureListParams,
|
|
220
|
+
type ClosureCreateParams as ClosureCreateParams,
|
|
221
|
+
type ClosureDeleteParams as ClosureDeleteParams,
|
|
222
|
+
};
|
|
223
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Closures,
|
|
5
|
+
type CreateOperatingCalendarClosureRequest,
|
|
6
|
+
type ListOperatingCalendarClosure,
|
|
7
|
+
type OperatingCalendarClosure,
|
|
8
|
+
type ClosureDeleteResponse,
|
|
9
|
+
type ClosureListParams,
|
|
10
|
+
type ClosureCreateParams,
|
|
11
|
+
type ClosureDeleteParams,
|
|
12
|
+
} from './closures';
|
|
13
|
+
export {
|
|
14
|
+
OperatingCalendars,
|
|
15
|
+
type CreateOperatingCalendarRequest,
|
|
16
|
+
type ListOperatingCalendar,
|
|
17
|
+
type OperatingCalendar,
|
|
18
|
+
type UpdateOperatingCalendarRequest,
|
|
19
|
+
type OperatingCalendarDeleteResponse,
|
|
20
|
+
type OperatingCalendarListParams,
|
|
21
|
+
type OperatingCalendarCreateParams,
|
|
22
|
+
type OperatingCalendarUpdateParams,
|
|
23
|
+
} from './operating-calendars';
|