@simpleapps-com/augur-api 2026.10.30 → 2026.11.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/README.md +84 -33
- package/SKILL.md +25 -24
- package/dist/client.d.ts +334 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/core/base-client.d.ts +179 -0
- package/dist/core/base-client.d.ts.map +1 -0
- package/dist/core/call-rules.d.ts +73 -0
- package/dist/core/call-rules.d.ts.map +1 -0
- package/dist/core/call.d.ts +48 -0
- package/dist/core/call.d.ts.map +1 -0
- package/dist/core/client.d.ts +112 -0
- package/dist/core/client.d.ts.map +1 -0
- package/dist/core/common-schemas.d.ts +522 -0
- package/dist/core/common-schemas.d.ts.map +1 -0
- package/dist/core/config.d.ts +72 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/encoded-segment.d.ts +23 -0
- package/dist/core/encoded-segment.d.ts.map +1 -0
- package/dist/core/errors.d.ts +91 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/http-rules.d.ts +64 -0
- package/dist/core/http-rules.d.ts.map +1 -0
- package/dist/core/path-validation.d.ts +28 -0
- package/dist/core/path-validation.d.ts.map +1 -0
- package/dist/core/proxy-rules.d.ts +21 -0
- package/dist/core/proxy-rules.d.ts.map +1 -0
- package/dist/core/registry-rules.d.ts +15 -0
- package/dist/core/registry-rules.d.ts.map +1 -0
- package/dist/core/registry-tables.d.ts +3 -0
- package/dist/core/registry-tables.d.ts.map +1 -0
- package/dist/core/registry.d.ts +54 -0
- package/dist/core/registry.d.ts.map +1 -0
- package/dist/core/response-rules.d.ts +19 -0
- package/dist/core/response-rules.d.ts.map +1 -0
- package/dist/core/schemas.d.ts +70 -0
- package/dist/core/schemas.d.ts.map +1 -0
- package/dist/core/service-proxy.d.ts +81 -0
- package/dist/core/service-proxy.d.ts.map +1 -0
- package/dist/core/site-id-check.d.ts +6 -0
- package/dist/core/site-id-check.d.ts.map +1 -0
- package/dist/core/site-id.d.ts +15 -0
- package/dist/core/site-id.d.ts.map +1 -0
- package/dist/index.d.ts +71 -236
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19860 -18427
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19859 -18427
- package/dist/index.mjs.map +1 -1
- package/dist/services/agr-info/client.d.ts +71 -0
- package/dist/services/agr-info/client.d.ts.map +1 -0
- package/dist/services/agr-info/generated/endpoints.d.ts +41 -0
- package/dist/services/agr-info/generated/endpoints.d.ts.map +1 -0
- package/dist/services/agr-info/generated/schemas.d.ts +297 -0
- package/dist/services/agr-info/generated/schemas.d.ts.map +1 -0
- package/dist/services/agr-info/generated/types.d.ts +1093 -0
- package/dist/services/agr-info/generated/types.d.ts.map +1 -0
- package/dist/services/agr-info/index.d.ts +2 -0
- package/dist/services/agr-info/index.d.ts.map +1 -0
- package/dist/services/agr-int/client.d.ts +100 -0
- package/dist/services/agr-int/client.d.ts.map +1 -0
- package/dist/services/agr-int/generated/endpoints.d.ts +42 -0
- package/dist/services/agr-int/generated/endpoints.d.ts.map +1 -0
- package/dist/services/agr-int/generated/schemas.d.ts +595 -0
- package/dist/services/agr-int/generated/schemas.d.ts.map +1 -0
- package/dist/services/agr-int/generated/types.d.ts +1984 -0
- package/dist/services/agr-int/generated/types.d.ts.map +1 -0
- package/dist/services/agr-int/index.d.ts +2 -0
- package/dist/services/agr-int/index.d.ts.map +1 -0
- package/dist/services/agr-site/client.d.ts +112 -0
- package/dist/services/agr-site/client.d.ts.map +1 -0
- package/dist/services/agr-site/generated/endpoints.d.ts +42 -0
- package/dist/services/agr-site/generated/endpoints.d.ts.map +1 -0
- package/dist/services/agr-site/generated/schemas.d.ts +537 -0
- package/dist/services/agr-site/generated/schemas.d.ts.map +1 -0
- package/dist/services/agr-site/generated/types.d.ts +1732 -0
- package/dist/services/agr-site/generated/types.d.ts.map +1 -0
- package/dist/services/agr-site/index.d.ts +2 -0
- package/dist/services/agr-site/index.d.ts.map +1 -0
- package/dist/services/agr-work/client.d.ts +23 -0
- package/dist/services/agr-work/client.d.ts.map +1 -0
- package/dist/services/agr-work/generated/endpoints.d.ts +41 -0
- package/dist/services/agr-work/generated/endpoints.d.ts.map +1 -0
- package/dist/services/agr-work/generated/schemas.d.ts +21 -0
- package/dist/services/agr-work/generated/schemas.d.ts.map +1 -0
- package/dist/services/agr-work/generated/types.d.ts +19 -0
- package/dist/services/agr-work/generated/types.d.ts.map +1 -0
- package/dist/services/agr-work/index.d.ts +2 -0
- package/dist/services/agr-work/index.d.ts.map +1 -0
- package/dist/services/avalara/client.d.ts +33 -0
- package/dist/services/avalara/client.d.ts.map +1 -0
- package/dist/services/avalara/generated/endpoints.d.ts +41 -0
- package/dist/services/avalara/generated/endpoints.d.ts.map +1 -0
- package/dist/services/avalara/generated/schemas.d.ts +22 -0
- package/dist/services/avalara/generated/schemas.d.ts.map +1 -0
- package/dist/services/avalara/generated/types.d.ts +103 -0
- package/dist/services/avalara/generated/types.d.ts.map +1 -0
- package/dist/services/avalara/index.d.ts +2 -0
- package/dist/services/avalara/index.d.ts.map +1 -0
- package/dist/services/basecamp2/client.d.ts +92 -0
- package/dist/services/basecamp2/client.d.ts.map +1 -0
- package/dist/services/basecamp2/generated/endpoints.d.ts +42 -0
- package/dist/services/basecamp2/generated/endpoints.d.ts.map +1 -0
- package/dist/services/basecamp2/generated/schemas.d.ts +845 -0
- package/dist/services/basecamp2/generated/schemas.d.ts.map +1 -0
- package/dist/services/basecamp2/generated/types.d.ts +1587 -0
- package/dist/services/basecamp2/generated/types.d.ts.map +1 -0
- package/dist/services/basecamp2/index.d.ts +2 -0
- package/dist/services/basecamp2/index.d.ts.map +1 -0
- package/dist/services/brand-folder/client.d.ts +37 -0
- package/dist/services/brand-folder/client.d.ts.map +1 -0
- package/dist/services/brand-folder/generated/endpoints.d.ts +41 -0
- package/dist/services/brand-folder/generated/endpoints.d.ts.map +1 -0
- package/dist/services/brand-folder/generated/schemas.d.ts +81 -0
- package/dist/services/brand-folder/generated/schemas.d.ts.map +1 -0
- package/dist/services/brand-folder/generated/types.d.ts +195 -0
- package/dist/services/brand-folder/generated/types.d.ts.map +1 -0
- package/dist/services/brand-folder/index.d.ts +2 -0
- package/dist/services/brand-folder/index.d.ts.map +1 -0
- package/dist/services/commerce/client.d.ts +57 -0
- package/dist/services/commerce/client.d.ts.map +1 -0
- package/dist/services/commerce/generated/endpoints.d.ts +42 -0
- package/dist/services/commerce/generated/endpoints.d.ts.map +1 -0
- package/dist/services/commerce/generated/schemas.d.ts +319 -0
- package/dist/services/commerce/generated/schemas.d.ts.map +1 -0
- package/dist/services/commerce/generated/types.d.ts +1134 -0
- package/dist/services/commerce/generated/types.d.ts.map +1 -0
- package/dist/services/commerce/index.d.ts +2 -0
- package/dist/services/commerce/index.d.ts.map +1 -0
- package/dist/services/customers/client.d.ts +162 -0
- package/dist/services/customers/client.d.ts.map +1 -0
- package/dist/services/customers/generated/endpoints.d.ts +42 -0
- package/dist/services/customers/generated/endpoints.d.ts.map +1 -0
- package/dist/services/customers/generated/schemas.d.ts +1970 -0
- package/dist/services/customers/generated/schemas.d.ts.map +1 -0
- package/dist/services/customers/generated/types.d.ts +3849 -0
- package/dist/services/customers/generated/types.d.ts.map +1 -0
- package/dist/services/customers/index.d.ts +2 -0
- package/dist/services/customers/index.d.ts.map +1 -0
- package/dist/services/goog-mc/client.d.ts +44 -0
- package/dist/services/goog-mc/client.d.ts.map +1 -0
- package/dist/services/goog-mc/generated/endpoints.d.ts +42 -0
- package/dist/services/goog-mc/generated/endpoints.d.ts.map +1 -0
- package/dist/services/goog-mc/generated/schemas.d.ts +175 -0
- package/dist/services/goog-mc/generated/schemas.d.ts.map +1 -0
- package/dist/services/goog-mc/generated/types.d.ts +361 -0
- package/dist/services/goog-mc/generated/types.d.ts.map +1 -0
- package/dist/services/goog-mc/index.d.ts +2 -0
- package/dist/services/goog-mc/index.d.ts.map +1 -0
- package/dist/services/gregorovich/client.d.ts +34 -0
- package/dist/services/gregorovich/client.d.ts.map +1 -0
- package/dist/services/gregorovich/generated/endpoints.d.ts +42 -0
- package/dist/services/gregorovich/generated/endpoints.d.ts.map +1 -0
- package/dist/services/gregorovich/generated/schemas.d.ts +35 -0
- package/dist/services/gregorovich/generated/schemas.d.ts.map +1 -0
- package/dist/services/gregorovich/generated/types.d.ts +70 -0
- package/dist/services/gregorovich/generated/types.d.ts.map +1 -0
- package/dist/services/gregorovich/index.d.ts +2 -0
- package/dist/services/gregorovich/index.d.ts.map +1 -0
- package/dist/services/items/client.d.ts +453 -0
- package/dist/services/items/client.d.ts.map +1 -0
- package/dist/services/items/generated/endpoints.d.ts +42 -0
- package/dist/services/items/generated/endpoints.d.ts.map +1 -0
- package/dist/services/items/generated/schemas.d.ts +4636 -0
- package/dist/services/items/generated/schemas.d.ts.map +1 -0
- package/dist/services/items/generated/types.d.ts +10513 -0
- package/dist/services/items/generated/types.d.ts.map +1 -0
- package/dist/services/items/index.d.ts +2 -0
- package/dist/services/items/index.d.ts.map +1 -0
- package/dist/services/joomla/client.d.ts +74 -0
- package/dist/services/joomla/client.d.ts.map +1 -0
- package/dist/services/joomla/generated/endpoints.d.ts +41 -0
- package/dist/services/joomla/generated/endpoints.d.ts.map +1 -0
- package/dist/services/joomla/generated/schemas.d.ts +546 -0
- package/dist/services/joomla/generated/schemas.d.ts.map +1 -0
- package/dist/services/joomla/generated/types.d.ts +1489 -0
- package/dist/services/joomla/generated/types.d.ts.map +1 -0
- package/dist/services/joomla/index.d.ts +2 -0
- package/dist/services/joomla/index.d.ts.map +1 -0
- package/dist/services/legacy/client.d.ts +75 -0
- package/dist/services/legacy/client.d.ts.map +1 -0
- package/dist/services/legacy/generated/endpoints.d.ts +41 -0
- package/dist/services/legacy/generated/endpoints.d.ts.map +1 -0
- package/dist/services/legacy/generated/schemas.d.ts +567 -0
- package/dist/services/legacy/generated/schemas.d.ts.map +1 -0
- package/dist/services/legacy/generated/types.d.ts +1454 -0
- package/dist/services/legacy/generated/types.d.ts.map +1 -0
- package/dist/services/legacy/index.d.ts +2 -0
- package/dist/services/legacy/index.d.ts.map +1 -0
- package/dist/services/logistics/client.d.ts +64 -0
- package/dist/services/logistics/client.d.ts.map +1 -0
- package/dist/services/logistics/generated/endpoints.d.ts +41 -0
- package/dist/services/logistics/generated/endpoints.d.ts.map +1 -0
- package/dist/services/logistics/generated/schemas.d.ts +375 -0
- package/dist/services/logistics/generated/schemas.d.ts.map +1 -0
- package/dist/services/logistics/generated/types.d.ts +925 -0
- package/dist/services/logistics/generated/types.d.ts.map +1 -0
- package/dist/services/logistics/index.d.ts +2 -0
- package/dist/services/logistics/index.d.ts.map +1 -0
- package/dist/services/markets/client.d.ts +47 -0
- package/dist/services/markets/client.d.ts.map +1 -0
- package/dist/services/markets/generated/endpoints.d.ts +41 -0
- package/dist/services/markets/generated/endpoints.d.ts.map +1 -0
- package/dist/services/markets/generated/schemas.d.ts +180 -0
- package/dist/services/markets/generated/schemas.d.ts.map +1 -0
- package/dist/services/markets/generated/types.d.ts +405 -0
- package/dist/services/markets/generated/types.d.ts.map +1 -0
- package/dist/services/markets/index.d.ts +2 -0
- package/dist/services/markets/index.d.ts.map +1 -0
- package/dist/services/notifications/client.d.ts +58 -0
- package/dist/services/notifications/client.d.ts.map +1 -0
- package/dist/services/notifications/generated/endpoints.d.ts +41 -0
- package/dist/services/notifications/generated/endpoints.d.ts.map +1 -0
- package/dist/services/notifications/generated/schemas.d.ts +247 -0
- package/dist/services/notifications/generated/schemas.d.ts.map +1 -0
- package/dist/services/notifications/generated/types.d.ts +666 -0
- package/dist/services/notifications/generated/types.d.ts.map +1 -0
- package/dist/services/notifications/index.d.ts +2 -0
- package/dist/services/notifications/index.d.ts.map +1 -0
- package/dist/services/open-search/client.d.ts +69 -0
- package/dist/services/open-search/client.d.ts.map +1 -0
- package/dist/services/open-search/generated/endpoints.d.ts +42 -0
- package/dist/services/open-search/generated/endpoints.d.ts.map +1 -0
- package/dist/services/open-search/generated/schemas.d.ts +363 -0
- package/dist/services/open-search/generated/schemas.d.ts.map +1 -0
- package/dist/services/open-search/generated/types.d.ts +983 -0
- package/dist/services/open-search/generated/types.d.ts.map +1 -0
- package/dist/services/open-search/index.d.ts +2 -0
- package/dist/services/open-search/index.d.ts.map +1 -0
- package/dist/services/orders/client.d.ts +180 -0
- package/dist/services/orders/client.d.ts.map +1 -0
- package/dist/services/orders/generated/endpoints.d.ts +42 -0
- package/dist/services/orders/generated/endpoints.d.ts.map +1 -0
- package/dist/services/orders/generated/schemas.d.ts +2479 -0
- package/dist/services/orders/generated/schemas.d.ts.map +1 -0
- package/dist/services/orders/generated/types.d.ts +4717 -0
- package/dist/services/orders/generated/types.d.ts.map +1 -0
- package/dist/services/orders/index.d.ts +2 -0
- package/dist/services/orders/index.d.ts.map +1 -0
- package/dist/services/p21-apis/client.d.ts +59 -0
- package/dist/services/p21-apis/client.d.ts.map +1 -0
- package/dist/services/p21-apis/generated/endpoints.d.ts +41 -0
- package/dist/services/p21-apis/generated/endpoints.d.ts.map +1 -0
- package/dist/services/p21-apis/generated/schemas.d.ts +46 -0
- package/dist/services/p21-apis/generated/schemas.d.ts.map +1 -0
- package/dist/services/p21-apis/generated/types.d.ts +246 -0
- package/dist/services/p21-apis/generated/types.d.ts.map +1 -0
- package/dist/services/p21-apis/index.d.ts +2 -0
- package/dist/services/p21-apis/index.d.ts.map +1 -0
- package/dist/services/p21-core/client.d.ts +131 -0
- package/dist/services/p21-core/client.d.ts.map +1 -0
- package/dist/services/p21-core/generated/endpoints.d.ts +42 -0
- package/dist/services/p21-core/generated/endpoints.d.ts.map +1 -0
- package/dist/services/p21-core/generated/schemas.d.ts +1478 -0
- package/dist/services/p21-core/generated/schemas.d.ts.map +1 -0
- package/dist/services/p21-core/generated/types.d.ts +2718 -0
- package/dist/services/p21-core/generated/types.d.ts.map +1 -0
- package/dist/services/p21-core/index.d.ts +2 -0
- package/dist/services/p21-core/index.d.ts.map +1 -0
- package/dist/services/p21-pim/client.d.ts +75 -0
- package/dist/services/p21-pim/client.d.ts.map +1 -0
- package/dist/services/p21-pim/generated/endpoints.d.ts +41 -0
- package/dist/services/p21-pim/generated/endpoints.d.ts.map +1 -0
- package/dist/services/p21-pim/generated/schemas.d.ts +383 -0
- package/dist/services/p21-pim/generated/schemas.d.ts.map +1 -0
- package/dist/services/p21-pim/generated/types.d.ts +933 -0
- package/dist/services/p21-pim/generated/types.d.ts.map +1 -0
- package/dist/services/p21-pim/index.d.ts +2 -0
- package/dist/services/p21-pim/index.d.ts.map +1 -0
- package/dist/services/p21-sism/client.d.ts +432 -0
- package/dist/services/p21-sism/client.d.ts.map +1 -0
- package/dist/services/p21-sism/generated/endpoints.d.ts +42 -0
- package/dist/services/p21-sism/generated/endpoints.d.ts.map +1 -0
- package/dist/services/p21-sism/generated/schemas.d.ts +2844 -0
- package/dist/services/p21-sism/generated/schemas.d.ts.map +1 -0
- package/dist/services/p21-sism/generated/types.d.ts +6977 -0
- package/dist/services/p21-sism/generated/types.d.ts.map +1 -0
- package/dist/services/p21-sism/index.d.ts +37 -0
- package/dist/services/p21-sism/index.d.ts.map +1 -0
- package/dist/services/payments/client.d.ts +77 -0
- package/dist/services/payments/client.d.ts.map +1 -0
- package/dist/services/payments/generated/endpoints.d.ts +42 -0
- package/dist/services/payments/generated/endpoints.d.ts.map +1 -0
- package/dist/services/payments/generated/schemas.d.ts +1015 -0
- package/dist/services/payments/generated/schemas.d.ts.map +1 -0
- package/dist/services/payments/generated/types.d.ts +1432 -0
- package/dist/services/payments/generated/types.d.ts.map +1 -0
- package/dist/services/payments/index.d.ts +2 -0
- package/dist/services/payments/index.d.ts.map +1 -0
- package/dist/services/pricing/client.d.ts +216 -0
- package/dist/services/pricing/client.d.ts.map +1 -0
- package/dist/services/pricing/generated/endpoints.d.ts +42 -0
- package/dist/services/pricing/generated/endpoints.d.ts.map +1 -0
- package/dist/services/pricing/generated/schemas.d.ts +2048 -0
- package/dist/services/pricing/generated/schemas.d.ts.map +1 -0
- package/dist/services/pricing/generated/types.d.ts +4257 -0
- package/dist/services/pricing/generated/types.d.ts.map +1 -0
- package/dist/services/pricing/index.d.ts +2 -0
- package/dist/services/pricing/index.d.ts.map +1 -0
- package/dist/services/shipping/client.d.ts +33 -0
- package/dist/services/shipping/client.d.ts.map +1 -0
- package/dist/services/shipping/generated/endpoints.d.ts +41 -0
- package/dist/services/shipping/generated/endpoints.d.ts.map +1 -0
- package/dist/services/shipping/generated/schemas.d.ts +29 -0
- package/dist/services/shipping/generated/schemas.d.ts.map +1 -0
- package/dist/services/shipping/generated/types.d.ts +116 -0
- package/dist/services/shipping/generated/types.d.ts.map +1 -0
- package/dist/services/shipping/index.d.ts +2 -0
- package/dist/services/shipping/index.d.ts.map +1 -0
- package/dist/services/smarty-streets/client.d.ts +33 -0
- package/dist/services/smarty-streets/client.d.ts.map +1 -0
- package/dist/services/smarty-streets/generated/endpoints.d.ts +41 -0
- package/dist/services/smarty-streets/generated/endpoints.d.ts.map +1 -0
- package/dist/services/smarty-streets/generated/schemas.d.ts +72 -0
- package/dist/services/smarty-streets/generated/schemas.d.ts.map +1 -0
- package/dist/services/smarty-streets/generated/types.d.ts +145 -0
- package/dist/services/smarty-streets/generated/types.d.ts.map +1 -0
- package/dist/services/smarty-streets/index.d.ts +2 -0
- package/dist/services/smarty-streets/index.d.ts.map +1 -0
- package/dist/services/ups/client.d.ts +32 -0
- package/dist/services/ups/client.d.ts.map +1 -0
- package/dist/services/ups/generated/endpoints.d.ts +40 -0
- package/dist/services/ups/generated/endpoints.d.ts.map +1 -0
- package/dist/services/ups/generated/schemas.d.ts +51 -0
- package/dist/services/ups/generated/schemas.d.ts.map +1 -0
- package/dist/services/ups/generated/types.d.ts +98 -0
- package/dist/services/ups/generated/types.d.ts.map +1 -0
- package/dist/services/ups/index.d.ts +2 -0
- package/dist/services/ups/index.d.ts.map +1 -0
- package/dist/services/vendors/client.d.ts +38 -0
- package/dist/services/vendors/client.d.ts.map +1 -0
- package/dist/services/vendors/generated/endpoints.d.ts +41 -0
- package/dist/services/vendors/generated/endpoints.d.ts.map +1 -0
- package/dist/services/vendors/generated/schemas.d.ts +350 -0
- package/dist/services/vendors/generated/schemas.d.ts.map +1 -0
- package/dist/services/vendors/generated/types.d.ts +470 -0
- package/dist/services/vendors/generated/types.d.ts.map +1 -0
- package/dist/services/vendors/index.d.ts +2 -0
- package/dist/services/vendors/index.d.ts.map +1 -0
- package/dist/services/vmi/client.d.ts +129 -0
- package/dist/services/vmi/client.d.ts.map +1 -0
- package/dist/services/vmi/generated/endpoints.d.ts +41 -0
- package/dist/services/vmi/generated/endpoints.d.ts.map +1 -0
- package/dist/services/vmi/generated/schemas.d.ts +723 -0
- package/dist/services/vmi/generated/schemas.d.ts.map +1 -0
- package/dist/services/vmi/generated/types.d.ts +2620 -0
- package/dist/services/vmi/generated/types.d.ts.map +1 -0
- package/dist/services/vmi/index.d.ts +2 -0
- package/dist/services/vmi/index.d.ts.map +1 -0
- package/dist/testing.d.ts +9 -13
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +7 -17
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +7 -17
- package/dist/testing.mjs.map +1 -1
- package/dist/utils/cross-site-auth.d.ts +88 -0
- package/dist/utils/cross-site-auth.d.ts.map +1 -0
- package/package.json +34 -47
- package/dist/client-DRpPuvl5.d.mts +0 -58476
- package/dist/client-DRpPuvl5.d.ts +0 -58476
- package/dist/index.d.mts +0 -236
- package/dist/testing.d.mts +0 -83
|
@@ -0,0 +1,933 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated types for the p21-pim service.
|
|
3
|
+
* Product information management for rich content, media assets, and extended item descriptions
|
|
4
|
+
*
|
|
5
|
+
* Public specs (the source of truth for every shape below):
|
|
6
|
+
* https://p21-pim.augur-api.com/endpoints.jsonl: one JSON line per endpoint: method, path, path
|
|
7
|
+
* params and query params, each with type and required flag. Grep it for a path; for a GET
|
|
8
|
+
* that line is all you need. Bodies are not in it.
|
|
9
|
+
* https://p21-pim.augur-api.com/openapi.json: the full contract: request and response bodies
|
|
10
|
+
* field by field, descriptions, formats and documented errors.
|
|
11
|
+
* https://p21-pim.augur-api.com/llms.txt: the plain-text endpoint list and the other Augur
|
|
12
|
+
* services.
|
|
13
|
+
*
|
|
14
|
+
* Source: shared/specs/p21-pim.json
|
|
15
|
+
*
|
|
16
|
+
* DO NOT EDIT — regenerate with: pnpm -C tools/augur-api-generator generate ts
|
|
17
|
+
*/
|
|
18
|
+
import type { EdgeCacheParams } from "../../../core/common-schemas";
|
|
19
|
+
import type { BaseResponse } from "../../../core/schemas";
|
|
20
|
+
/** Params for GET /inv-mast-ext */
|
|
21
|
+
export interface InvMastExtListParams extends EdgeCacheParams {
|
|
22
|
+
/** Filter to one item (inv_mast) */
|
|
23
|
+
invMastUid?: number;
|
|
24
|
+
/** Limit number of results (Default: 10) */
|
|
25
|
+
limit?: number;
|
|
26
|
+
/** Starting offset results (Default: 0) */
|
|
27
|
+
offset?: number;
|
|
28
|
+
/** Order By (Default: inv_mast_ext_uid|ASC) */
|
|
29
|
+
orderBy?: string;
|
|
30
|
+
/** Search Query */
|
|
31
|
+
q?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Status code or list of codes (700=DELETE, 704=ACTIVE, 705=INACTIVE), sent comma-joined
|
|
34
|
+
* (704,705); -1 for every status. Default: 704
|
|
35
|
+
*/
|
|
36
|
+
statusCd?: number | number[];
|
|
37
|
+
}
|
|
38
|
+
/** Params for GET /inv-mast-ext/{invMastExtUid} */
|
|
39
|
+
export type InvMastExtGetParams = EdgeCacheParams;
|
|
40
|
+
/** Params for GET /inv-mast-files */
|
|
41
|
+
export interface InvMastFilesListParams extends EdgeCacheParams {
|
|
42
|
+
/** Filter to one item (inv_mast) */
|
|
43
|
+
invMastUid?: number;
|
|
44
|
+
/** Limit number of results (Default: 10) */
|
|
45
|
+
limit?: number;
|
|
46
|
+
/** Starting offset results (Default: 0) */
|
|
47
|
+
offset?: number;
|
|
48
|
+
/** Order By (Default: inv_mast_files_uid|ASC) */
|
|
49
|
+
orderBy?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Status code or list of codes (700=DELETE, 704=ACTIVE, 705=INACTIVE), sent comma-joined
|
|
52
|
+
* (704,705); -1 for every status. Default: 704
|
|
53
|
+
*/
|
|
54
|
+
statusCd?: number | number[];
|
|
55
|
+
}
|
|
56
|
+
/** Params for GET /inv-mast-files/{invMastFilesUid} */
|
|
57
|
+
export type InvMastFilesGetParams = EdgeCacheParams;
|
|
58
|
+
/** Params for GET /inv-mast-text */
|
|
59
|
+
export interface InvMastTextListParams extends EdgeCacheParams {
|
|
60
|
+
/** Filter to one item (inv_mast) */
|
|
61
|
+
invMastUid?: number;
|
|
62
|
+
/** Limit number of results (Default: 10) */
|
|
63
|
+
limit?: number;
|
|
64
|
+
/** Starting offset results (Default: 0) */
|
|
65
|
+
offset?: number;
|
|
66
|
+
/** Order By (Default: inv_mast_text_uid|ASC) */
|
|
67
|
+
orderBy?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Status code or list of codes (700=DELETE, 704=ACTIVE, 705=INACTIVE), sent comma-joined
|
|
70
|
+
* (704,705); -1 for every status. Default: 704
|
|
71
|
+
*/
|
|
72
|
+
statusCd?: number | number[];
|
|
73
|
+
/** Filter to one web display type */
|
|
74
|
+
webDisplayTypeUid?: number;
|
|
75
|
+
}
|
|
76
|
+
/** Params for GET /inv-mast-text/{invMastTextUid} */
|
|
77
|
+
export type InvMastTextGetParams = EdgeCacheParams;
|
|
78
|
+
/** Params for GET /items/{invMastUid}/suggest-display-desc */
|
|
79
|
+
export interface ItemsSuggestDisplayDescListParams extends EdgeCacheParams {
|
|
80
|
+
/** Limit number of results (Default: 10) */
|
|
81
|
+
limit?: number;
|
|
82
|
+
/** LLM to use default: llama3.2-vision:11b */
|
|
83
|
+
model?: string;
|
|
84
|
+
}
|
|
85
|
+
/** Params for GET /items/{invMastUid}/suggest-web-desc */
|
|
86
|
+
export interface ItemsSuggestWebDescListParams extends EdgeCacheParams {
|
|
87
|
+
/** Limit number of results (Default: 10) */
|
|
88
|
+
limit?: number;
|
|
89
|
+
/** LLM to use default: llama3.2-vision:11b */
|
|
90
|
+
model?: string;
|
|
91
|
+
}
|
|
92
|
+
/** Params for GET /podcasts */
|
|
93
|
+
export interface PodcastsListParams extends EdgeCacheParams {
|
|
94
|
+
/** Limit number of results (Default: 10) */
|
|
95
|
+
limit?: number;
|
|
96
|
+
/** Starting offset results (Default: 0) */
|
|
97
|
+
offset?: number;
|
|
98
|
+
/** Order By (Default: podcasts_uid|ASC) */
|
|
99
|
+
orderBy?: string;
|
|
100
|
+
/** Search Query */
|
|
101
|
+
q?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Status code or list of codes (700=DELETE, 704=ACTIVE, 705=INACTIVE), sent comma-joined
|
|
104
|
+
* (704,705); -1 for every status. Default: 704
|
|
105
|
+
*/
|
|
106
|
+
statusCd?: number | number[];
|
|
107
|
+
}
|
|
108
|
+
/** Params for GET /podcasts/{podcastsUid} */
|
|
109
|
+
export type PodcastsGetParams = EdgeCacheParams;
|
|
110
|
+
/**
|
|
111
|
+
* List Inv Mast Ext
|
|
112
|
+
* Response data for GET /inv-mast-ext — MINIMUM fields, extras pass through
|
|
113
|
+
*
|
|
114
|
+
* Returned by: api.p21Pim.invMastExt.list(params) (array items)
|
|
115
|
+
* Returned by: api.p21Pim.invMastExt.create(data)
|
|
116
|
+
* Returned by: api.p21Pim.invMastExt.get(invMastExtUid)
|
|
117
|
+
* Returned by: api.p21Pim.invMastExt.update(invMastExtUid, data)
|
|
118
|
+
* Returned by: api.p21Pim.invMastExt.delete(invMastExtUid)
|
|
119
|
+
*/
|
|
120
|
+
export interface InvMastExtListItem {
|
|
121
|
+
/** Item extended content ID */
|
|
122
|
+
invMastExtUid: number;
|
|
123
|
+
/** Item (inv_mast) the content belongs to */
|
|
124
|
+
invMastUid: number;
|
|
125
|
+
/** When the record was created (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
126
|
+
dateCreated: string;
|
|
127
|
+
/** When the record last changed (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
128
|
+
dateLastModified: string;
|
|
129
|
+
/** Update code (1185 = Import Complete) */
|
|
130
|
+
updateCd: number;
|
|
131
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted) */
|
|
132
|
+
statusCd: number;
|
|
133
|
+
/** Process code (704 = Active, 1185 = Import Complete) */
|
|
134
|
+
processCd: number;
|
|
135
|
+
/** Full UPC or EAN code (max 3 chars) */
|
|
136
|
+
upcOrEan: string | null;
|
|
137
|
+
/** UPC or EAN check identifier (max 15 chars) */
|
|
138
|
+
upcOrEanId: string | null;
|
|
139
|
+
/** UPC or EAN manufacturer prefix (max 9 chars) */
|
|
140
|
+
upcOrEanPrefix: string | null;
|
|
141
|
+
/** UPC or EAN item reference (max 5 chars) */
|
|
142
|
+
upcOrEanItem: string | null;
|
|
143
|
+
/** Attribute group the item belongs to */
|
|
144
|
+
attributeGroupUid: number | null;
|
|
145
|
+
/** Brand name (max 255 chars) */
|
|
146
|
+
brandName: string | null;
|
|
147
|
+
/** Manufacturer name (max 255 chars) */
|
|
148
|
+
manufacturerName: string | null;
|
|
149
|
+
/** Manufacturer part number (max 255 chars) */
|
|
150
|
+
partNumber: string | null;
|
|
151
|
+
/** Page title for the item web page (max 255 chars) */
|
|
152
|
+
metaTitle: string | null;
|
|
153
|
+
/** Meta description for the item web page (max 255 chars) */
|
|
154
|
+
metaDescription: string | null;
|
|
155
|
+
/** Meta keywords for the item web page (max 255 chars) */
|
|
156
|
+
metaKeywords: string | null;
|
|
157
|
+
[key: string]: unknown;
|
|
158
|
+
}
|
|
159
|
+
/** Returned by: api.p21Pim.invMastExt.list(params) */
|
|
160
|
+
export type InvMastExtListData = InvMastExtListItem[];
|
|
161
|
+
/**
|
|
162
|
+
* Create Inv Mast Ext
|
|
163
|
+
* Response data for POST /inv-mast-ext — MINIMUM fields, extras pass through
|
|
164
|
+
*
|
|
165
|
+
* Returned by: api.p21Pim.invMastExt.create(data)
|
|
166
|
+
*/
|
|
167
|
+
export type InvMastExtCreateData = InvMastExtListItem;
|
|
168
|
+
/**
|
|
169
|
+
* Create Inv Mast Ext
|
|
170
|
+
* Request body for POST /inv-mast-ext — MINIMUM fields, extras pass through
|
|
171
|
+
*
|
|
172
|
+
* Request body of: api.p21Pim.invMastExt.create(data)
|
|
173
|
+
*/
|
|
174
|
+
export interface InvMastExtCreateBody {
|
|
175
|
+
/** Item (inv_mast) whose extended row to return */
|
|
176
|
+
invMastUid: number;
|
|
177
|
+
[key: string]: unknown;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Get Inv Mast Ext Details
|
|
181
|
+
* Response data for GET /inv-mast-ext/{invMastExtUid} — MINIMUM fields, extras pass through
|
|
182
|
+
*
|
|
183
|
+
* Returned by: api.p21Pim.invMastExt.get(invMastExtUid)
|
|
184
|
+
*/
|
|
185
|
+
export type InvMastExtGetData = InvMastExtListItem;
|
|
186
|
+
/**
|
|
187
|
+
* Update Inv Mast Ext
|
|
188
|
+
* Response data for PUT /inv-mast-ext/{invMastExtUid} — MINIMUM fields, extras pass through
|
|
189
|
+
*
|
|
190
|
+
* Returned by: api.p21Pim.invMastExt.update(invMastExtUid, data)
|
|
191
|
+
*/
|
|
192
|
+
export type InvMastExtUpdateData = InvMastExtListItem;
|
|
193
|
+
/**
|
|
194
|
+
* Update Inv Mast Ext
|
|
195
|
+
* Request body for PUT /inv-mast-ext/{invMastExtUid} — MINIMUM fields, extras pass through
|
|
196
|
+
*
|
|
197
|
+
* Request body of: api.p21Pim.invMastExt.update(invMastExtUid, data)
|
|
198
|
+
*/
|
|
199
|
+
export interface InvMastExtUpdateBody {
|
|
200
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted) */
|
|
201
|
+
statusCd?: number | null;
|
|
202
|
+
/** Full UPC or EAN code */
|
|
203
|
+
upcOrEan?: string | null;
|
|
204
|
+
/** UPC or EAN check identifier */
|
|
205
|
+
upcOrEanId?: string | null;
|
|
206
|
+
/** UPC or EAN manufacturer prefix */
|
|
207
|
+
upcOrEanPrefix?: string | null;
|
|
208
|
+
/** UPC or EAN item reference */
|
|
209
|
+
upcOrEanItem?: string | null;
|
|
210
|
+
/** Attribute group the item belongs to */
|
|
211
|
+
attributeGroupUid?: number | null;
|
|
212
|
+
/** Brand name */
|
|
213
|
+
brandName?: string | null;
|
|
214
|
+
/** Manufacturer name */
|
|
215
|
+
manufacturerName?: string | null;
|
|
216
|
+
/** Manufacturer part number */
|
|
217
|
+
partNumber?: string | null;
|
|
218
|
+
/** Page title for the item's web page */
|
|
219
|
+
metaTitle?: string | null;
|
|
220
|
+
/** Meta description for the item's web page */
|
|
221
|
+
metaDescription?: string | null;
|
|
222
|
+
/** Meta keywords for the item's web page */
|
|
223
|
+
metaKeywords?: string | null;
|
|
224
|
+
[key: string]: unknown;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* DELETE Inv Mast Ext
|
|
228
|
+
* Response data for DELETE /inv-mast-ext/{invMastExtUid} — MINIMUM fields, extras pass through
|
|
229
|
+
*
|
|
230
|
+
* Returned by: api.p21Pim.invMastExt.delete(invMastExtUid)
|
|
231
|
+
*/
|
|
232
|
+
export type InvMastExtDeleteData = InvMastExtListItem;
|
|
233
|
+
/**
|
|
234
|
+
* List Inv Mast Files
|
|
235
|
+
* Response data for GET /inv-mast-files — MINIMUM fields, extras pass through
|
|
236
|
+
*
|
|
237
|
+
* Returned by: api.p21Pim.invMastFiles.list(params) (array items)
|
|
238
|
+
* Returned by: api.p21Pim.invMastFiles.create(data)
|
|
239
|
+
* Returned by: api.p21Pim.invMastFiles.get(invMastFilesUid)
|
|
240
|
+
* Returned by: api.p21Pim.invMastFiles.update(invMastFilesUid, data)
|
|
241
|
+
* Returned by: api.p21Pim.invMastFiles.delete(invMastFilesUid)
|
|
242
|
+
*/
|
|
243
|
+
export interface InvMastFilesListItem {
|
|
244
|
+
/** Item file ID */
|
|
245
|
+
invMastFilesUid: number;
|
|
246
|
+
/** Item (inv_mast) the file belongs to */
|
|
247
|
+
invMastUid: number;
|
|
248
|
+
/** File name shown to users (max 100 chars) */
|
|
249
|
+
fileName: string;
|
|
250
|
+
/** Path of the file (max 255 chars) */
|
|
251
|
+
filePath: string;
|
|
252
|
+
/** Prophet 21 link area code */
|
|
253
|
+
linkArea: number;
|
|
254
|
+
/** Prophet 21 row status flag */
|
|
255
|
+
rowStatusFlag: number;
|
|
256
|
+
/** Display order among the item files */
|
|
257
|
+
sequenceNo: number;
|
|
258
|
+
/** When the record was created (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
259
|
+
dateCreated: string;
|
|
260
|
+
/** When the record last changed (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
261
|
+
dateLastModified: string;
|
|
262
|
+
/** Update code (1185 = Import Complete) */
|
|
263
|
+
updateCd: number;
|
|
264
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted) */
|
|
265
|
+
statusCd: number;
|
|
266
|
+
/** Process code (704 = Active, 1185 = Import Complete) */
|
|
267
|
+
processCd: number;
|
|
268
|
+
/** File description (max 100 chars) */
|
|
269
|
+
fileDesc: string;
|
|
270
|
+
[key: string]: unknown;
|
|
271
|
+
}
|
|
272
|
+
/** Returned by: api.p21Pim.invMastFiles.list(params) */
|
|
273
|
+
export type InvMastFilesListData = InvMastFilesListItem[];
|
|
274
|
+
/**
|
|
275
|
+
* Create Inv Mast Files
|
|
276
|
+
* Response data for POST /inv-mast-files — MINIMUM fields, extras pass through
|
|
277
|
+
*
|
|
278
|
+
* Returned by: api.p21Pim.invMastFiles.create(data)
|
|
279
|
+
*/
|
|
280
|
+
export type InvMastFilesCreateData = InvMastFilesListItem;
|
|
281
|
+
/**
|
|
282
|
+
* Create Inv Mast Files
|
|
283
|
+
* Request body for POST /inv-mast-files — MINIMUM fields, extras pass through
|
|
284
|
+
*
|
|
285
|
+
* Request body of: api.p21Pim.invMastFiles.create(data)
|
|
286
|
+
*/
|
|
287
|
+
export interface InvMastFilesCreateBody {
|
|
288
|
+
/** Item (inv_mast) the file belongs to; required */
|
|
289
|
+
invMastUid: number | null;
|
|
290
|
+
/** Path of the file; required */
|
|
291
|
+
filePath: string | null;
|
|
292
|
+
/** File name shown to users */
|
|
293
|
+
fileName?: string | null;
|
|
294
|
+
/** File description */
|
|
295
|
+
fileDesc?: string | null;
|
|
296
|
+
/** Prophet 21 link area code */
|
|
297
|
+
linkArea?: number | null;
|
|
298
|
+
/** Prophet 21 row status flag */
|
|
299
|
+
rowStatusFlag?: number | null;
|
|
300
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted); defaults to 704 */
|
|
301
|
+
statusCd?: number | null;
|
|
302
|
+
[key: string]: unknown;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Get Inv Mast Files Details
|
|
306
|
+
* Response data for GET /inv-mast-files/{invMastFilesUid} — MINIMUM fields, extras pass through
|
|
307
|
+
*
|
|
308
|
+
* Returned by: api.p21Pim.invMastFiles.get(invMastFilesUid)
|
|
309
|
+
*/
|
|
310
|
+
export type InvMastFilesGetData = InvMastFilesListItem;
|
|
311
|
+
/**
|
|
312
|
+
* Update Inv Mast Files
|
|
313
|
+
* Response data for PUT /inv-mast-files/{invMastFilesUid} — MINIMUM fields, extras pass through
|
|
314
|
+
*
|
|
315
|
+
* Returned by: api.p21Pim.invMastFiles.update(invMastFilesUid, data)
|
|
316
|
+
*/
|
|
317
|
+
export type InvMastFilesUpdateData = InvMastFilesListItem;
|
|
318
|
+
/**
|
|
319
|
+
* Update Inv Mast Files
|
|
320
|
+
* Request body for PUT /inv-mast-files/{invMastFilesUid} — MINIMUM fields, extras pass through
|
|
321
|
+
*
|
|
322
|
+
* Request body of: api.p21Pim.invMastFiles.update(invMastFilesUid, data)
|
|
323
|
+
*/
|
|
324
|
+
export interface InvMastFilesUpdateBody {
|
|
325
|
+
/** File name shown to users; a blank value keeps the current name */
|
|
326
|
+
fileName?: string | null;
|
|
327
|
+
/** File description */
|
|
328
|
+
fileDesc?: string | null;
|
|
329
|
+
/** Prophet 21 link area code */
|
|
330
|
+
linkArea?: number | null;
|
|
331
|
+
/** Prophet 21 row status flag */
|
|
332
|
+
rowStatusFlag?: number | null;
|
|
333
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted); an invalid code is ignored */
|
|
334
|
+
statusCd?: number | null;
|
|
335
|
+
[key: string]: unknown;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* DELETE Inv Mast Files
|
|
339
|
+
* Response data for DELETE /inv-mast-files/{invMastFilesUid} — MINIMUM fields, extras pass through
|
|
340
|
+
*
|
|
341
|
+
* Returned by: api.p21Pim.invMastFiles.delete(invMastFilesUid)
|
|
342
|
+
*/
|
|
343
|
+
export type InvMastFilesDeleteData = InvMastFilesListItem;
|
|
344
|
+
/**
|
|
345
|
+
* List Inv Mast Text
|
|
346
|
+
* Response data for GET /inv-mast-text — MINIMUM fields, extras pass through
|
|
347
|
+
*
|
|
348
|
+
* Returned by: api.p21Pim.invMastText.list(params) (array items)
|
|
349
|
+
* Returned by: api.p21Pim.invMastText.create(data)
|
|
350
|
+
* Returned by: api.p21Pim.invMastText.get(invMastTextUid)
|
|
351
|
+
* Returned by: api.p21Pim.invMastText.update(invMastTextUid, data)
|
|
352
|
+
* Returned by: api.p21Pim.invMastText.delete(invMastTextUid)
|
|
353
|
+
*/
|
|
354
|
+
export interface InvMastTextListItem {
|
|
355
|
+
/** Item text ID */
|
|
356
|
+
invMastTextUid: number;
|
|
357
|
+
/** Item (inv_mast) the text belongs to */
|
|
358
|
+
invMastUid: number;
|
|
359
|
+
/** Display order among the item texts */
|
|
360
|
+
sequenceNo: number;
|
|
361
|
+
/** The text */
|
|
362
|
+
textValue: string;
|
|
363
|
+
/** Y to show the text on the web (max 1 chars) */
|
|
364
|
+
displayOnWebFlag: string;
|
|
365
|
+
/** Web display type the text is shown as */
|
|
366
|
+
webDisplayTypeUid: number;
|
|
367
|
+
/** Prophet 21 text type code (2296 = HTML Document Text) */
|
|
368
|
+
textTypeCd: number;
|
|
369
|
+
/** When the record was created (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
370
|
+
dateCreated: string;
|
|
371
|
+
/** When the record last changed (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
372
|
+
dateLastModified: string;
|
|
373
|
+
/** Update code (1185 = Import Complete) */
|
|
374
|
+
updateCd: number;
|
|
375
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted) */
|
|
376
|
+
statusCd: number;
|
|
377
|
+
/** Process code (704 = Active, 1185 = Import Complete) */
|
|
378
|
+
processCd: number;
|
|
379
|
+
[key: string]: unknown;
|
|
380
|
+
}
|
|
381
|
+
/** Returned by: api.p21Pim.invMastText.list(params) */
|
|
382
|
+
export type InvMastTextListData = InvMastTextListItem[];
|
|
383
|
+
/**
|
|
384
|
+
* Create Inv Mast Text
|
|
385
|
+
* Response data for POST /inv-mast-text — MINIMUM fields, extras pass through
|
|
386
|
+
*
|
|
387
|
+
* Returned by: api.p21Pim.invMastText.create(data)
|
|
388
|
+
*/
|
|
389
|
+
export type InvMastTextCreateData = InvMastTextListItem;
|
|
390
|
+
/**
|
|
391
|
+
* Create Inv Mast Text
|
|
392
|
+
* Request body for POST /inv-mast-text — MINIMUM fields, extras pass through
|
|
393
|
+
*
|
|
394
|
+
* Request body of: api.p21Pim.invMastText.create(data)
|
|
395
|
+
*/
|
|
396
|
+
export interface InvMastTextCreateBody {
|
|
397
|
+
/** Item (inv_mast) the text belongs to; required */
|
|
398
|
+
invMastUid: number | null;
|
|
399
|
+
/** Web display type the text is shown as; required */
|
|
400
|
+
webDisplayTypeUid: number | null;
|
|
401
|
+
/** The text; required and not blank */
|
|
402
|
+
textValue: string | null;
|
|
403
|
+
/** Y to show the text on the web; defaults to Y */
|
|
404
|
+
displayOnWebFlag?: string | null;
|
|
405
|
+
/** Prophet 21 text type code; defaults to 2296 (HTML Document Text) */
|
|
406
|
+
textTypeCd?: number | null;
|
|
407
|
+
[key: string]: unknown;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Get Inv Mast Text Details
|
|
411
|
+
* Response data for GET /inv-mast-text/{invMastTextUid} — MINIMUM fields, extras pass through
|
|
412
|
+
*
|
|
413
|
+
* Returned by: api.p21Pim.invMastText.get(invMastTextUid)
|
|
414
|
+
*/
|
|
415
|
+
export type InvMastTextGetData = InvMastTextListItem;
|
|
416
|
+
/**
|
|
417
|
+
* Update Inv Mast Text
|
|
418
|
+
* Response data for PUT /inv-mast-text/{invMastTextUid} — MINIMUM fields, extras pass through
|
|
419
|
+
*
|
|
420
|
+
* Returned by: api.p21Pim.invMastText.update(invMastTextUid, data)
|
|
421
|
+
*/
|
|
422
|
+
export type InvMastTextUpdateData = InvMastTextListItem;
|
|
423
|
+
/**
|
|
424
|
+
* Update Inv Mast Text
|
|
425
|
+
* Request body for PUT /inv-mast-text/{invMastTextUid} — MINIMUM fields, extras pass through
|
|
426
|
+
*
|
|
427
|
+
* Request body of: api.p21Pim.invMastText.update(invMastTextUid, data)
|
|
428
|
+
*/
|
|
429
|
+
export interface InvMastTextUpdateBody {
|
|
430
|
+
/** The text; a blank value keeps the current text */
|
|
431
|
+
textValue?: string | null;
|
|
432
|
+
/** Y to show the text on the web */
|
|
433
|
+
displayOnWebFlag?: string | null;
|
|
434
|
+
/** Prophet 21 text type code */
|
|
435
|
+
textTypeCd?: number | null;
|
|
436
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted); an invalid code is ignored */
|
|
437
|
+
statusCd?: number | null;
|
|
438
|
+
[key: string]: unknown;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* DELETE Inv Mast Text
|
|
442
|
+
* Response data for DELETE /inv-mast-text/{invMastTextUid} — MINIMUM fields, extras pass through
|
|
443
|
+
*
|
|
444
|
+
* Returned by: api.p21Pim.invMastText.delete(invMastTextUid)
|
|
445
|
+
*/
|
|
446
|
+
export type InvMastTextDeleteData = InvMastTextListItem;
|
|
447
|
+
/**
|
|
448
|
+
* Shape of data nested in ItemsSuggestDisplayDescListData (MINIMUM fields; reused wherever the same
|
|
449
|
+
* shape appears)
|
|
450
|
+
*
|
|
451
|
+
* Nested in ItemsSuggestDisplayDescListData
|
|
452
|
+
* Nested in ItemsSuggestWebDescListData
|
|
453
|
+
*/
|
|
454
|
+
export interface ItemsSuggestDisplayDescListDataOption1Item {
|
|
455
|
+
/** Suggested description */
|
|
456
|
+
description: string;
|
|
457
|
+
/** Length of the description in characters */
|
|
458
|
+
length: number;
|
|
459
|
+
/** Euclidean (L2) distance from the item's meaning embedding; smaller is closer */
|
|
460
|
+
euclideanDistance: number;
|
|
461
|
+
/** Taxicab (L1) distance from the item's meaning embedding; smaller is closer */
|
|
462
|
+
taxicabDistance: number;
|
|
463
|
+
[key: string]: unknown;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Suggest Item Display Description
|
|
467
|
+
* Response data for GET /items/{invMastUid}/suggest-display-desc — MINIMUM fields, extras pass
|
|
468
|
+
* through
|
|
469
|
+
*
|
|
470
|
+
* Returned by: api.p21Pim.items.suggestDisplayDesc.list(invMastUid, params)
|
|
471
|
+
*/
|
|
472
|
+
export type ItemsSuggestDisplayDescListData = ItemsSuggestDisplayDescListDataOption1Item[] | false;
|
|
473
|
+
/**
|
|
474
|
+
* Suggest Item Web Description
|
|
475
|
+
* Response data for GET /items/{invMastUid}/suggest-web-desc — MINIMUM fields, extras pass through
|
|
476
|
+
*
|
|
477
|
+
* Returned by: api.p21Pim.items.suggestWebDesc.list(invMastUid, params)
|
|
478
|
+
*/
|
|
479
|
+
export type ItemsSuggestWebDescListData = ItemsSuggestDisplayDescListDataOption1Item[] | false;
|
|
480
|
+
/**
|
|
481
|
+
* List Podcasts
|
|
482
|
+
* Response data for GET /podcasts — MINIMUM fields, extras pass through
|
|
483
|
+
*
|
|
484
|
+
* Returned by: api.p21Pim.podcasts.list(params) (array items)
|
|
485
|
+
* Returned by: api.p21Pim.podcasts.create(data)
|
|
486
|
+
* Returned by: api.p21Pim.podcasts.get(podcastsUid)
|
|
487
|
+
* Returned by: api.p21Pim.podcasts.update(podcastsUid, data)
|
|
488
|
+
* Returned by: api.p21Pim.podcasts.delete(podcastsUid)
|
|
489
|
+
*/
|
|
490
|
+
export interface PodcastsListItem {
|
|
491
|
+
/** Podcast ID */
|
|
492
|
+
podcastsUid: number;
|
|
493
|
+
/** Podcast title (max 255 chars) */
|
|
494
|
+
title: string | null;
|
|
495
|
+
/** Path of the audio file (max 255 chars) */
|
|
496
|
+
path: string | null;
|
|
497
|
+
/** Podcast transcript */
|
|
498
|
+
transcript: string;
|
|
499
|
+
/** When the record was created (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
500
|
+
dateCreated: string;
|
|
501
|
+
/** When the record last changed (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
502
|
+
dateLastModified: string;
|
|
503
|
+
/** Update code (1185 = Import Complete) */
|
|
504
|
+
updateCd: number;
|
|
505
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted) */
|
|
506
|
+
statusCd: number;
|
|
507
|
+
/** Process code (704 = Active, 1185 = Import Complete) */
|
|
508
|
+
processCd: number;
|
|
509
|
+
[key: string]: unknown;
|
|
510
|
+
}
|
|
511
|
+
/** Returned by: api.p21Pim.podcasts.list(params) */
|
|
512
|
+
export type PodcastsListData = PodcastsListItem[];
|
|
513
|
+
/**
|
|
514
|
+
* Create Podcast
|
|
515
|
+
* Response data for POST /podcasts — MINIMUM fields, extras pass through
|
|
516
|
+
*
|
|
517
|
+
* Returned by: api.p21Pim.podcasts.create(data)
|
|
518
|
+
*/
|
|
519
|
+
export type PodcastsCreateData = PodcastsListItem;
|
|
520
|
+
/**
|
|
521
|
+
* Create Podcast
|
|
522
|
+
* Request body for POST /podcasts — MINIMUM fields, extras pass through
|
|
523
|
+
*
|
|
524
|
+
* Request body of: api.p21Pim.podcasts.create(data)
|
|
525
|
+
*/
|
|
526
|
+
export interface PodcastsCreateBody {
|
|
527
|
+
/** Podcast title; defaults to empty */
|
|
528
|
+
title?: string | null;
|
|
529
|
+
/** Path of the audio file; defaults to empty */
|
|
530
|
+
path?: string | null;
|
|
531
|
+
/** Podcast transcript; defaults to empty */
|
|
532
|
+
transcript?: string | null;
|
|
533
|
+
[key: string]: unknown;
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* Get Podcast Details
|
|
537
|
+
* Response data for GET /podcasts/{podcastsUid} — MINIMUM fields, extras pass through
|
|
538
|
+
*
|
|
539
|
+
* Returned by: api.p21Pim.podcasts.get(podcastsUid)
|
|
540
|
+
*/
|
|
541
|
+
export type PodcastsGetData = PodcastsListItem;
|
|
542
|
+
/**
|
|
543
|
+
* Update Podcast
|
|
544
|
+
* Response data for PUT /podcasts/{podcastsUid} — MINIMUM fields, extras pass through
|
|
545
|
+
*
|
|
546
|
+
* Returned by: api.p21Pim.podcasts.update(podcastsUid, data)
|
|
547
|
+
*/
|
|
548
|
+
export type PodcastsUpdateData = PodcastsListItem;
|
|
549
|
+
/**
|
|
550
|
+
* Update Podcast
|
|
551
|
+
* Request body for PUT /podcasts/{podcastsUid} — MINIMUM fields, extras pass through
|
|
552
|
+
*
|
|
553
|
+
* Request body of: api.p21Pim.podcasts.update(podcastsUid, data)
|
|
554
|
+
*/
|
|
555
|
+
export interface PodcastsUpdateBody {
|
|
556
|
+
/** Podcast title */
|
|
557
|
+
title?: string | null;
|
|
558
|
+
/** Path of the audio file */
|
|
559
|
+
path?: string | null;
|
|
560
|
+
/** Podcast transcript */
|
|
561
|
+
transcript?: string | null;
|
|
562
|
+
/** Status code (704 = Active, 705 = Inactive, 700 = Deleted) */
|
|
563
|
+
statusCd?: number | null;
|
|
564
|
+
[key: string]: unknown;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* DELETE Podcast
|
|
568
|
+
* Response data for DELETE /podcasts/{podcastsUid} — MINIMUM fields, extras pass through
|
|
569
|
+
*
|
|
570
|
+
* Returned by: api.p21Pim.podcasts.delete(podcastsUid)
|
|
571
|
+
*/
|
|
572
|
+
export type PodcastsDeleteData = PodcastsListItem;
|
|
573
|
+
export interface P21PimClientSpec {
|
|
574
|
+
invMastExt: {
|
|
575
|
+
/**
|
|
576
|
+
* List Inv Mast Ext
|
|
577
|
+
* Call: api.p21Pim.invMastExt.list(params)
|
|
578
|
+
*
|
|
579
|
+
* Errors:
|
|
580
|
+
* 400: orderBy is not column|ASC or column|DESC on an inv_mast_ext column.
|
|
581
|
+
*
|
|
582
|
+
* GET https://p21-pim.augur-api.com/inv-mast-ext
|
|
583
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-ext/get
|
|
584
|
+
*
|
|
585
|
+
* @param params InvMastExtListParams (query string)
|
|
586
|
+
* @returns BaseResponse whose `data` is InvMastExtListData
|
|
587
|
+
*/
|
|
588
|
+
list: (params?: InvMastExtListParams) => Promise<BaseResponse<InvMastExtListData>>;
|
|
589
|
+
/**
|
|
590
|
+
* Create Inv Mast Ext
|
|
591
|
+
* Call: api.p21Pim.invMastExt.create(data)
|
|
592
|
+
*
|
|
593
|
+
* Request body: Look up the inv_mast_ext row for an item
|
|
594
|
+
*
|
|
595
|
+
* Errors:
|
|
596
|
+
* 400: The body is missing or not a JSON object. Or invMastUid is missing.
|
|
597
|
+
*
|
|
598
|
+
* POST https://p21-pim.augur-api.com/inv-mast-ext
|
|
599
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-ext/post
|
|
600
|
+
*
|
|
601
|
+
* @param data InvMastExtCreateBody (request body)
|
|
602
|
+
* @returns BaseResponse whose `data` is InvMastExtCreateData
|
|
603
|
+
*/
|
|
604
|
+
create: (data: InvMastExtCreateBody) => Promise<BaseResponse<InvMastExtCreateData>>;
|
|
605
|
+
/**
|
|
606
|
+
* Get Inv Mast Ext Details
|
|
607
|
+
* Call: api.p21Pim.invMastExt.get(invMastExtUid)
|
|
608
|
+
*
|
|
609
|
+
* Errors:
|
|
610
|
+
* 404: No extended content with this ID.
|
|
611
|
+
*
|
|
612
|
+
* GET https://p21-pim.augur-api.com/inv-mast-ext/{invMastExtUid}
|
|
613
|
+
* Contract:
|
|
614
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-ext~1{invMastExtUid}/get
|
|
615
|
+
*
|
|
616
|
+
* @param invMastExtUid Item extended content ID
|
|
617
|
+
* @param params InvMastExtGetParams (query string)
|
|
618
|
+
* @returns BaseResponse whose `data` is InvMastExtGetData
|
|
619
|
+
*/
|
|
620
|
+
get: (invMastExtUid: number, params?: InvMastExtGetParams) => Promise<BaseResponse<InvMastExtGetData>>;
|
|
621
|
+
/**
|
|
622
|
+
* Update Inv Mast Ext
|
|
623
|
+
* Call: api.p21Pim.invMastExt.update(invMastExtUid, data)
|
|
624
|
+
*
|
|
625
|
+
* Request body: Partial update of an item's extended content; an absent field keeps its current
|
|
626
|
+
* value
|
|
627
|
+
*
|
|
628
|
+
* Errors:
|
|
629
|
+
* 400: The body is missing or not a JSON object.
|
|
630
|
+
* 404: No extended content with this ID.
|
|
631
|
+
*
|
|
632
|
+
* PUT https://p21-pim.augur-api.com/inv-mast-ext/{invMastExtUid}
|
|
633
|
+
* Contract:
|
|
634
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-ext~1{invMastExtUid}/put
|
|
635
|
+
*
|
|
636
|
+
* @param invMastExtUid Item extended content ID
|
|
637
|
+
* @param data InvMastExtUpdateBody (request body)
|
|
638
|
+
* @returns BaseResponse whose `data` is InvMastExtUpdateData
|
|
639
|
+
*/
|
|
640
|
+
update: (invMastExtUid: number, data: InvMastExtUpdateBody) => Promise<BaseResponse<InvMastExtUpdateData>>;
|
|
641
|
+
/**
|
|
642
|
+
* DELETE Inv Mast Ext
|
|
643
|
+
* Call: api.p21Pim.invMastExt.delete(invMastExtUid)
|
|
644
|
+
*
|
|
645
|
+
* Errors:
|
|
646
|
+
* 404: No extended content with this ID.
|
|
647
|
+
*
|
|
648
|
+
* DELETE https://p21-pim.augur-api.com/inv-mast-ext/{invMastExtUid}
|
|
649
|
+
* Contract:
|
|
650
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-ext~1{invMastExtUid}/delete
|
|
651
|
+
*
|
|
652
|
+
* @param invMastExtUid Item extended content ID
|
|
653
|
+
* @returns BaseResponse whose `data` is InvMastExtDeleteData
|
|
654
|
+
*/
|
|
655
|
+
delete: (invMastExtUid: number) => Promise<BaseResponse<InvMastExtDeleteData>>;
|
|
656
|
+
};
|
|
657
|
+
invMastFiles: {
|
|
658
|
+
/**
|
|
659
|
+
* List Inv Mast Files
|
|
660
|
+
* Call: api.p21Pim.invMastFiles.list(params)
|
|
661
|
+
*
|
|
662
|
+
* Errors:
|
|
663
|
+
* 400: orderBy is not column|ASC or column|DESC on an inv_mast_files column.
|
|
664
|
+
*
|
|
665
|
+
* GET https://p21-pim.augur-api.com/inv-mast-files
|
|
666
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-files/get
|
|
667
|
+
*
|
|
668
|
+
* @param params InvMastFilesListParams (query string)
|
|
669
|
+
* @returns BaseResponse whose `data` is InvMastFilesListData
|
|
670
|
+
*/
|
|
671
|
+
list: (params?: InvMastFilesListParams) => Promise<BaseResponse<InvMastFilesListData>>;
|
|
672
|
+
/**
|
|
673
|
+
* Create Inv Mast Files
|
|
674
|
+
* Call: api.p21Pim.invMastFiles.create(data)
|
|
675
|
+
*
|
|
676
|
+
* Request body: Attach a file to an item, or return the existing row for the same item and path
|
|
677
|
+
*
|
|
678
|
+
* Errors:
|
|
679
|
+
* 400: The body is missing or not a JSON object.
|
|
680
|
+
*
|
|
681
|
+
* POST https://p21-pim.augur-api.com/inv-mast-files
|
|
682
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-files/post
|
|
683
|
+
*
|
|
684
|
+
* @param data InvMastFilesCreateBody (request body)
|
|
685
|
+
* @returns BaseResponse whose `data` is InvMastFilesCreateData
|
|
686
|
+
*/
|
|
687
|
+
create: (data: InvMastFilesCreateBody) => Promise<BaseResponse<InvMastFilesCreateData>>;
|
|
688
|
+
/**
|
|
689
|
+
* Get Inv Mast Files Details
|
|
690
|
+
* Call: api.p21Pim.invMastFiles.get(invMastFilesUid)
|
|
691
|
+
*
|
|
692
|
+
* Errors:
|
|
693
|
+
* 404: No item file with this ID.
|
|
694
|
+
*
|
|
695
|
+
* GET https://p21-pim.augur-api.com/inv-mast-files/{invMastFilesUid}
|
|
696
|
+
* Contract:
|
|
697
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-files~1{invMastFilesUid}/get
|
|
698
|
+
*
|
|
699
|
+
* @param invMastFilesUid Item file ID
|
|
700
|
+
* @param params InvMastFilesGetParams (query string)
|
|
701
|
+
* @returns BaseResponse whose `data` is InvMastFilesGetData
|
|
702
|
+
*/
|
|
703
|
+
get: (invMastFilesUid: number, params?: InvMastFilesGetParams) => Promise<BaseResponse<InvMastFilesGetData>>;
|
|
704
|
+
/**
|
|
705
|
+
* Update Inv Mast Files
|
|
706
|
+
* Call: api.p21Pim.invMastFiles.update(invMastFilesUid, data)
|
|
707
|
+
*
|
|
708
|
+
* Request body: Partial update of an item file; an absent field keeps its current value
|
|
709
|
+
*
|
|
710
|
+
* Errors:
|
|
711
|
+
* 400: The body is missing or not a JSON object.
|
|
712
|
+
* 404: No item file with this ID.
|
|
713
|
+
*
|
|
714
|
+
* PUT https://p21-pim.augur-api.com/inv-mast-files/{invMastFilesUid}
|
|
715
|
+
* Contract:
|
|
716
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-files~1{invMastFilesUid}/put
|
|
717
|
+
*
|
|
718
|
+
* @param invMastFilesUid Item file ID
|
|
719
|
+
* @param data InvMastFilesUpdateBody (request body)
|
|
720
|
+
* @returns BaseResponse whose `data` is InvMastFilesUpdateData
|
|
721
|
+
*/
|
|
722
|
+
update: (invMastFilesUid: number, data: InvMastFilesUpdateBody) => Promise<BaseResponse<InvMastFilesUpdateData>>;
|
|
723
|
+
/**
|
|
724
|
+
* DELETE Inv Mast Files
|
|
725
|
+
* Call: api.p21Pim.invMastFiles.delete(invMastFilesUid)
|
|
726
|
+
*
|
|
727
|
+
* Errors:
|
|
728
|
+
* 404: No item file with this ID.
|
|
729
|
+
*
|
|
730
|
+
* DELETE https://p21-pim.augur-api.com/inv-mast-files/{invMastFilesUid}
|
|
731
|
+
* Contract:
|
|
732
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-files~1{invMastFilesUid}/delete
|
|
733
|
+
*
|
|
734
|
+
* @param invMastFilesUid Item file ID
|
|
735
|
+
* @returns BaseResponse whose `data` is InvMastFilesDeleteData
|
|
736
|
+
*/
|
|
737
|
+
delete: (invMastFilesUid: number) => Promise<BaseResponse<InvMastFilesDeleteData>>;
|
|
738
|
+
};
|
|
739
|
+
invMastText: {
|
|
740
|
+
/**
|
|
741
|
+
* List Inv Mast Text
|
|
742
|
+
* Call: api.p21Pim.invMastText.list(params)
|
|
743
|
+
*
|
|
744
|
+
* Errors:
|
|
745
|
+
* 400: orderBy is not column|ASC or column|DESC on an inv_mast_text column.
|
|
746
|
+
*
|
|
747
|
+
* GET https://p21-pim.augur-api.com/inv-mast-text
|
|
748
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-text/get
|
|
749
|
+
*
|
|
750
|
+
* @param params InvMastTextListParams (query string)
|
|
751
|
+
* @returns BaseResponse whose `data` is InvMastTextListData
|
|
752
|
+
*/
|
|
753
|
+
list: (params?: InvMastTextListParams) => Promise<BaseResponse<InvMastTextListData>>;
|
|
754
|
+
/**
|
|
755
|
+
* Create Inv Mast Text
|
|
756
|
+
* Call: api.p21Pim.invMastText.create(data)
|
|
757
|
+
*
|
|
758
|
+
* Request body: Set an item's text for one web display type
|
|
759
|
+
*
|
|
760
|
+
* Errors:
|
|
761
|
+
* 400: The body is missing or not a JSON object.
|
|
762
|
+
*
|
|
763
|
+
* POST https://p21-pim.augur-api.com/inv-mast-text
|
|
764
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-text/post
|
|
765
|
+
*
|
|
766
|
+
* @param data InvMastTextCreateBody (request body)
|
|
767
|
+
* @returns BaseResponse whose `data` is InvMastTextCreateData
|
|
768
|
+
*/
|
|
769
|
+
create: (data: InvMastTextCreateBody) => Promise<BaseResponse<InvMastTextCreateData>>;
|
|
770
|
+
/**
|
|
771
|
+
* Get Inv Mast Text Details
|
|
772
|
+
* Call: api.p21Pim.invMastText.get(invMastTextUid)
|
|
773
|
+
*
|
|
774
|
+
* Errors:
|
|
775
|
+
* 404: No item text with this ID.
|
|
776
|
+
*
|
|
777
|
+
* GET https://p21-pim.augur-api.com/inv-mast-text/{invMastTextUid}
|
|
778
|
+
* Contract:
|
|
779
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-text~1{invMastTextUid}/get
|
|
780
|
+
*
|
|
781
|
+
* @param invMastTextUid Item text ID
|
|
782
|
+
* @param params InvMastTextGetParams (query string)
|
|
783
|
+
* @returns BaseResponse whose `data` is InvMastTextGetData
|
|
784
|
+
*/
|
|
785
|
+
get: (invMastTextUid: number, params?: InvMastTextGetParams) => Promise<BaseResponse<InvMastTextGetData>>;
|
|
786
|
+
/**
|
|
787
|
+
* Update Inv Mast Text
|
|
788
|
+
* Call: api.p21Pim.invMastText.update(invMastTextUid, data)
|
|
789
|
+
*
|
|
790
|
+
* Request body: Partial update of an item text; an absent field keeps its current value
|
|
791
|
+
*
|
|
792
|
+
* Errors:
|
|
793
|
+
* 400: The body is missing or not a JSON object.
|
|
794
|
+
* 404: No item text with this ID.
|
|
795
|
+
*
|
|
796
|
+
* PUT https://p21-pim.augur-api.com/inv-mast-text/{invMastTextUid}
|
|
797
|
+
* Contract:
|
|
798
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-text~1{invMastTextUid}/put
|
|
799
|
+
*
|
|
800
|
+
* @param invMastTextUid Item text ID
|
|
801
|
+
* @param data InvMastTextUpdateBody (request body)
|
|
802
|
+
* @returns BaseResponse whose `data` is InvMastTextUpdateData
|
|
803
|
+
*/
|
|
804
|
+
update: (invMastTextUid: number, data: InvMastTextUpdateBody) => Promise<BaseResponse<InvMastTextUpdateData>>;
|
|
805
|
+
/**
|
|
806
|
+
* DELETE Inv Mast Text
|
|
807
|
+
* Call: api.p21Pim.invMastText.delete(invMastTextUid)
|
|
808
|
+
*
|
|
809
|
+
* Errors:
|
|
810
|
+
* 404: No item text with this ID.
|
|
811
|
+
*
|
|
812
|
+
* DELETE https://p21-pim.augur-api.com/inv-mast-text/{invMastTextUid}
|
|
813
|
+
* Contract:
|
|
814
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1inv-mast-text~1{invMastTextUid}/delete
|
|
815
|
+
*
|
|
816
|
+
* @param invMastTextUid Item text ID
|
|
817
|
+
* @returns BaseResponse whose `data` is InvMastTextDeleteData
|
|
818
|
+
*/
|
|
819
|
+
delete: (invMastTextUid: number) => Promise<BaseResponse<InvMastTextDeleteData>>;
|
|
820
|
+
};
|
|
821
|
+
items: {
|
|
822
|
+
suggestDisplayDesc: {
|
|
823
|
+
/**
|
|
824
|
+
* Suggest Item Display Description
|
|
825
|
+
* Call: api.p21Pim.items.suggestDisplayDesc.list(invMastUid, params)
|
|
826
|
+
*
|
|
827
|
+
* GET https://p21-pim.augur-api.com/items/{invMastUid}/suggest-display-desc
|
|
828
|
+
* Contract:
|
|
829
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1items~1{invMastUid}~1suggest-display-desc/get
|
|
830
|
+
*
|
|
831
|
+
* @param invMastUid Item (inv_mast) to suggest descriptions for
|
|
832
|
+
* @param params ItemsSuggestDisplayDescListParams (query string)
|
|
833
|
+
* @returns BaseResponse whose `data` is ItemsSuggestDisplayDescListData
|
|
834
|
+
*/
|
|
835
|
+
list: (invMastUid: number, params?: ItemsSuggestDisplayDescListParams) => Promise<BaseResponse<ItemsSuggestDisplayDescListData>>;
|
|
836
|
+
};
|
|
837
|
+
suggestWebDesc: {
|
|
838
|
+
/**
|
|
839
|
+
* Suggest Item Web Description
|
|
840
|
+
* Call: api.p21Pim.items.suggestWebDesc.list(invMastUid, params)
|
|
841
|
+
*
|
|
842
|
+
* GET https://p21-pim.augur-api.com/items/{invMastUid}/suggest-web-desc
|
|
843
|
+
* Contract:
|
|
844
|
+
* https://p21-pim.augur-api.com/openapi.json#/paths/~1items~1{invMastUid}~1suggest-web-desc/get
|
|
845
|
+
*
|
|
846
|
+
* @param invMastUid Item (inv_mast) to suggest descriptions for
|
|
847
|
+
* @param params ItemsSuggestWebDescListParams (query string)
|
|
848
|
+
* @returns BaseResponse whose `data` is ItemsSuggestWebDescListData
|
|
849
|
+
*/
|
|
850
|
+
list: (invMastUid: number, params?: ItemsSuggestWebDescListParams) => Promise<BaseResponse<ItemsSuggestWebDescListData>>;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
podcasts: {
|
|
854
|
+
/**
|
|
855
|
+
* List Podcasts
|
|
856
|
+
* Call: api.p21Pim.podcasts.list(params)
|
|
857
|
+
*
|
|
858
|
+
* Errors:
|
|
859
|
+
* 400: orderBy is not column|ASC or column|DESC on a podcasts column.
|
|
860
|
+
*
|
|
861
|
+
* GET https://p21-pim.augur-api.com/podcasts
|
|
862
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1podcasts/get
|
|
863
|
+
*
|
|
864
|
+
* @param params PodcastsListParams (query string)
|
|
865
|
+
* @returns BaseResponse whose `data` is PodcastsListData
|
|
866
|
+
*/
|
|
867
|
+
list: (params?: PodcastsListParams) => Promise<BaseResponse<PodcastsListData>>;
|
|
868
|
+
/**
|
|
869
|
+
* Create Podcast
|
|
870
|
+
* Call: api.p21Pim.podcasts.create(data)
|
|
871
|
+
*
|
|
872
|
+
* Request body: Create a podcast
|
|
873
|
+
*
|
|
874
|
+
* Errors:
|
|
875
|
+
* 400: The body is missing or not a JSON object.
|
|
876
|
+
*
|
|
877
|
+
* POST https://p21-pim.augur-api.com/podcasts
|
|
878
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1podcasts/post
|
|
879
|
+
*
|
|
880
|
+
* @param data PodcastsCreateBody (request body)
|
|
881
|
+
* @returns BaseResponse whose `data` is PodcastsCreateData
|
|
882
|
+
*/
|
|
883
|
+
create: (data: PodcastsCreateBody) => Promise<BaseResponse<PodcastsCreateData>>;
|
|
884
|
+
/**
|
|
885
|
+
* Get Podcast Details
|
|
886
|
+
* Call: api.p21Pim.podcasts.get(podcastsUid)
|
|
887
|
+
*
|
|
888
|
+
* Errors:
|
|
889
|
+
* 404: No podcast with this ID.
|
|
890
|
+
*
|
|
891
|
+
* GET https://p21-pim.augur-api.com/podcasts/{podcastsUid}
|
|
892
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1podcasts~1{podcastsUid}/get
|
|
893
|
+
*
|
|
894
|
+
* @param podcastsUid Podcast ID
|
|
895
|
+
* @param params PodcastsGetParams (query string)
|
|
896
|
+
* @returns BaseResponse whose `data` is PodcastsGetData
|
|
897
|
+
*/
|
|
898
|
+
get: (podcastsUid: number, params?: PodcastsGetParams) => Promise<BaseResponse<PodcastsGetData>>;
|
|
899
|
+
/**
|
|
900
|
+
* Update Podcast
|
|
901
|
+
* Call: api.p21Pim.podcasts.update(podcastsUid, data)
|
|
902
|
+
*
|
|
903
|
+
* Request body: Partial update of a podcast; an absent field keeps its current value
|
|
904
|
+
*
|
|
905
|
+
* Errors:
|
|
906
|
+
* 400: The body is missing or not a JSON object.
|
|
907
|
+
* 404: No podcast with this ID.
|
|
908
|
+
*
|
|
909
|
+
* PUT https://p21-pim.augur-api.com/podcasts/{podcastsUid}
|
|
910
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1podcasts~1{podcastsUid}/put
|
|
911
|
+
*
|
|
912
|
+
* @param podcastsUid Podcast ID
|
|
913
|
+
* @param data PodcastsUpdateBody (request body)
|
|
914
|
+
* @returns BaseResponse whose `data` is PodcastsUpdateData
|
|
915
|
+
*/
|
|
916
|
+
update: (podcastsUid: number, data: PodcastsUpdateBody) => Promise<BaseResponse<PodcastsUpdateData>>;
|
|
917
|
+
/**
|
|
918
|
+
* DELETE Podcast
|
|
919
|
+
* Call: api.p21Pim.podcasts.delete(podcastsUid)
|
|
920
|
+
*
|
|
921
|
+
* Errors:
|
|
922
|
+
* 404: No podcast with this ID.
|
|
923
|
+
*
|
|
924
|
+
* DELETE https://p21-pim.augur-api.com/podcasts/{podcastsUid}
|
|
925
|
+
* Contract: https://p21-pim.augur-api.com/openapi.json#/paths/~1podcasts~1{podcastsUid}/delete
|
|
926
|
+
*
|
|
927
|
+
* @param podcastsUid Podcast ID
|
|
928
|
+
* @returns BaseResponse whose `data` is PodcastsDeleteData
|
|
929
|
+
*/
|
|
930
|
+
delete: (podcastsUid: number) => Promise<BaseResponse<PodcastsDeleteData>>;
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
//# sourceMappingURL=types.d.ts.map
|