@simpleapps-com/augur-api 2026.5.3 → 2026.5.5
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-BWdCuQ4m.d.mts → client-yZ3HRVgf.d.mts} +84 -6
- package/dist/{client-BWdCuQ4m.d.ts → client-yZ3HRVgf.d.ts} +84 -6
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +222 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +222 -4
- 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
|
@@ -1959,7 +1959,7 @@ declare class OpenSearchClient extends BaseServiceClient {
|
|
|
1959
1959
|
/**
|
|
1960
1960
|
* Generated types for items service
|
|
1961
1961
|
* Source: shared/specs/items.json
|
|
1962
|
-
* Generated: 2026-05-
|
|
1962
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
1963
1963
|
*
|
|
1964
1964
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
1965
1965
|
*/
|
|
@@ -2031,6 +2031,8 @@ interface BrandsItemsListParams extends EdgeCacheParams {
|
|
|
2031
2031
|
tags?: string;
|
|
2032
2032
|
variantFilter?: string;
|
|
2033
2033
|
}
|
|
2034
|
+
/** Params for GET /brands/{brandsUid}/items/{brandsXItemsUid} */
|
|
2035
|
+
type BrandsItemsGetParams = EdgeCacheParams;
|
|
2034
2036
|
/** Params for GET /categories/lookup */
|
|
2035
2037
|
interface CategoriesLookupGetParams extends EdgeCacheParams {
|
|
2036
2038
|
cacheTtl?: number;
|
|
@@ -2392,6 +2394,18 @@ interface BrandsData {
|
|
|
2392
2394
|
[key: string]: unknown;
|
|
2393
2395
|
}
|
|
2394
2396
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2397
|
+
interface BrandsItemsData {
|
|
2398
|
+
brandsXItemsUid?: number;
|
|
2399
|
+
brandsUid?: number;
|
|
2400
|
+
invMastUid?: number;
|
|
2401
|
+
dateCreated?: string;
|
|
2402
|
+
dateLastModified?: string;
|
|
2403
|
+
updateCd?: number;
|
|
2404
|
+
statusCd?: number;
|
|
2405
|
+
processCd?: number;
|
|
2406
|
+
[key: string]: unknown;
|
|
2407
|
+
}
|
|
2408
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2395
2409
|
interface InvLocData {
|
|
2396
2410
|
companyId?: string;
|
|
2397
2411
|
locationId?: number;
|
|
@@ -2560,6 +2574,10 @@ interface ItemsClientSpec {
|
|
|
2560
2574
|
};
|
|
2561
2575
|
items: {
|
|
2562
2576
|
list: (brandsUid: number, params?: BrandsItemsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
2577
|
+
create: (brandsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2578
|
+
get: (brandsUid: number, brandsXItemsUid: number, params?: BrandsItemsGetParams) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2579
|
+
update: (brandsUid: number, brandsXItemsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2580
|
+
delete: (brandsUid: number, brandsXItemsUid: number) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2563
2581
|
};
|
|
2564
2582
|
};
|
|
2565
2583
|
categories: {
|
|
@@ -2813,7 +2831,7 @@ type WhoamiDataResource$1 = ReturnType<typeof createWhoamiDataResource$1>;
|
|
|
2813
2831
|
/**
|
|
2814
2832
|
* Generated client for items service
|
|
2815
2833
|
* Source: shared/specs/items.json
|
|
2816
|
-
* Generated: 2026-05-
|
|
2834
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
2817
2835
|
*
|
|
2818
2836
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2819
2837
|
*/
|
|
@@ -3846,7 +3864,7 @@ declare class AgrSiteClient extends BaseServiceClient {
|
|
|
3846
3864
|
/**
|
|
3847
3865
|
* Generated types for customers service
|
|
3848
3866
|
* Source: shared/specs/customers.json
|
|
3849
|
-
* Generated: 2026-05-
|
|
3867
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
3850
3868
|
*
|
|
3851
3869
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3852
3870
|
*/
|
|
@@ -3886,6 +3904,15 @@ interface CustomerAddressListParams extends EdgeCacheParams {
|
|
|
3886
3904
|
offset?: number;
|
|
3887
3905
|
q: string;
|
|
3888
3906
|
}
|
|
3907
|
+
/** Params for GET /customer/{customerId}/addresses */
|
|
3908
|
+
interface CustomerAddressesListParams extends EdgeCacheParams {
|
|
3909
|
+
limit?: number;
|
|
3910
|
+
offset?: number;
|
|
3911
|
+
orderBy?: string;
|
|
3912
|
+
statusCd?: number;
|
|
3913
|
+
}
|
|
3914
|
+
/** Params for GET /customer/{customerId}/addresses/{customerAddressUid} */
|
|
3915
|
+
type CustomerAddressesGetParams = EdgeCacheParams;
|
|
3889
3916
|
/** Params for GET /customer/{customerId}/contacts */
|
|
3890
3917
|
interface CustomerContactsListParams extends EdgeCacheParams {
|
|
3891
3918
|
limit?: number;
|
|
@@ -3896,6 +3923,9 @@ interface CustomerContactsListParams extends EdgeCacheParams {
|
|
|
3896
3923
|
type CustomerDocListParams = EdgeCacheParams;
|
|
3897
3924
|
/** Params for GET /customer/{customerId}/invoices */
|
|
3898
3925
|
interface CustomerInvoicesListParams extends EdgeCacheParams {
|
|
3926
|
+
createdFrom?: string;
|
|
3927
|
+
createdOn?: string;
|
|
3928
|
+
createdTo?: string;
|
|
3899
3929
|
limit?: number;
|
|
3900
3930
|
offset?: number;
|
|
3901
3931
|
paidInFull?: string;
|
|
@@ -3938,11 +3968,48 @@ interface CustomerShipToListParams extends EdgeCacheParams {
|
|
|
3938
3968
|
orderBy?: string;
|
|
3939
3969
|
}
|
|
3940
3970
|
/** Params for GET /customer/{customerId}/tags */
|
|
3941
|
-
|
|
3971
|
+
interface CustomerTagsListParams extends EdgeCacheParams {
|
|
3972
|
+
limit?: number;
|
|
3973
|
+
offset?: number;
|
|
3974
|
+
orderBy?: string;
|
|
3975
|
+
statusCd?: number;
|
|
3976
|
+
}
|
|
3977
|
+
/** Params for GET /customer/{customerId}/tags/{customerTagsUid} */
|
|
3978
|
+
type CustomerTagsGetParams = EdgeCacheParams;
|
|
3942
3979
|
/** Params for GET /oe-contacts-customer/refresh */
|
|
3943
3980
|
type OeContactsCustomerRefreshGetParams = EdgeCacheParams;
|
|
3944
3981
|
/** Params for GET /ship-to/refresh */
|
|
3945
3982
|
type ShipToRefreshGetParams = EdgeCacheParams;
|
|
3983
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
3984
|
+
interface CustomerAddressesData {
|
|
3985
|
+
customerAddressUid?: number;
|
|
3986
|
+
customerId?: number;
|
|
3987
|
+
address1?: string | null;
|
|
3988
|
+
address2?: string | null;
|
|
3989
|
+
address3?: string | null;
|
|
3990
|
+
city?: string | null;
|
|
3991
|
+
state?: string | null;
|
|
3992
|
+
postalCode?: string | null;
|
|
3993
|
+
country?: string | null;
|
|
3994
|
+
updateCd?: number;
|
|
3995
|
+
statusCd?: number;
|
|
3996
|
+
processCd?: number;
|
|
3997
|
+
dateCreated?: string;
|
|
3998
|
+
dateLastModified?: string;
|
|
3999
|
+
[key: string]: unknown;
|
|
4000
|
+
}
|
|
4001
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4002
|
+
interface CustomerTagsData {
|
|
4003
|
+
customerTagsUid?: number;
|
|
4004
|
+
customerId?: number;
|
|
4005
|
+
tag?: string | null;
|
|
4006
|
+
updateCd?: number;
|
|
4007
|
+
statusCd?: number;
|
|
4008
|
+
processCd?: number;
|
|
4009
|
+
dateCreated?: string;
|
|
4010
|
+
dateLastModified?: string;
|
|
4011
|
+
[key: string]: unknown;
|
|
4012
|
+
}
|
|
3946
4013
|
interface CustomersClientSpec {
|
|
3947
4014
|
contacts: {
|
|
3948
4015
|
customers: {
|
|
@@ -3967,6 +4034,13 @@ interface CustomersClientSpec {
|
|
|
3967
4034
|
address: {
|
|
3968
4035
|
list: (customerId: number, params?: CustomerAddressListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3969
4036
|
};
|
|
4037
|
+
addresses: {
|
|
4038
|
+
list: (customerId: number, params?: CustomerAddressesListParams) => Promise<BaseResponse<CustomerAddressesData[]>>;
|
|
4039
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4040
|
+
get: (customerId: number, customerAddressUid: number, params?: CustomerAddressesGetParams) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4041
|
+
update: (customerId: number, customerAddressUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4042
|
+
delete: (customerId: number, customerAddressUid: number) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4043
|
+
};
|
|
3970
4044
|
contacts: {
|
|
3971
4045
|
list: (customerId: number, params?: CustomerContactsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3972
4046
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -3998,7 +4072,11 @@ interface CustomersClientSpec {
|
|
|
3998
4072
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3999
4073
|
};
|
|
4000
4074
|
tags: {
|
|
4001
|
-
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<
|
|
4075
|
+
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<CustomerTagsData[]>>;
|
|
4076
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4077
|
+
get: (customerId: number, customerTagsUid: number, params?: CustomerTagsGetParams) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4078
|
+
update: (customerId: number, customerTagsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4079
|
+
delete: (customerId: number, customerTagsUid: number) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4002
4080
|
};
|
|
4003
4081
|
};
|
|
4004
4082
|
oeContactsCustomer: {
|
|
@@ -4042,7 +4120,7 @@ type HealthCheckDataResource$h = ReturnType<typeof createHealthCheckDataResource
|
|
|
4042
4120
|
/**
|
|
4043
4121
|
* Generated client for customers service
|
|
4044
4122
|
* Source: shared/specs/customers.json
|
|
4045
|
-
* Generated: 2026-05-
|
|
4123
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
4046
4124
|
*
|
|
4047
4125
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4048
4126
|
*/
|
|
@@ -1959,7 +1959,7 @@ declare class OpenSearchClient extends BaseServiceClient {
|
|
|
1959
1959
|
/**
|
|
1960
1960
|
* Generated types for items service
|
|
1961
1961
|
* Source: shared/specs/items.json
|
|
1962
|
-
* Generated: 2026-05-
|
|
1962
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
1963
1963
|
*
|
|
1964
1964
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
1965
1965
|
*/
|
|
@@ -2031,6 +2031,8 @@ interface BrandsItemsListParams extends EdgeCacheParams {
|
|
|
2031
2031
|
tags?: string;
|
|
2032
2032
|
variantFilter?: string;
|
|
2033
2033
|
}
|
|
2034
|
+
/** Params for GET /brands/{brandsUid}/items/{brandsXItemsUid} */
|
|
2035
|
+
type BrandsItemsGetParams = EdgeCacheParams;
|
|
2034
2036
|
/** Params for GET /categories/lookup */
|
|
2035
2037
|
interface CategoriesLookupGetParams extends EdgeCacheParams {
|
|
2036
2038
|
cacheTtl?: number;
|
|
@@ -2392,6 +2394,18 @@ interface BrandsData {
|
|
|
2392
2394
|
[key: string]: unknown;
|
|
2393
2395
|
}
|
|
2394
2396
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2397
|
+
interface BrandsItemsData {
|
|
2398
|
+
brandsXItemsUid?: number;
|
|
2399
|
+
brandsUid?: number;
|
|
2400
|
+
invMastUid?: number;
|
|
2401
|
+
dateCreated?: string;
|
|
2402
|
+
dateLastModified?: string;
|
|
2403
|
+
updateCd?: number;
|
|
2404
|
+
statusCd?: number;
|
|
2405
|
+
processCd?: number;
|
|
2406
|
+
[key: string]: unknown;
|
|
2407
|
+
}
|
|
2408
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2395
2409
|
interface InvLocData {
|
|
2396
2410
|
companyId?: string;
|
|
2397
2411
|
locationId?: number;
|
|
@@ -2560,6 +2574,10 @@ interface ItemsClientSpec {
|
|
|
2560
2574
|
};
|
|
2561
2575
|
items: {
|
|
2562
2576
|
list: (brandsUid: number, params?: BrandsItemsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
2577
|
+
create: (brandsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2578
|
+
get: (brandsUid: number, brandsXItemsUid: number, params?: BrandsItemsGetParams) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2579
|
+
update: (brandsUid: number, brandsXItemsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2580
|
+
delete: (brandsUid: number, brandsXItemsUid: number) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2563
2581
|
};
|
|
2564
2582
|
};
|
|
2565
2583
|
categories: {
|
|
@@ -2813,7 +2831,7 @@ type WhoamiDataResource$1 = ReturnType<typeof createWhoamiDataResource$1>;
|
|
|
2813
2831
|
/**
|
|
2814
2832
|
* Generated client for items service
|
|
2815
2833
|
* Source: shared/specs/items.json
|
|
2816
|
-
* Generated: 2026-05-
|
|
2834
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
2817
2835
|
*
|
|
2818
2836
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2819
2837
|
*/
|
|
@@ -3846,7 +3864,7 @@ declare class AgrSiteClient extends BaseServiceClient {
|
|
|
3846
3864
|
/**
|
|
3847
3865
|
* Generated types for customers service
|
|
3848
3866
|
* Source: shared/specs/customers.json
|
|
3849
|
-
* Generated: 2026-05-
|
|
3867
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
3850
3868
|
*
|
|
3851
3869
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3852
3870
|
*/
|
|
@@ -3886,6 +3904,15 @@ interface CustomerAddressListParams extends EdgeCacheParams {
|
|
|
3886
3904
|
offset?: number;
|
|
3887
3905
|
q: string;
|
|
3888
3906
|
}
|
|
3907
|
+
/** Params for GET /customer/{customerId}/addresses */
|
|
3908
|
+
interface CustomerAddressesListParams extends EdgeCacheParams {
|
|
3909
|
+
limit?: number;
|
|
3910
|
+
offset?: number;
|
|
3911
|
+
orderBy?: string;
|
|
3912
|
+
statusCd?: number;
|
|
3913
|
+
}
|
|
3914
|
+
/** Params for GET /customer/{customerId}/addresses/{customerAddressUid} */
|
|
3915
|
+
type CustomerAddressesGetParams = EdgeCacheParams;
|
|
3889
3916
|
/** Params for GET /customer/{customerId}/contacts */
|
|
3890
3917
|
interface CustomerContactsListParams extends EdgeCacheParams {
|
|
3891
3918
|
limit?: number;
|
|
@@ -3896,6 +3923,9 @@ interface CustomerContactsListParams extends EdgeCacheParams {
|
|
|
3896
3923
|
type CustomerDocListParams = EdgeCacheParams;
|
|
3897
3924
|
/** Params for GET /customer/{customerId}/invoices */
|
|
3898
3925
|
interface CustomerInvoicesListParams extends EdgeCacheParams {
|
|
3926
|
+
createdFrom?: string;
|
|
3927
|
+
createdOn?: string;
|
|
3928
|
+
createdTo?: string;
|
|
3899
3929
|
limit?: number;
|
|
3900
3930
|
offset?: number;
|
|
3901
3931
|
paidInFull?: string;
|
|
@@ -3938,11 +3968,48 @@ interface CustomerShipToListParams extends EdgeCacheParams {
|
|
|
3938
3968
|
orderBy?: string;
|
|
3939
3969
|
}
|
|
3940
3970
|
/** Params for GET /customer/{customerId}/tags */
|
|
3941
|
-
|
|
3971
|
+
interface CustomerTagsListParams extends EdgeCacheParams {
|
|
3972
|
+
limit?: number;
|
|
3973
|
+
offset?: number;
|
|
3974
|
+
orderBy?: string;
|
|
3975
|
+
statusCd?: number;
|
|
3976
|
+
}
|
|
3977
|
+
/** Params for GET /customer/{customerId}/tags/{customerTagsUid} */
|
|
3978
|
+
type CustomerTagsGetParams = EdgeCacheParams;
|
|
3942
3979
|
/** Params for GET /oe-contacts-customer/refresh */
|
|
3943
3980
|
type OeContactsCustomerRefreshGetParams = EdgeCacheParams;
|
|
3944
3981
|
/** Params for GET /ship-to/refresh */
|
|
3945
3982
|
type ShipToRefreshGetParams = EdgeCacheParams;
|
|
3983
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
3984
|
+
interface CustomerAddressesData {
|
|
3985
|
+
customerAddressUid?: number;
|
|
3986
|
+
customerId?: number;
|
|
3987
|
+
address1?: string | null;
|
|
3988
|
+
address2?: string | null;
|
|
3989
|
+
address3?: string | null;
|
|
3990
|
+
city?: string | null;
|
|
3991
|
+
state?: string | null;
|
|
3992
|
+
postalCode?: string | null;
|
|
3993
|
+
country?: string | null;
|
|
3994
|
+
updateCd?: number;
|
|
3995
|
+
statusCd?: number;
|
|
3996
|
+
processCd?: number;
|
|
3997
|
+
dateCreated?: string;
|
|
3998
|
+
dateLastModified?: string;
|
|
3999
|
+
[key: string]: unknown;
|
|
4000
|
+
}
|
|
4001
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4002
|
+
interface CustomerTagsData {
|
|
4003
|
+
customerTagsUid?: number;
|
|
4004
|
+
customerId?: number;
|
|
4005
|
+
tag?: string | null;
|
|
4006
|
+
updateCd?: number;
|
|
4007
|
+
statusCd?: number;
|
|
4008
|
+
processCd?: number;
|
|
4009
|
+
dateCreated?: string;
|
|
4010
|
+
dateLastModified?: string;
|
|
4011
|
+
[key: string]: unknown;
|
|
4012
|
+
}
|
|
3946
4013
|
interface CustomersClientSpec {
|
|
3947
4014
|
contacts: {
|
|
3948
4015
|
customers: {
|
|
@@ -3967,6 +4034,13 @@ interface CustomersClientSpec {
|
|
|
3967
4034
|
address: {
|
|
3968
4035
|
list: (customerId: number, params?: CustomerAddressListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3969
4036
|
};
|
|
4037
|
+
addresses: {
|
|
4038
|
+
list: (customerId: number, params?: CustomerAddressesListParams) => Promise<BaseResponse<CustomerAddressesData[]>>;
|
|
4039
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4040
|
+
get: (customerId: number, customerAddressUid: number, params?: CustomerAddressesGetParams) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4041
|
+
update: (customerId: number, customerAddressUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4042
|
+
delete: (customerId: number, customerAddressUid: number) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4043
|
+
};
|
|
3970
4044
|
contacts: {
|
|
3971
4045
|
list: (customerId: number, params?: CustomerContactsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3972
4046
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -3998,7 +4072,11 @@ interface CustomersClientSpec {
|
|
|
3998
4072
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3999
4073
|
};
|
|
4000
4074
|
tags: {
|
|
4001
|
-
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<
|
|
4075
|
+
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<CustomerTagsData[]>>;
|
|
4076
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4077
|
+
get: (customerId: number, customerTagsUid: number, params?: CustomerTagsGetParams) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4078
|
+
update: (customerId: number, customerTagsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4079
|
+
delete: (customerId: number, customerTagsUid: number) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4002
4080
|
};
|
|
4003
4081
|
};
|
|
4004
4082
|
oeContactsCustomer: {
|
|
@@ -4042,7 +4120,7 @@ type HealthCheckDataResource$h = ReturnType<typeof createHealthCheckDataResource
|
|
|
4042
4120
|
/**
|
|
4043
4121
|
* Generated client for customers service
|
|
4044
4122
|
* Source: shared/specs/customers.json
|
|
4045
|
-
* Generated: 2026-05-
|
|
4123
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
4046
4124
|
*
|
|
4047
4125
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4048
4126
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-yZ3HRVgf.mjs';
|
|
2
|
+
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-yZ3HRVgf.mjs';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -173,6 +173,6 @@ declare class RateLimitError extends AugurError {
|
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
declare const VERSION = "2026.5.
|
|
176
|
+
declare const VERSION = "2026.5.5";
|
|
177
177
|
|
|
178
178
|
export { AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, NotFoundError, RateLimitError, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-yZ3HRVgf.js';
|
|
2
|
+
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-yZ3HRVgf.js';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -173,6 +173,6 @@ declare class RateLimitError extends AugurError {
|
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
declare const VERSION = "2026.5.
|
|
176
|
+
declare const VERSION = "2026.5.5";
|
|
177
177
|
|
|
178
178
|
export { AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, NotFoundError, RateLimitError, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator };
|
package/dist/index.js
CHANGED
|
@@ -4301,6 +4301,16 @@ var BrandsDataSchema = v11.looseObject({
|
|
|
4301
4301
|
processCd: v11.optional(v11.number()),
|
|
4302
4302
|
contentId: v11.optional(v11.nullable(v11.number()))
|
|
4303
4303
|
});
|
|
4304
|
+
var BrandsItemsDataSchema = v11.looseObject({
|
|
4305
|
+
brandsXItemsUid: v11.optional(v11.number()),
|
|
4306
|
+
brandsUid: v11.optional(v11.number()),
|
|
4307
|
+
invMastUid: v11.optional(v11.number()),
|
|
4308
|
+
dateCreated: v11.optional(v11.string()),
|
|
4309
|
+
dateLastModified: v11.optional(v11.string()),
|
|
4310
|
+
updateCd: v11.optional(v11.number()),
|
|
4311
|
+
statusCd: v11.optional(v11.number()),
|
|
4312
|
+
processCd: v11.optional(v11.number())
|
|
4313
|
+
});
|
|
4304
4314
|
var InvLocDataSchema = v11.looseObject({
|
|
4305
4315
|
companyId: v11.optional(v11.string()),
|
|
4306
4316
|
locationId: v11.optional(v11.number()),
|
|
@@ -4761,6 +4771,54 @@ var endpoints6 = [
|
|
|
4761
4771
|
responseSchema: PassthroughDataSchema6,
|
|
4762
4772
|
responseType: "passthrough"
|
|
4763
4773
|
},
|
|
4774
|
+
{
|
|
4775
|
+
method: "POST",
|
|
4776
|
+
path: "/brands/{brandsUid}/items",
|
|
4777
|
+
chain: "brands.items",
|
|
4778
|
+
action: "create",
|
|
4779
|
+
aliases: [],
|
|
4780
|
+
pathParams: ["brandsUid"],
|
|
4781
|
+
queryParams: [],
|
|
4782
|
+
edgeCache: false,
|
|
4783
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4784
|
+
responseType: "object"
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
method: "GET",
|
|
4788
|
+
path: "/brands/{brandsUid}/items/{brandsXItemsUid}",
|
|
4789
|
+
chain: "brands.items",
|
|
4790
|
+
action: "get",
|
|
4791
|
+
aliases: [],
|
|
4792
|
+
pathParams: ["brandsUid", "brandsXItemsUid"],
|
|
4793
|
+
queryParams: [],
|
|
4794
|
+
edgeCache: true,
|
|
4795
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4796
|
+
responseType: "object"
|
|
4797
|
+
},
|
|
4798
|
+
{
|
|
4799
|
+
method: "PUT",
|
|
4800
|
+
path: "/brands/{brandsUid}/items/{brandsXItemsUid}",
|
|
4801
|
+
chain: "brands.items",
|
|
4802
|
+
action: "update",
|
|
4803
|
+
aliases: [],
|
|
4804
|
+
pathParams: ["brandsUid", "brandsXItemsUid"],
|
|
4805
|
+
queryParams: [],
|
|
4806
|
+
edgeCache: false,
|
|
4807
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4808
|
+
responseType: "object"
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
method: "DELETE",
|
|
4812
|
+
path: "/brands/{brandsUid}/items/{brandsXItemsUid}",
|
|
4813
|
+
chain: "brands.items",
|
|
4814
|
+
action: "delete",
|
|
4815
|
+
aliases: [],
|
|
4816
|
+
pathParams: ["brandsUid", "brandsXItemsUid"],
|
|
4817
|
+
queryParams: [],
|
|
4818
|
+
edgeCache: false,
|
|
4819
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4820
|
+
responseType: "object"
|
|
4821
|
+
},
|
|
4764
4822
|
{
|
|
4765
4823
|
method: "GET",
|
|
4766
4824
|
path: "/categories/lookup",
|
|
@@ -7777,6 +7835,13 @@ var CustomerAddressListParamsSchema = v17.looseObject({
|
|
|
7777
7835
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7778
7836
|
q: v17.string()
|
|
7779
7837
|
});
|
|
7838
|
+
var CustomerAddressesListParamsSchema = v17.looseObject({
|
|
7839
|
+
...EdgeCacheParamsSchema.entries,
|
|
7840
|
+
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7841
|
+
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7842
|
+
orderBy: v17.optional(v17.string()),
|
|
7843
|
+
statusCd: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number)))
|
|
7844
|
+
});
|
|
7780
7845
|
var CustomerContactsListParamsSchema = v17.looseObject({
|
|
7781
7846
|
...EdgeCacheParamsSchema.entries,
|
|
7782
7847
|
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
@@ -7785,6 +7850,9 @@ var CustomerContactsListParamsSchema = v17.looseObject({
|
|
|
7785
7850
|
});
|
|
7786
7851
|
var CustomerInvoicesListParamsSchema = v17.looseObject({
|
|
7787
7852
|
...EdgeCacheParamsSchema.entries,
|
|
7853
|
+
createdFrom: v17.optional(v17.string()),
|
|
7854
|
+
createdOn: v17.optional(v17.string()),
|
|
7855
|
+
createdTo: v17.optional(v17.string()),
|
|
7788
7856
|
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7789
7857
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7790
7858
|
paidInFull: v17.optional(v17.string()),
|
|
@@ -7820,6 +7888,39 @@ var CustomerShipToListParamsSchema = v17.looseObject({
|
|
|
7820
7888
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7821
7889
|
orderBy: v17.optional(v17.string())
|
|
7822
7890
|
});
|
|
7891
|
+
var CustomerTagsListParamsSchema = v17.looseObject({
|
|
7892
|
+
...EdgeCacheParamsSchema.entries,
|
|
7893
|
+
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7894
|
+
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7895
|
+
orderBy: v17.optional(v17.string()),
|
|
7896
|
+
statusCd: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number)))
|
|
7897
|
+
});
|
|
7898
|
+
var CustomerAddressesDataSchema = v17.looseObject({
|
|
7899
|
+
customerAddressUid: v17.optional(v17.number()),
|
|
7900
|
+
customerId: v17.optional(v17.number()),
|
|
7901
|
+
address1: v17.optional(v17.nullable(v17.string())),
|
|
7902
|
+
address2: v17.optional(v17.nullable(v17.string())),
|
|
7903
|
+
address3: v17.optional(v17.nullable(v17.string())),
|
|
7904
|
+
city: v17.optional(v17.nullable(v17.string())),
|
|
7905
|
+
state: v17.optional(v17.nullable(v17.string())),
|
|
7906
|
+
postalCode: v17.optional(v17.nullable(v17.string())),
|
|
7907
|
+
country: v17.optional(v17.nullable(v17.string())),
|
|
7908
|
+
updateCd: v17.optional(v17.number()),
|
|
7909
|
+
statusCd: v17.optional(v17.number()),
|
|
7910
|
+
processCd: v17.optional(v17.number()),
|
|
7911
|
+
dateCreated: v17.optional(v17.string()),
|
|
7912
|
+
dateLastModified: v17.optional(v17.string())
|
|
7913
|
+
});
|
|
7914
|
+
var CustomerTagsDataSchema = v17.looseObject({
|
|
7915
|
+
customerTagsUid: v17.optional(v17.number()),
|
|
7916
|
+
customerId: v17.optional(v17.number()),
|
|
7917
|
+
tag: v17.optional(v17.nullable(v17.string())),
|
|
7918
|
+
updateCd: v17.optional(v17.number()),
|
|
7919
|
+
statusCd: v17.optional(v17.number()),
|
|
7920
|
+
processCd: v17.optional(v17.number()),
|
|
7921
|
+
dateCreated: v17.optional(v17.string()),
|
|
7922
|
+
dateLastModified: v17.optional(v17.string())
|
|
7923
|
+
});
|
|
7823
7924
|
var PassthroughDataSchema10 = v17.record(v17.string(), v17.unknown());
|
|
7824
7925
|
|
|
7825
7926
|
// src/services/customers/generated/endpoints.ts
|
|
@@ -7920,6 +8021,66 @@ var endpoints10 = [
|
|
|
7920
8021
|
responseSchema: PassthroughDataSchema10,
|
|
7921
8022
|
responseType: "passthrough"
|
|
7922
8023
|
},
|
|
8024
|
+
{
|
|
8025
|
+
method: "GET",
|
|
8026
|
+
path: "/customer/{customerId}/addresses",
|
|
8027
|
+
chain: "customer.addresses",
|
|
8028
|
+
action: "list",
|
|
8029
|
+
aliases: [],
|
|
8030
|
+
pathParams: ["customerId"],
|
|
8031
|
+
queryParams: ["limit", "offset", "orderBy", "statusCd"],
|
|
8032
|
+
edgeCache: true,
|
|
8033
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8034
|
+
responseType: "array"
|
|
8035
|
+
},
|
|
8036
|
+
{
|
|
8037
|
+
method: "POST",
|
|
8038
|
+
path: "/customer/{customerId}/addresses",
|
|
8039
|
+
chain: "customer.addresses",
|
|
8040
|
+
action: "create",
|
|
8041
|
+
aliases: [],
|
|
8042
|
+
pathParams: ["customerId"],
|
|
8043
|
+
queryParams: [],
|
|
8044
|
+
edgeCache: false,
|
|
8045
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8046
|
+
responseType: "object"
|
|
8047
|
+
},
|
|
8048
|
+
{
|
|
8049
|
+
method: "GET",
|
|
8050
|
+
path: "/customer/{customerId}/addresses/{customerAddressUid}",
|
|
8051
|
+
chain: "customer.addresses",
|
|
8052
|
+
action: "get",
|
|
8053
|
+
aliases: [],
|
|
8054
|
+
pathParams: ["customerId", "customerAddressUid"],
|
|
8055
|
+
queryParams: [],
|
|
8056
|
+
edgeCache: true,
|
|
8057
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8058
|
+
responseType: "object"
|
|
8059
|
+
},
|
|
8060
|
+
{
|
|
8061
|
+
method: "PUT",
|
|
8062
|
+
path: "/customer/{customerId}/addresses/{customerAddressUid}",
|
|
8063
|
+
chain: "customer.addresses",
|
|
8064
|
+
action: "update",
|
|
8065
|
+
aliases: [],
|
|
8066
|
+
pathParams: ["customerId", "customerAddressUid"],
|
|
8067
|
+
queryParams: [],
|
|
8068
|
+
edgeCache: false,
|
|
8069
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8070
|
+
responseType: "object"
|
|
8071
|
+
},
|
|
8072
|
+
{
|
|
8073
|
+
method: "DELETE",
|
|
8074
|
+
path: "/customer/{customerId}/addresses/{customerAddressUid}",
|
|
8075
|
+
chain: "customer.addresses",
|
|
8076
|
+
action: "delete",
|
|
8077
|
+
aliases: [],
|
|
8078
|
+
pathParams: ["customerId", "customerAddressUid"],
|
|
8079
|
+
queryParams: [],
|
|
8080
|
+
edgeCache: false,
|
|
8081
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8082
|
+
responseType: "object"
|
|
8083
|
+
},
|
|
7923
8084
|
{
|
|
7924
8085
|
method: "GET",
|
|
7925
8086
|
path: "/customer/{customerId}/contacts",
|
|
@@ -7963,7 +8124,16 @@ var endpoints10 = [
|
|
|
7963
8124
|
action: "list",
|
|
7964
8125
|
aliases: [],
|
|
7965
8126
|
pathParams: ["customerId"],
|
|
7966
|
-
queryParams: [
|
|
8127
|
+
queryParams: [
|
|
8128
|
+
"createdFrom",
|
|
8129
|
+
"createdOn",
|
|
8130
|
+
"createdTo",
|
|
8131
|
+
"limit",
|
|
8132
|
+
"offset",
|
|
8133
|
+
"paidInFull",
|
|
8134
|
+
"q",
|
|
8135
|
+
"shipToId"
|
|
8136
|
+
],
|
|
7967
8137
|
edgeCache: true,
|
|
7968
8138
|
responseSchema: PassthroughDataSchema10,
|
|
7969
8139
|
responseType: "passthrough"
|
|
@@ -8080,10 +8250,58 @@ var endpoints10 = [
|
|
|
8080
8250
|
action: "list",
|
|
8081
8251
|
aliases: [],
|
|
8082
8252
|
pathParams: ["customerId"],
|
|
8253
|
+
queryParams: ["limit", "offset", "orderBy", "statusCd"],
|
|
8254
|
+
edgeCache: true,
|
|
8255
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8256
|
+
responseType: "array"
|
|
8257
|
+
},
|
|
8258
|
+
{
|
|
8259
|
+
method: "POST",
|
|
8260
|
+
path: "/customer/{customerId}/tags",
|
|
8261
|
+
chain: "customer.tags",
|
|
8262
|
+
action: "create",
|
|
8263
|
+
aliases: [],
|
|
8264
|
+
pathParams: ["customerId"],
|
|
8265
|
+
queryParams: [],
|
|
8266
|
+
edgeCache: false,
|
|
8267
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8268
|
+
responseType: "object"
|
|
8269
|
+
},
|
|
8270
|
+
{
|
|
8271
|
+
method: "GET",
|
|
8272
|
+
path: "/customer/{customerId}/tags/{customerTagsUid}",
|
|
8273
|
+
chain: "customer.tags",
|
|
8274
|
+
action: "get",
|
|
8275
|
+
aliases: [],
|
|
8276
|
+
pathParams: ["customerId", "customerTagsUid"],
|
|
8083
8277
|
queryParams: [],
|
|
8084
8278
|
edgeCache: true,
|
|
8085
|
-
responseSchema:
|
|
8086
|
-
responseType: "
|
|
8279
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8280
|
+
responseType: "object"
|
|
8281
|
+
},
|
|
8282
|
+
{
|
|
8283
|
+
method: "PUT",
|
|
8284
|
+
path: "/customer/{customerId}/tags/{customerTagsUid}",
|
|
8285
|
+
chain: "customer.tags",
|
|
8286
|
+
action: "update",
|
|
8287
|
+
aliases: [],
|
|
8288
|
+
pathParams: ["customerId", "customerTagsUid"],
|
|
8289
|
+
queryParams: [],
|
|
8290
|
+
edgeCache: false,
|
|
8291
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8292
|
+
responseType: "object"
|
|
8293
|
+
},
|
|
8294
|
+
{
|
|
8295
|
+
method: "DELETE",
|
|
8296
|
+
path: "/customer/{customerId}/tags/{customerTagsUid}",
|
|
8297
|
+
chain: "customer.tags",
|
|
8298
|
+
action: "delete",
|
|
8299
|
+
aliases: [],
|
|
8300
|
+
pathParams: ["customerId", "customerTagsUid"],
|
|
8301
|
+
queryParams: [],
|
|
8302
|
+
edgeCache: false,
|
|
8303
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8304
|
+
responseType: "object"
|
|
8087
8305
|
},
|
|
8088
8306
|
{
|
|
8089
8307
|
method: "GET",
|
|
@@ -14058,7 +14276,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
14058
14276
|
}
|
|
14059
14277
|
|
|
14060
14278
|
// src/index.ts
|
|
14061
|
-
var VERSION = "2026.5.
|
|
14279
|
+
var VERSION = "2026.5.5";
|
|
14062
14280
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14063
14281
|
0 && (module.exports = {
|
|
14064
14282
|
AgrInfoClient,
|