@simpleapps-com/augur-api 2026.10.28 → 2026.10.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-DtPkSDMz.d.mts → client-B7Pib5eu.d.mts} +317 -19
- package/dist/{client-DtPkSDMz.d.ts → client-B7Pib5eu.d.ts} +317 -19
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +226 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +226 -15
- package/dist/index.mjs.map +1 -1
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/package.json +1 -1
|
@@ -658,6 +658,11 @@ interface TagsListParams extends EdgeCacheParams {
|
|
|
658
658
|
}
|
|
659
659
|
/** Params for GET /usergroups */
|
|
660
660
|
interface UsergroupsListParams extends EdgeCacheParams {
|
|
661
|
+
/**
|
|
662
|
+
* Shape of each group [Y|N] (default N = the title string; Y = an object with id, title and
|
|
663
|
+
* parentId)
|
|
664
|
+
*/
|
|
665
|
+
fullDocument?: string;
|
|
661
666
|
/** Select order of the groups Default: title|ASC */
|
|
662
667
|
orderBy?: string;
|
|
663
668
|
/** CSV List of parent ids (default:blank) */
|
|
@@ -1056,13 +1061,28 @@ interface TagsListItem {
|
|
|
1056
1061
|
}
|
|
1057
1062
|
/** Returned by: api.joomla.tags.list(params) */
|
|
1058
1063
|
type TagsListData = TagsListItem[];
|
|
1064
|
+
/**
|
|
1065
|
+
* Shape of data nested in UsergroupsListData (MINIMUM fields; reused wherever the same shape
|
|
1066
|
+
* appears)
|
|
1067
|
+
*
|
|
1068
|
+
* Nested in UsergroupsListData
|
|
1069
|
+
*/
|
|
1070
|
+
interface UsergroupsListDataOption2Item {
|
|
1071
|
+
/** User group ID, the id the user group write routes take */
|
|
1072
|
+
id: number;
|
|
1073
|
+
/** User group title */
|
|
1074
|
+
title: string;
|
|
1075
|
+
/** ID of the parent user group (0 for the root group) */
|
|
1076
|
+
parentId: number;
|
|
1077
|
+
[key: string]: unknown;
|
|
1078
|
+
}
|
|
1059
1079
|
/**
|
|
1060
1080
|
* Get User Groups
|
|
1061
1081
|
* Response data for GET /usergroups — MINIMUM fields, extras pass through
|
|
1062
1082
|
*
|
|
1063
1083
|
* Returned by: api.joomla.usergroups.list(params)
|
|
1064
1084
|
*/
|
|
1065
|
-
type UsergroupsListData = string[];
|
|
1085
|
+
type UsergroupsListData = string[] | UsergroupsListDataOption2Item[];
|
|
1066
1086
|
/**
|
|
1067
1087
|
* Shape of `groups` (MINIMUM fields; reused wherever the same shape appears)
|
|
1068
1088
|
* User groups the user belongs to
|
|
@@ -1608,6 +1628,7 @@ interface JoomlaClientSpec {
|
|
|
1608
1628
|
* Response data: A Joomla article's core fields, without images or custom fields
|
|
1609
1629
|
*
|
|
1610
1630
|
* Errors:
|
|
1631
|
+
* 400: id is 0 and alias or catid is missing.
|
|
1611
1632
|
* 404: No article with this ID (or, for ID 0, with this alias and catid).
|
|
1612
1633
|
*
|
|
1613
1634
|
* GET https://joomla.augur-api.com/content/{id}
|
|
@@ -1627,6 +1648,7 @@ interface JoomlaClientSpec {
|
|
|
1627
1648
|
* (ContentHelper::generateDocument)
|
|
1628
1649
|
*
|
|
1629
1650
|
* Errors:
|
|
1651
|
+
* 400: id is 0 and alias or catid is missing.
|
|
1630
1652
|
* 404: No article with this ID (or, for ID 0, with this alias and catid).
|
|
1631
1653
|
*
|
|
1632
1654
|
* GET https://joomla.augur-api.com/content/{id}/doc
|
|
@@ -1665,6 +1687,7 @@ interface JoomlaClientSpec {
|
|
|
1665
1687
|
* (MenuHelper::generateDocument)
|
|
1666
1688
|
*
|
|
1667
1689
|
* Errors:
|
|
1690
|
+
* 400: id is 0 and alias is missing.
|
|
1668
1691
|
* 404: No menu item with this ID (or, for ID 0, with this alias).
|
|
1669
1692
|
*
|
|
1670
1693
|
* GET https://joomla.augur-api.com/menu/{id}/doc
|
|
@@ -2009,6 +2032,7 @@ type types$r_TagsListData = TagsListData;
|
|
|
2009
2032
|
type types$r_TagsListItem = TagsListItem;
|
|
2010
2033
|
type types$r_TagsListParams = TagsListParams;
|
|
2011
2034
|
type types$r_UsergroupsListData = UsergroupsListData;
|
|
2035
|
+
type types$r_UsergroupsListDataOption2Item = UsergroupsListDataOption2Item;
|
|
2012
2036
|
type types$r_UsergroupsListParams = UsergroupsListParams;
|
|
2013
2037
|
type types$r_UsersDocListData = UsersDocListData;
|
|
2014
2038
|
type types$r_UsersDocListParams = UsersDocListParams;
|
|
@@ -2031,7 +2055,7 @@ type types$r_UsersTrinityListParams = UsersTrinityListParams;
|
|
|
2031
2055
|
type types$r_UsersVerifyPasswordCreateBody = UsersVerifyPasswordCreateBody;
|
|
2032
2056
|
type types$r_UsersVerifyPasswordCreateData = UsersVerifyPasswordCreateData;
|
|
2033
2057
|
declare namespace types$r {
|
|
2034
|
-
export type { types$r_ActionLogsGetData as ActionLogsGetData, types$r_ActionLogsGetParams as ActionLogsGetParams, types$r_ActionLogsListData as ActionLogsListData, types$r_ActionLogsListItem as ActionLogsListItem, types$r_ActionLogsListParams as ActionLogsListParams, CategoriesGetData$2 as CategoriesGetData, CategoriesGetParams$2 as CategoriesGetParams, CategoriesListData$1 as CategoriesListData, CategoriesListItem$1 as CategoriesListItem, CategoriesListParams$1 as CategoriesListParams, types$r_ContentDocListData as ContentDocListData, types$r_ContentDocListParams as ContentDocListParams, types$r_ContentGetData as ContentGetData, types$r_ContentGetParams as ContentGetParams, types$r_ContentListData as ContentListData, types$r_ContentListItem as ContentListItem, types$r_ContentListItemFieldsItem as ContentListItemFieldsItem, types$r_ContentListParams as ContentListParams, types$r_JoomlaClientSpec as JoomlaClientSpec, types$r_MenuDocListData as MenuDocListData, types$r_MenuDocListParams as MenuDocListParams, types$r_MenuListData as MenuListData, types$r_MenuListItem as MenuListItem, types$r_MenuListParams as MenuListParams, types$r_ModulesGetData as ModulesGetData, types$r_ModulesGetParams as ModulesGetParams, types$r_ModulesListData as ModulesListData, types$r_ModulesListItem as ModulesListItem, types$r_ModulesListParams as ModulesListParams, types$r_TagsListData as TagsListData, types$r_TagsListItem as TagsListItem, types$r_TagsListParams as TagsListParams, types$r_UsergroupsListData as UsergroupsListData, types$r_UsergroupsListParams as UsergroupsListParams, UsersCreateBody$1 as UsersCreateBody, UsersCreateData$1 as UsersCreateData, UsersDeleteData$1 as UsersDeleteData, types$r_UsersDocListData as UsersDocListData, types$r_UsersDocListParams as UsersDocListParams, UsersGetData$2 as UsersGetData, UsersGetParams$2 as UsersGetParams, types$r_UsersGroupsCreateBody as UsersGroupsCreateBody, types$r_UsersGroupsCreateData as UsersGroupsCreateData, types$r_UsersGroupsDeleteData as UsersGroupsDeleteData, types$r_UsersGroupsGetData as UsersGroupsGetData, types$r_UsersGroupsGetParams as UsersGroupsGetParams, types$r_UsersGroupsListData as UsersGroupsListData, types$r_UsersGroupsListItem as UsersGroupsListItem, types$r_UsersGroupsListParams as UsersGroupsListParams, UsersListData$2 as UsersListData, UsersListItem$2 as UsersListItem, types$r_UsersListItemGroupsItem as UsersListItemGroupsItem, types$r_UsersListItemShipToItem as UsersListItemShipToItem, types$r_UsersListItemShipToItemAddress as UsersListItemShipToItemAddress, UsersListParams$2 as UsersListParams, types$r_UsersTrinityListData as UsersTrinityListData, types$r_UsersTrinityListDataP21Role as UsersTrinityListDataP21Role, types$r_UsersTrinityListDataP21RoleAddress as UsersTrinityListDataP21RoleAddress, types$r_UsersTrinityListDataProfile as UsersTrinityListDataProfile, types$r_UsersTrinityListParams as UsersTrinityListParams, UsersUpdateBody$1 as UsersUpdateBody, UsersUpdateData$1 as UsersUpdateData, types$r_UsersVerifyPasswordCreateBody as UsersVerifyPasswordCreateBody, types$r_UsersVerifyPasswordCreateData as UsersVerifyPasswordCreateData };
|
|
2058
|
+
export type { types$r_ActionLogsGetData as ActionLogsGetData, types$r_ActionLogsGetParams as ActionLogsGetParams, types$r_ActionLogsListData as ActionLogsListData, types$r_ActionLogsListItem as ActionLogsListItem, types$r_ActionLogsListParams as ActionLogsListParams, CategoriesGetData$2 as CategoriesGetData, CategoriesGetParams$2 as CategoriesGetParams, CategoriesListData$1 as CategoriesListData, CategoriesListItem$1 as CategoriesListItem, CategoriesListParams$1 as CategoriesListParams, types$r_ContentDocListData as ContentDocListData, types$r_ContentDocListParams as ContentDocListParams, types$r_ContentGetData as ContentGetData, types$r_ContentGetParams as ContentGetParams, types$r_ContentListData as ContentListData, types$r_ContentListItem as ContentListItem, types$r_ContentListItemFieldsItem as ContentListItemFieldsItem, types$r_ContentListParams as ContentListParams, types$r_JoomlaClientSpec as JoomlaClientSpec, types$r_MenuDocListData as MenuDocListData, types$r_MenuDocListParams as MenuDocListParams, types$r_MenuListData as MenuListData, types$r_MenuListItem as MenuListItem, types$r_MenuListParams as MenuListParams, types$r_ModulesGetData as ModulesGetData, types$r_ModulesGetParams as ModulesGetParams, types$r_ModulesListData as ModulesListData, types$r_ModulesListItem as ModulesListItem, types$r_ModulesListParams as ModulesListParams, types$r_TagsListData as TagsListData, types$r_TagsListItem as TagsListItem, types$r_TagsListParams as TagsListParams, types$r_UsergroupsListData as UsergroupsListData, types$r_UsergroupsListDataOption2Item as UsergroupsListDataOption2Item, types$r_UsergroupsListParams as UsergroupsListParams, UsersCreateBody$1 as UsersCreateBody, UsersCreateData$1 as UsersCreateData, UsersDeleteData$1 as UsersDeleteData, types$r_UsersDocListData as UsersDocListData, types$r_UsersDocListParams as UsersDocListParams, UsersGetData$2 as UsersGetData, UsersGetParams$2 as UsersGetParams, types$r_UsersGroupsCreateBody as UsersGroupsCreateBody, types$r_UsersGroupsCreateData as UsersGroupsCreateData, types$r_UsersGroupsDeleteData as UsersGroupsDeleteData, types$r_UsersGroupsGetData as UsersGroupsGetData, types$r_UsersGroupsGetParams as UsersGroupsGetParams, types$r_UsersGroupsListData as UsersGroupsListData, types$r_UsersGroupsListItem as UsersGroupsListItem, types$r_UsersGroupsListParams as UsersGroupsListParams, UsersListData$2 as UsersListData, UsersListItem$2 as UsersListItem, types$r_UsersListItemGroupsItem as UsersListItemGroupsItem, types$r_UsersListItemShipToItem as UsersListItemShipToItem, types$r_UsersListItemShipToItemAddress as UsersListItemShipToItemAddress, UsersListParams$2 as UsersListParams, types$r_UsersTrinityListData as UsersTrinityListData, types$r_UsersTrinityListDataP21Role as UsersTrinityListDataP21Role, types$r_UsersTrinityListDataP21RoleAddress as UsersTrinityListDataP21RoleAddress, types$r_UsersTrinityListDataProfile as UsersTrinityListDataProfile, types$r_UsersTrinityListParams as UsersTrinityListParams, UsersUpdateBody$1 as UsersUpdateBody, UsersUpdateData$1 as UsersUpdateData, types$r_UsersVerifyPasswordCreateBody as UsersVerifyPasswordCreateBody, types$r_UsersVerifyPasswordCreateData as UsersVerifyPasswordCreateData };
|
|
2035
2059
|
}
|
|
2036
2060
|
|
|
2037
2061
|
/**
|
|
@@ -2146,7 +2170,10 @@ interface CartHdrLookupGetParams extends EdgeCacheParams {
|
|
|
2146
2170
|
contactId: number;
|
|
2147
2171
|
/** Prophet 21 customer the cart belongs to */
|
|
2148
2172
|
customerId: number;
|
|
2149
|
-
/**
|
|
2173
|
+
/**
|
|
2174
|
+
* The user's cart number; 0 or absent picks cart 1 for a logged-in user; ignored for an anonymous
|
|
2175
|
+
* cart (userId 0), which gets an allocated number
|
|
2176
|
+
*/
|
|
2150
2177
|
userCartNo?: number;
|
|
2151
2178
|
/** Storefront user the cart belongs to; 0 for an anonymous cart keyed on cartToken */
|
|
2152
2179
|
userId: number;
|
|
@@ -24998,6 +25025,32 @@ interface GeoCodesPostalCodesListParams extends EdgeCacheParams {
|
|
|
24998
25025
|
type GeoCodesPostalCodesGetParams = EdgeCacheParams;
|
|
24999
25026
|
/** Params for GET /meta-files/robots */
|
|
25000
25027
|
type MetaFilesRobotsListParams = EdgeCacheParams;
|
|
25028
|
+
/** Params for GET /notifications */
|
|
25029
|
+
interface NotificationsListParams extends EdgeCacheParams {
|
|
25030
|
+
/** Datatype the notification is about (checkout, import, ...) */
|
|
25031
|
+
dataTypeName?: string;
|
|
25032
|
+
/** ID of the record the notification is about (checkout uid, import uid, ...) */
|
|
25033
|
+
dataTypeUid?: number;
|
|
25034
|
+
/** Limit number of results (Default: 10) */
|
|
25035
|
+
limit?: number;
|
|
25036
|
+
/** Starting offset results (Default: 0) */
|
|
25037
|
+
offset?: number;
|
|
25038
|
+
/** Order By, one field|ASC or field|DESC (Default: notifications_uid|ASC) */
|
|
25039
|
+
orderBy?: string;
|
|
25040
|
+
/** Send state: 704 = queued, 2556 = sending, 1185 = sent, 700 = removed */
|
|
25041
|
+
processCd?: number;
|
|
25042
|
+
/** Service the notification is about (commerce, p21_sism, ...) */
|
|
25043
|
+
serviceName?: string;
|
|
25044
|
+
/**
|
|
25045
|
+
* Status code or list of codes (700=DELETE, 704=ACTIVE, 705=INACTIVE), sent comma-joined
|
|
25046
|
+
* (704,705); -1 for every status. Default: 704
|
|
25047
|
+
*/
|
|
25048
|
+
statusCd?: number | number[];
|
|
25049
|
+
/** Notification type (created, imported_joomla, ...) */
|
|
25050
|
+
type?: string;
|
|
25051
|
+
}
|
|
25052
|
+
/** Params for GET /notifications/{notificationsUid} */
|
|
25053
|
+
type NotificationsGetParams = EdgeCacheParams;
|
|
25001
25054
|
/** Params for GET /open-search/embedding */
|
|
25002
25055
|
interface OpenSearchEmbeddingListParams extends EdgeCacheParams {
|
|
25003
25056
|
/** search query */
|
|
@@ -25400,10 +25453,12 @@ interface MetaFilesRobotsListData {
|
|
|
25400
25453
|
[key: string]: unknown;
|
|
25401
25454
|
}
|
|
25402
25455
|
/**
|
|
25403
|
-
*
|
|
25404
|
-
* Response data for
|
|
25456
|
+
* List Notifications
|
|
25457
|
+
* Response data for GET /notifications — MINIMUM fields, extras pass through
|
|
25405
25458
|
*
|
|
25459
|
+
* Returned by: api.agrSite.notifications.list(params) (array items)
|
|
25406
25460
|
* Returned by: api.agrSite.notifications.create(data)
|
|
25461
|
+
* Returned by: api.agrSite.notifications.get(notificationsUid)
|
|
25407
25462
|
*/
|
|
25408
25463
|
interface NotificationsCreateData {
|
|
25409
25464
|
/** Notification ID */
|
|
@@ -25428,6 +25483,15 @@ interface NotificationsCreateData {
|
|
|
25428
25483
|
processCd: number;
|
|
25429
25484
|
[key: string]: unknown;
|
|
25430
25485
|
}
|
|
25486
|
+
/**
|
|
25487
|
+
* List Notifications
|
|
25488
|
+
* Response data for GET /notifications — MINIMUM fields, extras pass through
|
|
25489
|
+
*
|
|
25490
|
+
* Returned by: api.agrSite.notifications.list(params) (array items)
|
|
25491
|
+
*/
|
|
25492
|
+
type NotificationsListItem = NotificationsCreateData;
|
|
25493
|
+
/** Returned by: api.agrSite.notifications.list(params) */
|
|
25494
|
+
type NotificationsListData = NotificationsListItem[];
|
|
25431
25495
|
/**
|
|
25432
25496
|
* Create Notification
|
|
25433
25497
|
* Request body for POST /notifications — MINIMUM fields, extras pass through
|
|
@@ -25445,6 +25509,13 @@ interface NotificationsCreateBody {
|
|
|
25445
25509
|
dataTypeUid?: number | null;
|
|
25446
25510
|
[key: string]: unknown;
|
|
25447
25511
|
}
|
|
25512
|
+
/**
|
|
25513
|
+
* Get Notification
|
|
25514
|
+
* Response data for GET /notifications/{notificationsUid} — MINIMUM fields, extras pass through
|
|
25515
|
+
*
|
|
25516
|
+
* Returned by: api.agrSite.notifications.get(notificationsUid)
|
|
25517
|
+
*/
|
|
25518
|
+
type NotificationsGetData = NotificationsCreateData;
|
|
25448
25519
|
/**
|
|
25449
25520
|
* Get Query String Embedding
|
|
25450
25521
|
* Response data for GET /open-search/embedding — MINIMUM fields, extras pass through
|
|
@@ -26065,6 +26136,22 @@ interface AgrSiteClientSpec {
|
|
|
26065
26136
|
};
|
|
26066
26137
|
};
|
|
26067
26138
|
notifications: {
|
|
26139
|
+
/**
|
|
26140
|
+
* List Notifications
|
|
26141
|
+
* Call: api.agrSite.notifications.list(params)
|
|
26142
|
+
*
|
|
26143
|
+
* List notifications, filtered by the record they are about and their send state
|
|
26144
|
+
*
|
|
26145
|
+
* Errors:
|
|
26146
|
+
* 400: Invalid orderBy: not one notifications column with |ASC or |DESC.
|
|
26147
|
+
*
|
|
26148
|
+
* GET https://agr-site.augur-api.com/notifications
|
|
26149
|
+
* Contract: https://agr-site.augur-api.com/openapi.json#/paths/~1notifications/get
|
|
26150
|
+
*
|
|
26151
|
+
* @param params NotificationsListParams (query string)
|
|
26152
|
+
* @returns BaseResponse whose `data` is NotificationsListData
|
|
26153
|
+
*/
|
|
26154
|
+
list: (params?: NotificationsListParams) => Promise<BaseResponse$1<NotificationsListData>>;
|
|
26068
26155
|
/**
|
|
26069
26156
|
* Create Notification
|
|
26070
26157
|
* Call: api.agrSite.notifications.create(data)
|
|
@@ -26081,6 +26168,24 @@ interface AgrSiteClientSpec {
|
|
|
26081
26168
|
* @returns BaseResponse whose `data` is NotificationsCreateData
|
|
26082
26169
|
*/
|
|
26083
26170
|
create: (data: NotificationsCreateBody) => Promise<BaseResponse$1<NotificationsCreateData>>;
|
|
26171
|
+
/**
|
|
26172
|
+
* Get Notification
|
|
26173
|
+
* Call: api.agrSite.notifications.get(notificationsUid)
|
|
26174
|
+
*
|
|
26175
|
+
* Get one notification with its send state (process_cd) and dates
|
|
26176
|
+
*
|
|
26177
|
+
* Errors:
|
|
26178
|
+
* 404: No notification with this ID.
|
|
26179
|
+
*
|
|
26180
|
+
* GET https://agr-site.augur-api.com/notifications/{notificationsUid}
|
|
26181
|
+
* Contract:
|
|
26182
|
+
* https://agr-site.augur-api.com/openapi.json#/paths/~1notifications~1{notificationsUid}/get
|
|
26183
|
+
*
|
|
26184
|
+
* @param notificationsUid notifications.notifications_uid
|
|
26185
|
+
* @param params NotificationsGetParams (query string)
|
|
26186
|
+
* @returns BaseResponse whose `data` is NotificationsGetData
|
|
26187
|
+
*/
|
|
26188
|
+
get: (notificationsUid: number, params?: NotificationsGetParams) => Promise<BaseResponse$1<NotificationsGetData>>;
|
|
26084
26189
|
};
|
|
26085
26190
|
openSearch: {
|
|
26086
26191
|
embedding: {
|
|
@@ -26395,6 +26500,11 @@ type types$k_MetaFilesRobotsListData = MetaFilesRobotsListData;
|
|
|
26395
26500
|
type types$k_MetaFilesRobotsListParams = MetaFilesRobotsListParams;
|
|
26396
26501
|
type types$k_NotificationsCreateBody = NotificationsCreateBody;
|
|
26397
26502
|
type types$k_NotificationsCreateData = NotificationsCreateData;
|
|
26503
|
+
type types$k_NotificationsGetData = NotificationsGetData;
|
|
26504
|
+
type types$k_NotificationsGetParams = NotificationsGetParams;
|
|
26505
|
+
type types$k_NotificationsListData = NotificationsListData;
|
|
26506
|
+
type types$k_NotificationsListItem = NotificationsListItem;
|
|
26507
|
+
type types$k_NotificationsListParams = NotificationsListParams;
|
|
26398
26508
|
type types$k_OpenSearchEmbeddingListData = OpenSearchEmbeddingListData;
|
|
26399
26509
|
type types$k_OpenSearchEmbeddingListParams = OpenSearchEmbeddingListParams;
|
|
26400
26510
|
type types$k_PostalCodesXShiptosCreateBody = PostalCodesXShiptosCreateBody;
|
|
@@ -26428,7 +26538,7 @@ type types$k_UsersAddressesListParams = UsersAddressesListParams;
|
|
|
26428
26538
|
type types$k_UsersAddressesUpdateBody = UsersAddressesUpdateBody;
|
|
26429
26539
|
type types$k_UsersAddressesUpdateData = UsersAddressesUpdateData;
|
|
26430
26540
|
declare namespace types$k {
|
|
26431
|
-
export type { types$k_AgrSiteClientSpec as AgrSiteClientSpec, types$k_ConfigsGetData as ConfigsGetData, types$k_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$k_ConfigsGetParams as ConfigsGetParams, types$k_ConfigsListData as ConfigsListData, types$k_ConfigsListItem as ConfigsListItem, types$k_ConfigsListParams as ConfigsListParams, types$k_ConfigsUpdateBody as ConfigsUpdateBody, types$k_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem, types$k_ContextGetDataOption2 as ContextGetDataOption2, ContextGetParams$1 as ContextGetParams, types$k_DatafilesCreateBody as DatafilesCreateBody, types$k_DatafilesCreateData as DatafilesCreateData, types$k_FyxerTranscriptCreateBody as FyxerTranscriptCreateBody, types$k_FyxerTranscriptCreateData as FyxerTranscriptCreateData, types$k_FyxerTranscriptDeleteData as FyxerTranscriptDeleteData, types$k_FyxerTranscriptGetData as FyxerTranscriptGetData, types$k_FyxerTranscriptGetParams as FyxerTranscriptGetParams, types$k_FyxerTranscriptListData as FyxerTranscriptListData, types$k_FyxerTranscriptListItem as FyxerTranscriptListItem, types$k_FyxerTranscriptListParams as FyxerTranscriptListParams, types$k_FyxerTranscriptUpdateBody as FyxerTranscriptUpdateBody, types$k_FyxerTranscriptUpdateData as FyxerTranscriptUpdateData, types$k_GeoCodesPostalCodesGetData as GeoCodesPostalCodesGetData, types$k_GeoCodesPostalCodesGetParams as GeoCodesPostalCodesGetParams, types$k_GeoCodesPostalCodesListData as GeoCodesPostalCodesListData, types$k_GeoCodesPostalCodesListItem as GeoCodesPostalCodesListItem, types$k_GeoCodesPostalCodesListParams as GeoCodesPostalCodesListParams, types$k_MetaFilesRobotsListData as MetaFilesRobotsListData, types$k_MetaFilesRobotsListParams as MetaFilesRobotsListParams, types$k_NotificationsCreateBody as NotificationsCreateBody, types$k_NotificationsCreateData as NotificationsCreateData, types$k_OpenSearchEmbeddingListData as OpenSearchEmbeddingListData, types$k_OpenSearchEmbeddingListParams as OpenSearchEmbeddingListParams, types$k_PostalCodesXShiptosCreateBody as PostalCodesXShiptosCreateBody, types$k_PostalCodesXShiptosCreateData as PostalCodesXShiptosCreateData, types$k_PostalCodesXShiptosDeleteData as PostalCodesXShiptosDeleteData, types$k_PostalCodesXShiptosGetData as PostalCodesXShiptosGetData, types$k_PostalCodesXShiptosGetParams as PostalCodesXShiptosGetParams, types$k_PostalCodesXShiptosListData as PostalCodesXShiptosListData, types$k_PostalCodesXShiptosListItem as PostalCodesXShiptosListItem, types$k_PostalCodesXShiptosListParams as PostalCodesXShiptosListParams, types$k_PostalCodesXShiptosUpdateBody as PostalCodesXShiptosUpdateBody, types$k_PostalCodesXShiptosUpdateData as PostalCodesXShiptosUpdateData, types$k_SettingsCreateBody as SettingsCreateBody, types$k_SettingsCreateData as SettingsCreateData, types$k_SettingsDeleteData as SettingsDeleteData, types$k_SettingsGetData as SettingsGetData, types$k_SettingsGetParams as SettingsGetParams, types$k_SettingsListData as SettingsListData, types$k_SettingsListItem as SettingsListItem, types$k_SettingsListParams as SettingsListParams, types$k_SettingsUpdateBody as SettingsUpdateBody, types$k_SettingsUpdateData as SettingsUpdateData, types$k_UsersAddressesCreateBody as UsersAddressesCreateBody, types$k_UsersAddressesCreateData as UsersAddressesCreateData, types$k_UsersAddressesDeleteData as UsersAddressesDeleteData, types$k_UsersAddressesGetData as UsersAddressesGetData, types$k_UsersAddressesGetParams as UsersAddressesGetParams, types$k_UsersAddressesListData as UsersAddressesListData, types$k_UsersAddressesListItem as UsersAddressesListItem, types$k_UsersAddressesListParams as UsersAddressesListParams, types$k_UsersAddressesUpdateBody as UsersAddressesUpdateBody, types$k_UsersAddressesUpdateData as UsersAddressesUpdateData };
|
|
26541
|
+
export type { types$k_AgrSiteClientSpec as AgrSiteClientSpec, types$k_ConfigsGetData as ConfigsGetData, types$k_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$k_ConfigsGetParams as ConfigsGetParams, types$k_ConfigsListData as ConfigsListData, types$k_ConfigsListItem as ConfigsListItem, types$k_ConfigsListParams as ConfigsListParams, types$k_ConfigsUpdateBody as ConfigsUpdateBody, types$k_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem, types$k_ContextGetDataOption2 as ContextGetDataOption2, ContextGetParams$1 as ContextGetParams, types$k_DatafilesCreateBody as DatafilesCreateBody, types$k_DatafilesCreateData as DatafilesCreateData, types$k_FyxerTranscriptCreateBody as FyxerTranscriptCreateBody, types$k_FyxerTranscriptCreateData as FyxerTranscriptCreateData, types$k_FyxerTranscriptDeleteData as FyxerTranscriptDeleteData, types$k_FyxerTranscriptGetData as FyxerTranscriptGetData, types$k_FyxerTranscriptGetParams as FyxerTranscriptGetParams, types$k_FyxerTranscriptListData as FyxerTranscriptListData, types$k_FyxerTranscriptListItem as FyxerTranscriptListItem, types$k_FyxerTranscriptListParams as FyxerTranscriptListParams, types$k_FyxerTranscriptUpdateBody as FyxerTranscriptUpdateBody, types$k_FyxerTranscriptUpdateData as FyxerTranscriptUpdateData, types$k_GeoCodesPostalCodesGetData as GeoCodesPostalCodesGetData, types$k_GeoCodesPostalCodesGetParams as GeoCodesPostalCodesGetParams, types$k_GeoCodesPostalCodesListData as GeoCodesPostalCodesListData, types$k_GeoCodesPostalCodesListItem as GeoCodesPostalCodesListItem, types$k_GeoCodesPostalCodesListParams as GeoCodesPostalCodesListParams, types$k_MetaFilesRobotsListData as MetaFilesRobotsListData, types$k_MetaFilesRobotsListParams as MetaFilesRobotsListParams, types$k_NotificationsCreateBody as NotificationsCreateBody, types$k_NotificationsCreateData as NotificationsCreateData, types$k_NotificationsGetData as NotificationsGetData, types$k_NotificationsGetParams as NotificationsGetParams, types$k_NotificationsListData as NotificationsListData, types$k_NotificationsListItem as NotificationsListItem, types$k_NotificationsListParams as NotificationsListParams, types$k_OpenSearchEmbeddingListData as OpenSearchEmbeddingListData, types$k_OpenSearchEmbeddingListParams as OpenSearchEmbeddingListParams, types$k_PostalCodesXShiptosCreateBody as PostalCodesXShiptosCreateBody, types$k_PostalCodesXShiptosCreateData as PostalCodesXShiptosCreateData, types$k_PostalCodesXShiptosDeleteData as PostalCodesXShiptosDeleteData, types$k_PostalCodesXShiptosGetData as PostalCodesXShiptosGetData, types$k_PostalCodesXShiptosGetParams as PostalCodesXShiptosGetParams, types$k_PostalCodesXShiptosListData as PostalCodesXShiptosListData, types$k_PostalCodesXShiptosListItem as PostalCodesXShiptosListItem, types$k_PostalCodesXShiptosListParams as PostalCodesXShiptosListParams, types$k_PostalCodesXShiptosUpdateBody as PostalCodesXShiptosUpdateBody, types$k_PostalCodesXShiptosUpdateData as PostalCodesXShiptosUpdateData, types$k_SettingsCreateBody as SettingsCreateBody, types$k_SettingsCreateData as SettingsCreateData, types$k_SettingsDeleteData as SettingsDeleteData, types$k_SettingsGetData as SettingsGetData, types$k_SettingsGetParams as SettingsGetParams, types$k_SettingsListData as SettingsListData, types$k_SettingsListItem as SettingsListItem, types$k_SettingsListParams as SettingsListParams, types$k_SettingsUpdateBody as SettingsUpdateBody, types$k_SettingsUpdateData as SettingsUpdateData, types$k_UsersAddressesCreateBody as UsersAddressesCreateBody, types$k_UsersAddressesCreateData as UsersAddressesCreateData, types$k_UsersAddressesDeleteData as UsersAddressesDeleteData, types$k_UsersAddressesGetData as UsersAddressesGetData, types$k_UsersAddressesGetParams as UsersAddressesGetParams, types$k_UsersAddressesListData as UsersAddressesListData, types$k_UsersAddressesListItem as UsersAddressesListItem, types$k_UsersAddressesListParams as UsersAddressesListParams, types$k_UsersAddressesUpdateBody as UsersAddressesUpdateBody, types$k_UsersAddressesUpdateData as UsersAddressesUpdateData };
|
|
26432
26542
|
}
|
|
26433
26543
|
|
|
26434
26544
|
/**
|
|
@@ -26471,7 +26581,10 @@ declare namespace types$k {
|
|
|
26471
26581
|
* GET /geo-codes-postal-codes/{geoCodesPostalCodesUid} →
|
|
26472
26582
|
* api.agrSite.geoCodesPostalCodes.get(geoCodesPostalCodesUid) → GeoCodesPostalCodesGetData
|
|
26473
26583
|
* GET /meta-files/robots → api.agrSite.metaFiles.robots.list() → MetaFilesRobotsListData
|
|
26584
|
+
* GET /notifications → api.agrSite.notifications.list(params) → NotificationsListData
|
|
26474
26585
|
* POST /notifications → api.agrSite.notifications.create(data) → NotificationsCreateData
|
|
26586
|
+
* GET /notifications/{notificationsUid} → api.agrSite.notifications.get(notificationsUid) →
|
|
26587
|
+
* NotificationsGetData
|
|
26475
26588
|
* GET /open-search/embedding → api.agrSite.openSearch.embedding.list(params) →
|
|
26476
26589
|
* OpenSearchEmbeddingListData
|
|
26477
26590
|
* GET /postal-codes-x-shiptos → api.agrSite.postalCodesXShiptos.list(params) →
|
|
@@ -43750,6 +43863,30 @@ interface AmznListingsItemsListParams extends EdgeCacheParams {
|
|
|
43750
43863
|
}
|
|
43751
43864
|
/** Params for GET /amzn-listings-items/{amznListingsItemsUid} */
|
|
43752
43865
|
type AmznListingsItemsGetParams = EdgeCacheParams;
|
|
43866
|
+
/** Params for GET /amzn-orders */
|
|
43867
|
+
interface AmznOrdersListParams extends EdgeCacheParams {
|
|
43868
|
+
/** Filter by Amazon fulfillment status (e.g. UNSHIPPED, SHIPPED, CANCELLED) */
|
|
43869
|
+
fulfillmentStatus?: string;
|
|
43870
|
+
/** Limit number of results (Default: 10) */
|
|
43871
|
+
limit?: number;
|
|
43872
|
+
/** Starting offset (Default: 0) */
|
|
43873
|
+
offset?: number;
|
|
43874
|
+
/** Order by field and direction (Default: amzn_orders_uid|ASC) */
|
|
43875
|
+
orderBy?: string;
|
|
43876
|
+
/** Filter by Amazon order ID */
|
|
43877
|
+
orderId?: string;
|
|
43878
|
+
/** Filter by process code (704=ACTIVE, 1185=COMPLETE) */
|
|
43879
|
+
processCd?: number;
|
|
43880
|
+
/** Filter by Amazon Seller Order ID */
|
|
43881
|
+
sellerOrderId?: string;
|
|
43882
|
+
/**
|
|
43883
|
+
* Status code or list of codes (700=DELETE, 704=ACTIVE, 705=INACTIVE), sent comma-joined
|
|
43884
|
+
* (704,705); -1 for every status. Default: 704
|
|
43885
|
+
*/
|
|
43886
|
+
statusCd?: number | number[];
|
|
43887
|
+
}
|
|
43888
|
+
/** Params for GET /amzn-orders/{amznOrdersUid} */
|
|
43889
|
+
type AmznOrdersGetParams = EdgeCacheParams;
|
|
43753
43890
|
/** Params for GET /amzn-sp/connection */
|
|
43754
43891
|
type AmznSpConnectionListParams = EdgeCacheParams;
|
|
43755
43892
|
/**
|
|
@@ -43761,33 +43898,58 @@ type AmznSpConnectionListParams = EdgeCacheParams;
|
|
|
43761
43898
|
* Returned by: api.markets.amznListingsItems.update(amznListingsItemsUid, data)
|
|
43762
43899
|
*/
|
|
43763
43900
|
interface AmznListingsItemsListItem {
|
|
43901
|
+
/** Amazon listings item ID */
|
|
43764
43902
|
amznListingsItemsUid: number;
|
|
43765
|
-
/** (max 40 chars) */
|
|
43903
|
+
/** Amazon seller SKU (max 40 chars) */
|
|
43766
43904
|
sku: string;
|
|
43767
|
-
/** (max 10 chars) */
|
|
43905
|
+
/** Amazon Standard Identification Number of the listing (max 10 chars) */
|
|
43768
43906
|
asin: string | null;
|
|
43907
|
+
/** Linked Prophet 21 item (inv_mast.inv_mast_uid); 0 until linked */
|
|
43769
43908
|
invMastUid: number;
|
|
43909
|
+
/** Prophet 21 units per Amazon unit (default 1) */
|
|
43770
43910
|
multiplier: number;
|
|
43771
|
-
/** (max 100 chars) */
|
|
43911
|
+
/** Amazon product type of the listing (max 100 chars) */
|
|
43772
43912
|
productType: string | null;
|
|
43773
|
-
/** (max 100 chars) */
|
|
43913
|
+
/** Amazon listing status (e.g. BUYABLE, DISCOVERABLE) (max 100 chars) */
|
|
43774
43914
|
listingStatus: string | null;
|
|
43915
|
+
/** Quantity Amazon reports available to fulfill */
|
|
43775
43916
|
fulfillmentQuantity: number | null;
|
|
43917
|
+
/** Offer price on Amazon for the marketplace */
|
|
43776
43918
|
price: number | null;
|
|
43777
|
-
/**
|
|
43919
|
+
/** When Amazon last updated the listing (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
43778
43920
|
lastUpdateDate: string | null;
|
|
43921
|
+
/** Raw listing JSON as Amazon returned it */
|
|
43779
43922
|
listingJson: string | null;
|
|
43780
|
-
/**
|
|
43923
|
+
/** When the record was created (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
43781
43924
|
dateCreated: string;
|
|
43782
|
-
/**
|
|
43925
|
+
/** When the record last changed (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
43783
43926
|
dateLastModified: string;
|
|
43927
|
+
/** Update code (1185 = Import Complete) */
|
|
43784
43928
|
updateCd: number;
|
|
43929
|
+
/** Status code (704 = Active/linked, 705 = Inactive/unlinked, 700 = Deleted) */
|
|
43785
43930
|
statusCd: number;
|
|
43931
|
+
/** Process code (704 = Active, 1185 = Import Complete) */
|
|
43786
43932
|
processCd: number;
|
|
43787
|
-
/**
|
|
43933
|
+
/** When the listing was created on Amazon (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
43788
43934
|
createdDate: string | null;
|
|
43789
|
-
/** (max 8 chars) */
|
|
43935
|
+
/** Prophet 21 unit of measure the listing sells in (max 8 chars) */
|
|
43790
43936
|
uom: string | null;
|
|
43937
|
+
/**
|
|
43938
|
+
* Quantity markets computed for Amazon from Prophet 21 stock (eaches, buildable assemblies,
|
|
43939
|
+
* vendor stock) divided by the multiplier
|
|
43940
|
+
*/
|
|
43941
|
+
qtyAvailable: number;
|
|
43942
|
+
/** Inventory send code (704 = send to Amazon, 1185 = sent) */
|
|
43943
|
+
invCd: number;
|
|
43944
|
+
/** Status Amazon returned for the last quantity send (ACCEPTED or INVALID) (max 20 chars) */
|
|
43945
|
+
invStatus: string | null;
|
|
43946
|
+
/**
|
|
43947
|
+
* Issues Amazon returned for the last quantity send, as code: message pairs joined by "; " (max
|
|
43948
|
+
* 1000 chars)
|
|
43949
|
+
*/
|
|
43950
|
+
invIssues: string | null;
|
|
43951
|
+
/** When the last quantity send was made (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
43952
|
+
invDate: string | null;
|
|
43791
43953
|
[key: string]: unknown;
|
|
43792
43954
|
}
|
|
43793
43955
|
/** Returned by: api.markets.amznListingsItems.list(params) */
|
|
@@ -43817,12 +43979,82 @@ type AmznListingsItemsUpdateData = AmznListingsItemsListItem;
|
|
|
43817
43979
|
*/
|
|
43818
43980
|
interface AmznListingsItemsUpdateBody {
|
|
43819
43981
|
/**
|
|
43820
|
-
* Process code [(700) delete | (704)
|
|
43821
|
-
* anything else is a 400
|
|
43982
|
+
* Process code [(700) delete | (704) process now: recompute the Amazon quantity and queue the
|
|
43983
|
+
* send | (705) inactive | (1185) complete]; absent or anything else is a 400
|
|
43822
43984
|
*/
|
|
43823
43985
|
processCd?: number | null;
|
|
43824
43986
|
[key: string]: unknown;
|
|
43825
43987
|
}
|
|
43988
|
+
/**
|
|
43989
|
+
* List Amazon orders
|
|
43990
|
+
* Response data for GET /amzn-orders — MINIMUM fields, extras pass through
|
|
43991
|
+
*
|
|
43992
|
+
* Returned by: api.markets.amznOrders.list(params) (array items)
|
|
43993
|
+
* Returned by: api.markets.amznOrders.get(amznOrdersUid)
|
|
43994
|
+
*/
|
|
43995
|
+
interface AmznOrdersListItem {
|
|
43996
|
+
/** Amazon order row ID */
|
|
43997
|
+
amznOrdersUid: number;
|
|
43998
|
+
/** Amazon order ID; the customer PO when the order is imported into Prophet 21 (max 25 chars) */
|
|
43999
|
+
orderId: string;
|
|
44000
|
+
/**
|
|
44001
|
+
* Seller Order ID on Amazon (order alias SELLER_ORDER_ID); empty until the seller sets it (max 50
|
|
44002
|
+
* chars)
|
|
44003
|
+
*/
|
|
44004
|
+
sellerOrderId: string | null;
|
|
44005
|
+
/** Matched Prophet 21 order (oe_hdr.order_no); empty until matched (max 8 chars) */
|
|
44006
|
+
orderNo: string | null;
|
|
44007
|
+
/** p21_sism import that created the Prophet 21 order; 0 until imported */
|
|
44008
|
+
importUid: number;
|
|
44009
|
+
/** Amazon marketplace the order was placed in (max 20 chars) */
|
|
44010
|
+
marketplaceId: string | null;
|
|
44011
|
+
/**
|
|
44012
|
+
* Amazon fulfillment status (PENDING, UNSHIPPED, PARTIALLY_SHIPPED, SHIPPED, CANCELLED, ...) (max
|
|
44013
|
+
* 30 chars)
|
|
44014
|
+
*/
|
|
44015
|
+
fulfillmentStatus: string | null;
|
|
44016
|
+
/** Who fulfills the order: MERCHANT or AMAZON (max 10 chars) */
|
|
44017
|
+
fulfilledBy: string | null;
|
|
44018
|
+
/** Amazon shipping service level (Standard, Expedited, ...) (max 30 chars) */
|
|
44019
|
+
fulfillmentServiceLevel: string | null;
|
|
44020
|
+
/** Latest ship-by time Amazon gives for the order (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
44021
|
+
dateShipBy: string | null;
|
|
44022
|
+
/** Order grand total Amazon reports */
|
|
44023
|
+
orderTotal: number | null;
|
|
44024
|
+
/** Currency of the order total (max 3 chars) */
|
|
44025
|
+
currencyCode: string | null;
|
|
44026
|
+
/** Number of order items */
|
|
44027
|
+
itemCount: number;
|
|
44028
|
+
/** When the customer placed the order on Amazon (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
44029
|
+
dateOrderCreated: string | null;
|
|
44030
|
+
/** When Amazon last changed the order (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
44031
|
+
dateOrderUpdated: string | null;
|
|
44032
|
+
/**
|
|
44033
|
+
* Order JSON as Amazon returned it, items included; buyer, recipient and buyer-written item text
|
|
44034
|
+
* (gift message, cancel reason, customization URL) removed
|
|
44035
|
+
*/
|
|
44036
|
+
orderJson: string | null;
|
|
44037
|
+
/** When the record was created (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
44038
|
+
dateCreated: string;
|
|
44039
|
+
/** When the record last changed (mysql-datetime, e.g. 2025-07-30 15:50:49) */
|
|
44040
|
+
dateLastModified: string;
|
|
44041
|
+
/** Update code (1185 = Import Complete) */
|
|
44042
|
+
updateCd: number;
|
|
44043
|
+
/** Status code (704 = Active, 700 = Deleted) */
|
|
44044
|
+
statusCd: number;
|
|
44045
|
+
/** Process code (704 = Active, 1185 = Import Complete) */
|
|
44046
|
+
processCd: number;
|
|
44047
|
+
[key: string]: unknown;
|
|
44048
|
+
}
|
|
44049
|
+
/** Returned by: api.markets.amznOrders.list(params) */
|
|
44050
|
+
type AmznOrdersListData = AmznOrdersListItem[];
|
|
44051
|
+
/**
|
|
44052
|
+
* Get an Amazon order
|
|
44053
|
+
* Response data for GET /amzn-orders/{amznOrdersUid} — MINIMUM fields, extras pass through
|
|
44054
|
+
*
|
|
44055
|
+
* Returned by: api.markets.amznOrders.get(amznOrdersUid)
|
|
44056
|
+
*/
|
|
44057
|
+
type AmznOrdersGetData = AmznOrdersListItem;
|
|
43826
44058
|
/**
|
|
43827
44059
|
* Shape of `marketplaces` (MINIMUM fields; reused wherever the same shape appears)
|
|
43828
44060
|
* Marketplaces the seller account participates in; empty when not ok
|
|
@@ -43873,6 +44105,11 @@ interface MarketsClientSpec {
|
|
|
43873
44105
|
*
|
|
43874
44106
|
* List Amazon listings items for a site
|
|
43875
44107
|
*
|
|
44108
|
+
* Errors:
|
|
44109
|
+
* 400: Invalid orderBy: MUST be one field|ASC or field|DESC, the field an amzn_listings_items
|
|
44110
|
+
* column.
|
|
44111
|
+
* 403: This endpoint is not configured for this site (the site has no valid Amazon config).
|
|
44112
|
+
*
|
|
43876
44113
|
* GET https://markets.augur-api.com/amzn-listings-items
|
|
43877
44114
|
* Contract: https://markets.augur-api.com/openapi.json#/paths/~1amzn-listings-items/get
|
|
43878
44115
|
*
|
|
@@ -43886,6 +44123,10 @@ interface MarketsClientSpec {
|
|
|
43886
44123
|
*
|
|
43887
44124
|
* Get one Amazon listings item, the seller SKU linked to a Prophet 21 item
|
|
43888
44125
|
*
|
|
44126
|
+
* Errors:
|
|
44127
|
+
* 403: This endpoint is not configured for this site (the site has no valid Amazon config).
|
|
44128
|
+
* 404: No Amazon listings item with this ID.
|
|
44129
|
+
*
|
|
43889
44130
|
* GET https://markets.augur-api.com/amzn-listings-items/{amznListingsItemsUid}
|
|
43890
44131
|
* Contract:
|
|
43891
44132
|
* https://markets.augur-api.com/openapi.json#/paths/~1amzn-listings-items~1{amznListingsItemsUid}/get
|
|
@@ -43899,11 +44140,17 @@ interface MarketsClientSpec {
|
|
|
43899
44140
|
* Update an Amazon listings item process code
|
|
43900
44141
|
* Call: api.markets.amznListingsItems.update(amznListingsItemsUid, data)
|
|
43901
44142
|
*
|
|
43902
|
-
* Change the process code of one Amazon listings item; processCd is the only writable field
|
|
44143
|
+
* Change the process code of one Amazon listings item; processCd is the only writable field,
|
|
44144
|
+
* and 704 recomputes the Amazon quantity and queues the send
|
|
43903
44145
|
*
|
|
43904
44146
|
* Request body: Change an Amazon listings item's process code; process_cd is the only writable
|
|
43905
44147
|
* field
|
|
43906
44148
|
*
|
|
44149
|
+
* Errors:
|
|
44150
|
+
* 400: Request body is not a JSON object, or processCd is not 700, 704, 705 or 1185.
|
|
44151
|
+
* 403: This endpoint is not configured for this site (the site has no valid Amazon config).
|
|
44152
|
+
* 404: No Amazon listings item with this ID.
|
|
44153
|
+
*
|
|
43907
44154
|
* PUT https://markets.augur-api.com/amzn-listings-items/{amznListingsItemsUid}
|
|
43908
44155
|
* Contract:
|
|
43909
44156
|
* https://markets.augur-api.com/openapi.json#/paths/~1amzn-listings-items~1{amznListingsItemsUid}/put
|
|
@@ -43914,6 +44161,44 @@ interface MarketsClientSpec {
|
|
|
43914
44161
|
*/
|
|
43915
44162
|
update: (amznListingsItemsUid: number, data: AmznListingsItemsUpdateBody) => Promise<BaseResponse$1<AmznListingsItemsUpdateData>>;
|
|
43916
44163
|
};
|
|
44164
|
+
amznOrders: {
|
|
44165
|
+
/**
|
|
44166
|
+
* List Amazon orders
|
|
44167
|
+
* Call: api.markets.amznOrders.list(params)
|
|
44168
|
+
*
|
|
44169
|
+
* List Amazon orders synced for a site
|
|
44170
|
+
*
|
|
44171
|
+
* Errors:
|
|
44172
|
+
* 400: Invalid orderBy: MUST be one field|ASC or field|DESC, the field an amzn_orders column.
|
|
44173
|
+
* 403: This endpoint is not configured for this site (the site has no valid Amazon config).
|
|
44174
|
+
*
|
|
44175
|
+
* GET https://markets.augur-api.com/amzn-orders
|
|
44176
|
+
* Contract: https://markets.augur-api.com/openapi.json#/paths/~1amzn-orders/get
|
|
44177
|
+
*
|
|
44178
|
+
* @param params AmznOrdersListParams (query string)
|
|
44179
|
+
* @returns BaseResponse whose `data` is AmznOrdersListData
|
|
44180
|
+
*/
|
|
44181
|
+
list: (params?: AmznOrdersListParams) => Promise<BaseResponse$1<AmznOrdersListData>>;
|
|
44182
|
+
/**
|
|
44183
|
+
* Get an Amazon order
|
|
44184
|
+
* Call: api.markets.amznOrders.get(amznOrdersUid)
|
|
44185
|
+
*
|
|
44186
|
+
* Get one Amazon order synced from Amazon
|
|
44187
|
+
*
|
|
44188
|
+
* Errors:
|
|
44189
|
+
* 403: This endpoint is not configured for this site (the site has no valid Amazon config).
|
|
44190
|
+
* 404: No Amazon order with this ID.
|
|
44191
|
+
*
|
|
44192
|
+
* GET https://markets.augur-api.com/amzn-orders/{amznOrdersUid}
|
|
44193
|
+
* Contract:
|
|
44194
|
+
* https://markets.augur-api.com/openapi.json#/paths/~1amzn-orders~1{amznOrdersUid}/get
|
|
44195
|
+
*
|
|
44196
|
+
* @param amznOrdersUid amzn_orders.amzn_orders_uid
|
|
44197
|
+
* @param params AmznOrdersGetParams (query string)
|
|
44198
|
+
* @returns BaseResponse whose `data` is AmznOrdersGetData
|
|
44199
|
+
*/
|
|
44200
|
+
get: (amznOrdersUid: number, params?: AmznOrdersGetParams) => Promise<BaseResponse$1<AmznOrdersGetData>>;
|
|
44201
|
+
};
|
|
43917
44202
|
amznSp: {
|
|
43918
44203
|
connection: {
|
|
43919
44204
|
/**
|
|
@@ -43928,6 +44213,9 @@ interface MarketsClientSpec {
|
|
|
43928
44213
|
*
|
|
43929
44214
|
* Auth: bearer token; spec scopes: none listed (most endpoints list `public`)
|
|
43930
44215
|
*
|
|
44216
|
+
* Errors:
|
|
44217
|
+
* 403: This endpoint is not configured for this site (the site has no valid Amazon config).
|
|
44218
|
+
*
|
|
43931
44219
|
* GET https://markets.augur-api.com/amzn-sp/connection
|
|
43932
44220
|
* Contract: https://markets.augur-api.com/openapi.json#/paths/~1amzn-sp~1connection/get
|
|
43933
44221
|
*
|
|
@@ -43946,12 +44234,17 @@ type types$8_AmznListingsItemsListItem = AmznListingsItemsListItem;
|
|
|
43946
44234
|
type types$8_AmznListingsItemsListParams = AmznListingsItemsListParams;
|
|
43947
44235
|
type types$8_AmznListingsItemsUpdateBody = AmznListingsItemsUpdateBody;
|
|
43948
44236
|
type types$8_AmznListingsItemsUpdateData = AmznListingsItemsUpdateData;
|
|
44237
|
+
type types$8_AmznOrdersGetData = AmznOrdersGetData;
|
|
44238
|
+
type types$8_AmznOrdersGetParams = AmznOrdersGetParams;
|
|
44239
|
+
type types$8_AmznOrdersListData = AmznOrdersListData;
|
|
44240
|
+
type types$8_AmznOrdersListItem = AmznOrdersListItem;
|
|
44241
|
+
type types$8_AmznOrdersListParams = AmznOrdersListParams;
|
|
43949
44242
|
type types$8_AmznSpConnectionListData = AmznSpConnectionListData;
|
|
43950
44243
|
type types$8_AmznSpConnectionListDataMarketplacesItem = AmznSpConnectionListDataMarketplacesItem;
|
|
43951
44244
|
type types$8_AmznSpConnectionListParams = AmznSpConnectionListParams;
|
|
43952
44245
|
type types$8_MarketsClientSpec = MarketsClientSpec;
|
|
43953
44246
|
declare namespace types$8 {
|
|
43954
|
-
export type { types$8_AmznListingsItemsGetData as AmznListingsItemsGetData, types$8_AmznListingsItemsGetParams as AmznListingsItemsGetParams, types$8_AmznListingsItemsListData as AmznListingsItemsListData, types$8_AmznListingsItemsListItem as AmznListingsItemsListItem, types$8_AmznListingsItemsListParams as AmznListingsItemsListParams, types$8_AmznListingsItemsUpdateBody as AmznListingsItemsUpdateBody, types$8_AmznListingsItemsUpdateData as AmznListingsItemsUpdateData, types$8_AmznSpConnectionListData as AmznSpConnectionListData, types$8_AmznSpConnectionListDataMarketplacesItem as AmznSpConnectionListDataMarketplacesItem, types$8_AmznSpConnectionListParams as AmznSpConnectionListParams, types$8_MarketsClientSpec as MarketsClientSpec };
|
|
44247
|
+
export type { types$8_AmznListingsItemsGetData as AmznListingsItemsGetData, types$8_AmznListingsItemsGetParams as AmznListingsItemsGetParams, types$8_AmznListingsItemsListData as AmznListingsItemsListData, types$8_AmznListingsItemsListItem as AmznListingsItemsListItem, types$8_AmznListingsItemsListParams as AmznListingsItemsListParams, types$8_AmznListingsItemsUpdateBody as AmznListingsItemsUpdateBody, types$8_AmznListingsItemsUpdateData as AmznListingsItemsUpdateData, types$8_AmznOrdersGetData as AmznOrdersGetData, types$8_AmznOrdersGetParams as AmznOrdersGetParams, types$8_AmznOrdersListData as AmznOrdersListData, types$8_AmznOrdersListItem as AmznOrdersListItem, types$8_AmznOrdersListParams as AmznOrdersListParams, types$8_AmznSpConnectionListData as AmznSpConnectionListData, types$8_AmznSpConnectionListDataMarketplacesItem as AmznSpConnectionListDataMarketplacesItem, types$8_AmznSpConnectionListParams as AmznSpConnectionListParams, types$8_MarketsClientSpec as MarketsClientSpec };
|
|
43955
44248
|
}
|
|
43956
44249
|
|
|
43957
44250
|
/**
|
|
@@ -43982,13 +44275,18 @@ declare namespace types$8 {
|
|
|
43982
44275
|
* PUT /amzn-listings-items/{amznListingsItemsUid} →
|
|
43983
44276
|
* api.markets.amznListingsItems.update(amznListingsItemsUid, data) →
|
|
43984
44277
|
* AmznListingsItemsUpdateData
|
|
44278
|
+
* GET /amzn-orders → api.markets.amznOrders.list(params) → AmznOrdersListData
|
|
44279
|
+
* GET /amzn-orders/{amznOrdersUid} → api.markets.amznOrders.get(amznOrdersUid) →
|
|
44280
|
+
* AmznOrdersGetData
|
|
43985
44281
|
* GET /amzn-sp/connection → api.markets.amznSp.connection.list() → AmznSpConnectionListData
|
|
43986
44282
|
*/
|
|
43987
44283
|
|
|
43988
44284
|
declare class MarketsClient extends BaseServiceClient {
|
|
43989
44285
|
readonly amznListingsItems: MarketsClientSpec['amznListingsItems'];
|
|
44286
|
+
readonly amznOrders: MarketsClientSpec['amznOrders'];
|
|
43990
44287
|
readonly amznSp: MarketsClientSpec['amznSp'];
|
|
43991
44288
|
readonly amznListingsItemsData: DataOnly<MarketsClientSpec['amznListingsItems']>;
|
|
44289
|
+
readonly amznOrdersData: DataOnly<MarketsClientSpec['amznOrders']>;
|
|
43992
44290
|
readonly amznSpData: DataOnly<MarketsClientSpec['amznSp']>;
|
|
43993
44291
|
constructor(http: HTTPClient, baseUrl?: string);
|
|
43994
44292
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-B7Pib5eu.mjs';
|
|
2
|
+
export { a as AgrInfoClient, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-B7Pib5eu.mjs';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -231,6 +231,6 @@ declare namespace types {
|
|
|
231
231
|
export type { types_AgrWorkClientSpec as AgrWorkClientSpec };
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
declare const VERSION = "2026.10.
|
|
234
|
+
declare const VERSION = "2026.10.29";
|
|
235
235
|
|
|
236
236
|
export { types as AgrWorkTypes, AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, NotFoundError, RateLimitError, type SiteId, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator, isSiteId, parseSiteId };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-B7Pib5eu.js';
|
|
2
|
+
export { a as AgrInfoClient, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-B7Pib5eu.js';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -231,6 +231,6 @@ declare namespace types {
|
|
|
231
231
|
export type { types_AgrWorkClientSpec as AgrWorkClientSpec };
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
declare const VERSION = "2026.10.
|
|
234
|
+
declare const VERSION = "2026.10.29";
|
|
235
235
|
|
|
236
236
|
export { types as AgrWorkTypes, AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, NotFoundError, RateLimitError, type SiteId, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator, isSiteId, parseSiteId };
|