@simpleapps-com/augur-api 2026.5.3 → 2026.5.4
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-C72Z8ANN.d.mts} +64 -4
- package/dist/{client-BWdCuQ4m.d.ts → client-C72Z8ANN.d.ts} +64 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +164 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +164 -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
|
@@ -3846,7 +3846,7 @@ declare class AgrSiteClient extends BaseServiceClient {
|
|
|
3846
3846
|
/**
|
|
3847
3847
|
* Generated types for customers service
|
|
3848
3848
|
* Source: shared/specs/customers.json
|
|
3849
|
-
* Generated: 2026-05-
|
|
3849
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
3850
3850
|
*
|
|
3851
3851
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3852
3852
|
*/
|
|
@@ -3886,6 +3886,15 @@ interface CustomerAddressListParams extends EdgeCacheParams {
|
|
|
3886
3886
|
offset?: number;
|
|
3887
3887
|
q: string;
|
|
3888
3888
|
}
|
|
3889
|
+
/** Params for GET /customer/{customerId}/addresses */
|
|
3890
|
+
interface CustomerAddressesListParams extends EdgeCacheParams {
|
|
3891
|
+
limit?: number;
|
|
3892
|
+
offset?: number;
|
|
3893
|
+
orderBy?: string;
|
|
3894
|
+
statusCd?: number;
|
|
3895
|
+
}
|
|
3896
|
+
/** Params for GET /customer/{customerId}/addresses/{customerAddressUid} */
|
|
3897
|
+
type CustomerAddressesGetParams = EdgeCacheParams;
|
|
3889
3898
|
/** Params for GET /customer/{customerId}/contacts */
|
|
3890
3899
|
interface CustomerContactsListParams extends EdgeCacheParams {
|
|
3891
3900
|
limit?: number;
|
|
@@ -3896,6 +3905,9 @@ interface CustomerContactsListParams extends EdgeCacheParams {
|
|
|
3896
3905
|
type CustomerDocListParams = EdgeCacheParams;
|
|
3897
3906
|
/** Params for GET /customer/{customerId}/invoices */
|
|
3898
3907
|
interface CustomerInvoicesListParams extends EdgeCacheParams {
|
|
3908
|
+
createdFrom?: string;
|
|
3909
|
+
createdOn?: string;
|
|
3910
|
+
createdTo?: string;
|
|
3899
3911
|
limit?: number;
|
|
3900
3912
|
offset?: number;
|
|
3901
3913
|
paidInFull?: string;
|
|
@@ -3938,11 +3950,48 @@ interface CustomerShipToListParams extends EdgeCacheParams {
|
|
|
3938
3950
|
orderBy?: string;
|
|
3939
3951
|
}
|
|
3940
3952
|
/** Params for GET /customer/{customerId}/tags */
|
|
3941
|
-
|
|
3953
|
+
interface CustomerTagsListParams extends EdgeCacheParams {
|
|
3954
|
+
limit?: number;
|
|
3955
|
+
offset?: number;
|
|
3956
|
+
orderBy?: string;
|
|
3957
|
+
statusCd?: number;
|
|
3958
|
+
}
|
|
3959
|
+
/** Params for GET /customer/{customerId}/tags/{customerTagsUid} */
|
|
3960
|
+
type CustomerTagsGetParams = EdgeCacheParams;
|
|
3942
3961
|
/** Params for GET /oe-contacts-customer/refresh */
|
|
3943
3962
|
type OeContactsCustomerRefreshGetParams = EdgeCacheParams;
|
|
3944
3963
|
/** Params for GET /ship-to/refresh */
|
|
3945
3964
|
type ShipToRefreshGetParams = EdgeCacheParams;
|
|
3965
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
3966
|
+
interface CustomerAddressesData {
|
|
3967
|
+
customerAddressUid?: number;
|
|
3968
|
+
customerId?: number;
|
|
3969
|
+
address1?: string | null;
|
|
3970
|
+
address2?: string | null;
|
|
3971
|
+
address3?: string | null;
|
|
3972
|
+
city?: string | null;
|
|
3973
|
+
state?: string | null;
|
|
3974
|
+
postalCode?: string | null;
|
|
3975
|
+
country?: string | null;
|
|
3976
|
+
updateCd?: number;
|
|
3977
|
+
statusCd?: number;
|
|
3978
|
+
processCd?: number;
|
|
3979
|
+
dateCreated?: string;
|
|
3980
|
+
dateLastModified?: string;
|
|
3981
|
+
[key: string]: unknown;
|
|
3982
|
+
}
|
|
3983
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
3984
|
+
interface CustomerTagsData {
|
|
3985
|
+
customerTagsUid?: number;
|
|
3986
|
+
customerId?: number;
|
|
3987
|
+
tag?: string | null;
|
|
3988
|
+
updateCd?: number;
|
|
3989
|
+
statusCd?: number;
|
|
3990
|
+
processCd?: number;
|
|
3991
|
+
dateCreated?: string;
|
|
3992
|
+
dateLastModified?: string;
|
|
3993
|
+
[key: string]: unknown;
|
|
3994
|
+
}
|
|
3946
3995
|
interface CustomersClientSpec {
|
|
3947
3996
|
contacts: {
|
|
3948
3997
|
customers: {
|
|
@@ -3967,6 +4016,13 @@ interface CustomersClientSpec {
|
|
|
3967
4016
|
address: {
|
|
3968
4017
|
list: (customerId: number, params?: CustomerAddressListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3969
4018
|
};
|
|
4019
|
+
addresses: {
|
|
4020
|
+
list: (customerId: number, params?: CustomerAddressesListParams) => Promise<BaseResponse<CustomerAddressesData[]>>;
|
|
4021
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4022
|
+
get: (customerId: number, customerAddressUid: number, params?: CustomerAddressesGetParams) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4023
|
+
update: (customerId: number, customerAddressUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4024
|
+
delete: (customerId: number, customerAddressUid: number) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4025
|
+
};
|
|
3970
4026
|
contacts: {
|
|
3971
4027
|
list: (customerId: number, params?: CustomerContactsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3972
4028
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -3998,7 +4054,11 @@ interface CustomersClientSpec {
|
|
|
3998
4054
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3999
4055
|
};
|
|
4000
4056
|
tags: {
|
|
4001
|
-
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<
|
|
4057
|
+
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<CustomerTagsData[]>>;
|
|
4058
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4059
|
+
get: (customerId: number, customerTagsUid: number, params?: CustomerTagsGetParams) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4060
|
+
update: (customerId: number, customerTagsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4061
|
+
delete: (customerId: number, customerTagsUid: number) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4002
4062
|
};
|
|
4003
4063
|
};
|
|
4004
4064
|
oeContactsCustomer: {
|
|
@@ -4042,7 +4102,7 @@ type HealthCheckDataResource$h = ReturnType<typeof createHealthCheckDataResource
|
|
|
4042
4102
|
/**
|
|
4043
4103
|
* Generated client for customers service
|
|
4044
4104
|
* Source: shared/specs/customers.json
|
|
4045
|
-
* Generated: 2026-05-
|
|
4105
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
4046
4106
|
*
|
|
4047
4107
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4048
4108
|
*/
|
|
@@ -3846,7 +3846,7 @@ declare class AgrSiteClient extends BaseServiceClient {
|
|
|
3846
3846
|
/**
|
|
3847
3847
|
* Generated types for customers service
|
|
3848
3848
|
* Source: shared/specs/customers.json
|
|
3849
|
-
* Generated: 2026-05-
|
|
3849
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
3850
3850
|
*
|
|
3851
3851
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3852
3852
|
*/
|
|
@@ -3886,6 +3886,15 @@ interface CustomerAddressListParams extends EdgeCacheParams {
|
|
|
3886
3886
|
offset?: number;
|
|
3887
3887
|
q: string;
|
|
3888
3888
|
}
|
|
3889
|
+
/** Params for GET /customer/{customerId}/addresses */
|
|
3890
|
+
interface CustomerAddressesListParams extends EdgeCacheParams {
|
|
3891
|
+
limit?: number;
|
|
3892
|
+
offset?: number;
|
|
3893
|
+
orderBy?: string;
|
|
3894
|
+
statusCd?: number;
|
|
3895
|
+
}
|
|
3896
|
+
/** Params for GET /customer/{customerId}/addresses/{customerAddressUid} */
|
|
3897
|
+
type CustomerAddressesGetParams = EdgeCacheParams;
|
|
3889
3898
|
/** Params for GET /customer/{customerId}/contacts */
|
|
3890
3899
|
interface CustomerContactsListParams extends EdgeCacheParams {
|
|
3891
3900
|
limit?: number;
|
|
@@ -3896,6 +3905,9 @@ interface CustomerContactsListParams extends EdgeCacheParams {
|
|
|
3896
3905
|
type CustomerDocListParams = EdgeCacheParams;
|
|
3897
3906
|
/** Params for GET /customer/{customerId}/invoices */
|
|
3898
3907
|
interface CustomerInvoicesListParams extends EdgeCacheParams {
|
|
3908
|
+
createdFrom?: string;
|
|
3909
|
+
createdOn?: string;
|
|
3910
|
+
createdTo?: string;
|
|
3899
3911
|
limit?: number;
|
|
3900
3912
|
offset?: number;
|
|
3901
3913
|
paidInFull?: string;
|
|
@@ -3938,11 +3950,48 @@ interface CustomerShipToListParams extends EdgeCacheParams {
|
|
|
3938
3950
|
orderBy?: string;
|
|
3939
3951
|
}
|
|
3940
3952
|
/** Params for GET /customer/{customerId}/tags */
|
|
3941
|
-
|
|
3953
|
+
interface CustomerTagsListParams extends EdgeCacheParams {
|
|
3954
|
+
limit?: number;
|
|
3955
|
+
offset?: number;
|
|
3956
|
+
orderBy?: string;
|
|
3957
|
+
statusCd?: number;
|
|
3958
|
+
}
|
|
3959
|
+
/** Params for GET /customer/{customerId}/tags/{customerTagsUid} */
|
|
3960
|
+
type CustomerTagsGetParams = EdgeCacheParams;
|
|
3942
3961
|
/** Params for GET /oe-contacts-customer/refresh */
|
|
3943
3962
|
type OeContactsCustomerRefreshGetParams = EdgeCacheParams;
|
|
3944
3963
|
/** Params for GET /ship-to/refresh */
|
|
3945
3964
|
type ShipToRefreshGetParams = EdgeCacheParams;
|
|
3965
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
3966
|
+
interface CustomerAddressesData {
|
|
3967
|
+
customerAddressUid?: number;
|
|
3968
|
+
customerId?: number;
|
|
3969
|
+
address1?: string | null;
|
|
3970
|
+
address2?: string | null;
|
|
3971
|
+
address3?: string | null;
|
|
3972
|
+
city?: string | null;
|
|
3973
|
+
state?: string | null;
|
|
3974
|
+
postalCode?: string | null;
|
|
3975
|
+
country?: string | null;
|
|
3976
|
+
updateCd?: number;
|
|
3977
|
+
statusCd?: number;
|
|
3978
|
+
processCd?: number;
|
|
3979
|
+
dateCreated?: string;
|
|
3980
|
+
dateLastModified?: string;
|
|
3981
|
+
[key: string]: unknown;
|
|
3982
|
+
}
|
|
3983
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
3984
|
+
interface CustomerTagsData {
|
|
3985
|
+
customerTagsUid?: number;
|
|
3986
|
+
customerId?: number;
|
|
3987
|
+
tag?: string | null;
|
|
3988
|
+
updateCd?: number;
|
|
3989
|
+
statusCd?: number;
|
|
3990
|
+
processCd?: number;
|
|
3991
|
+
dateCreated?: string;
|
|
3992
|
+
dateLastModified?: string;
|
|
3993
|
+
[key: string]: unknown;
|
|
3994
|
+
}
|
|
3946
3995
|
interface CustomersClientSpec {
|
|
3947
3996
|
contacts: {
|
|
3948
3997
|
customers: {
|
|
@@ -3967,6 +4016,13 @@ interface CustomersClientSpec {
|
|
|
3967
4016
|
address: {
|
|
3968
4017
|
list: (customerId: number, params?: CustomerAddressListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3969
4018
|
};
|
|
4019
|
+
addresses: {
|
|
4020
|
+
list: (customerId: number, params?: CustomerAddressesListParams) => Promise<BaseResponse<CustomerAddressesData[]>>;
|
|
4021
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4022
|
+
get: (customerId: number, customerAddressUid: number, params?: CustomerAddressesGetParams) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4023
|
+
update: (customerId: number, customerAddressUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4024
|
+
delete: (customerId: number, customerAddressUid: number) => Promise<BaseResponse<CustomerAddressesData>>;
|
|
4025
|
+
};
|
|
3970
4026
|
contacts: {
|
|
3971
4027
|
list: (customerId: number, params?: CustomerContactsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3972
4028
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -3998,7 +4054,11 @@ interface CustomersClientSpec {
|
|
|
3998
4054
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3999
4055
|
};
|
|
4000
4056
|
tags: {
|
|
4001
|
-
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<
|
|
4057
|
+
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<CustomerTagsData[]>>;
|
|
4058
|
+
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4059
|
+
get: (customerId: number, customerTagsUid: number, params?: CustomerTagsGetParams) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4060
|
+
update: (customerId: number, customerTagsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4061
|
+
delete: (customerId: number, customerTagsUid: number) => Promise<BaseResponse<CustomerTagsData>>;
|
|
4002
4062
|
};
|
|
4003
4063
|
};
|
|
4004
4064
|
oeContactsCustomer: {
|
|
@@ -4042,7 +4102,7 @@ type HealthCheckDataResource$h = ReturnType<typeof createHealthCheckDataResource
|
|
|
4042
4102
|
/**
|
|
4043
4103
|
* Generated client for customers service
|
|
4044
4104
|
* Source: shared/specs/customers.json
|
|
4045
|
-
* Generated: 2026-05-
|
|
4105
|
+
* Generated: 2026-05-14T16:15:59Z
|
|
4046
4106
|
*
|
|
4047
4107
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4048
4108
|
*/
|
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-C72Z8ANN.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-C72Z8ANN.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.4";
|
|
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-C72Z8ANN.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-C72Z8ANN.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.4";
|
|
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
|
@@ -7777,6 +7777,13 @@ var CustomerAddressListParamsSchema = v17.looseObject({
|
|
|
7777
7777
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7778
7778
|
q: v17.string()
|
|
7779
7779
|
});
|
|
7780
|
+
var CustomerAddressesListParamsSchema = v17.looseObject({
|
|
7781
|
+
...EdgeCacheParamsSchema.entries,
|
|
7782
|
+
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7783
|
+
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7784
|
+
orderBy: v17.optional(v17.string()),
|
|
7785
|
+
statusCd: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number)))
|
|
7786
|
+
});
|
|
7780
7787
|
var CustomerContactsListParamsSchema = v17.looseObject({
|
|
7781
7788
|
...EdgeCacheParamsSchema.entries,
|
|
7782
7789
|
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
@@ -7785,6 +7792,9 @@ var CustomerContactsListParamsSchema = v17.looseObject({
|
|
|
7785
7792
|
});
|
|
7786
7793
|
var CustomerInvoicesListParamsSchema = v17.looseObject({
|
|
7787
7794
|
...EdgeCacheParamsSchema.entries,
|
|
7795
|
+
createdFrom: v17.optional(v17.string()),
|
|
7796
|
+
createdOn: v17.optional(v17.string()),
|
|
7797
|
+
createdTo: v17.optional(v17.string()),
|
|
7788
7798
|
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7789
7799
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7790
7800
|
paidInFull: v17.optional(v17.string()),
|
|
@@ -7820,6 +7830,39 @@ var CustomerShipToListParamsSchema = v17.looseObject({
|
|
|
7820
7830
|
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7821
7831
|
orderBy: v17.optional(v17.string())
|
|
7822
7832
|
});
|
|
7833
|
+
var CustomerTagsListParamsSchema = v17.looseObject({
|
|
7834
|
+
...EdgeCacheParamsSchema.entries,
|
|
7835
|
+
limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7836
|
+
offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
|
|
7837
|
+
orderBy: v17.optional(v17.string()),
|
|
7838
|
+
statusCd: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number)))
|
|
7839
|
+
});
|
|
7840
|
+
var CustomerAddressesDataSchema = v17.looseObject({
|
|
7841
|
+
customerAddressUid: v17.optional(v17.number()),
|
|
7842
|
+
customerId: v17.optional(v17.number()),
|
|
7843
|
+
address1: v17.optional(v17.nullable(v17.string())),
|
|
7844
|
+
address2: v17.optional(v17.nullable(v17.string())),
|
|
7845
|
+
address3: v17.optional(v17.nullable(v17.string())),
|
|
7846
|
+
city: v17.optional(v17.nullable(v17.string())),
|
|
7847
|
+
state: v17.optional(v17.nullable(v17.string())),
|
|
7848
|
+
postalCode: v17.optional(v17.nullable(v17.string())),
|
|
7849
|
+
country: v17.optional(v17.nullable(v17.string())),
|
|
7850
|
+
updateCd: v17.optional(v17.number()),
|
|
7851
|
+
statusCd: v17.optional(v17.number()),
|
|
7852
|
+
processCd: v17.optional(v17.number()),
|
|
7853
|
+
dateCreated: v17.optional(v17.string()),
|
|
7854
|
+
dateLastModified: v17.optional(v17.string())
|
|
7855
|
+
});
|
|
7856
|
+
var CustomerTagsDataSchema = v17.looseObject({
|
|
7857
|
+
customerTagsUid: v17.optional(v17.number()),
|
|
7858
|
+
customerId: v17.optional(v17.number()),
|
|
7859
|
+
tag: v17.optional(v17.nullable(v17.string())),
|
|
7860
|
+
updateCd: v17.optional(v17.number()),
|
|
7861
|
+
statusCd: v17.optional(v17.number()),
|
|
7862
|
+
processCd: v17.optional(v17.number()),
|
|
7863
|
+
dateCreated: v17.optional(v17.string()),
|
|
7864
|
+
dateLastModified: v17.optional(v17.string())
|
|
7865
|
+
});
|
|
7823
7866
|
var PassthroughDataSchema10 = v17.record(v17.string(), v17.unknown());
|
|
7824
7867
|
|
|
7825
7868
|
// src/services/customers/generated/endpoints.ts
|
|
@@ -7920,6 +7963,66 @@ var endpoints10 = [
|
|
|
7920
7963
|
responseSchema: PassthroughDataSchema10,
|
|
7921
7964
|
responseType: "passthrough"
|
|
7922
7965
|
},
|
|
7966
|
+
{
|
|
7967
|
+
method: "GET",
|
|
7968
|
+
path: "/customer/{customerId}/addresses",
|
|
7969
|
+
chain: "customer.addresses",
|
|
7970
|
+
action: "list",
|
|
7971
|
+
aliases: [],
|
|
7972
|
+
pathParams: ["customerId"],
|
|
7973
|
+
queryParams: ["limit", "offset", "orderBy", "statusCd"],
|
|
7974
|
+
edgeCache: true,
|
|
7975
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
7976
|
+
responseType: "array"
|
|
7977
|
+
},
|
|
7978
|
+
{
|
|
7979
|
+
method: "POST",
|
|
7980
|
+
path: "/customer/{customerId}/addresses",
|
|
7981
|
+
chain: "customer.addresses",
|
|
7982
|
+
action: "create",
|
|
7983
|
+
aliases: [],
|
|
7984
|
+
pathParams: ["customerId"],
|
|
7985
|
+
queryParams: [],
|
|
7986
|
+
edgeCache: false,
|
|
7987
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
7988
|
+
responseType: "object"
|
|
7989
|
+
},
|
|
7990
|
+
{
|
|
7991
|
+
method: "GET",
|
|
7992
|
+
path: "/customer/{customerId}/addresses/{customerAddressUid}",
|
|
7993
|
+
chain: "customer.addresses",
|
|
7994
|
+
action: "get",
|
|
7995
|
+
aliases: [],
|
|
7996
|
+
pathParams: ["customerId", "customerAddressUid"],
|
|
7997
|
+
queryParams: [],
|
|
7998
|
+
edgeCache: true,
|
|
7999
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8000
|
+
responseType: "object"
|
|
8001
|
+
},
|
|
8002
|
+
{
|
|
8003
|
+
method: "PUT",
|
|
8004
|
+
path: "/customer/{customerId}/addresses/{customerAddressUid}",
|
|
8005
|
+
chain: "customer.addresses",
|
|
8006
|
+
action: "update",
|
|
8007
|
+
aliases: [],
|
|
8008
|
+
pathParams: ["customerId", "customerAddressUid"],
|
|
8009
|
+
queryParams: [],
|
|
8010
|
+
edgeCache: false,
|
|
8011
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8012
|
+
responseType: "object"
|
|
8013
|
+
},
|
|
8014
|
+
{
|
|
8015
|
+
method: "DELETE",
|
|
8016
|
+
path: "/customer/{customerId}/addresses/{customerAddressUid}",
|
|
8017
|
+
chain: "customer.addresses",
|
|
8018
|
+
action: "delete",
|
|
8019
|
+
aliases: [],
|
|
8020
|
+
pathParams: ["customerId", "customerAddressUid"],
|
|
8021
|
+
queryParams: [],
|
|
8022
|
+
edgeCache: false,
|
|
8023
|
+
responseSchema: CustomerAddressesDataSchema,
|
|
8024
|
+
responseType: "object"
|
|
8025
|
+
},
|
|
7923
8026
|
{
|
|
7924
8027
|
method: "GET",
|
|
7925
8028
|
path: "/customer/{customerId}/contacts",
|
|
@@ -7963,7 +8066,16 @@ var endpoints10 = [
|
|
|
7963
8066
|
action: "list",
|
|
7964
8067
|
aliases: [],
|
|
7965
8068
|
pathParams: ["customerId"],
|
|
7966
|
-
queryParams: [
|
|
8069
|
+
queryParams: [
|
|
8070
|
+
"createdFrom",
|
|
8071
|
+
"createdOn",
|
|
8072
|
+
"createdTo",
|
|
8073
|
+
"limit",
|
|
8074
|
+
"offset",
|
|
8075
|
+
"paidInFull",
|
|
8076
|
+
"q",
|
|
8077
|
+
"shipToId"
|
|
8078
|
+
],
|
|
7967
8079
|
edgeCache: true,
|
|
7968
8080
|
responseSchema: PassthroughDataSchema10,
|
|
7969
8081
|
responseType: "passthrough"
|
|
@@ -8080,10 +8192,58 @@ var endpoints10 = [
|
|
|
8080
8192
|
action: "list",
|
|
8081
8193
|
aliases: [],
|
|
8082
8194
|
pathParams: ["customerId"],
|
|
8195
|
+
queryParams: ["limit", "offset", "orderBy", "statusCd"],
|
|
8196
|
+
edgeCache: true,
|
|
8197
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8198
|
+
responseType: "array"
|
|
8199
|
+
},
|
|
8200
|
+
{
|
|
8201
|
+
method: "POST",
|
|
8202
|
+
path: "/customer/{customerId}/tags",
|
|
8203
|
+
chain: "customer.tags",
|
|
8204
|
+
action: "create",
|
|
8205
|
+
aliases: [],
|
|
8206
|
+
pathParams: ["customerId"],
|
|
8207
|
+
queryParams: [],
|
|
8208
|
+
edgeCache: false,
|
|
8209
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8210
|
+
responseType: "object"
|
|
8211
|
+
},
|
|
8212
|
+
{
|
|
8213
|
+
method: "GET",
|
|
8214
|
+
path: "/customer/{customerId}/tags/{customerTagsUid}",
|
|
8215
|
+
chain: "customer.tags",
|
|
8216
|
+
action: "get",
|
|
8217
|
+
aliases: [],
|
|
8218
|
+
pathParams: ["customerId", "customerTagsUid"],
|
|
8083
8219
|
queryParams: [],
|
|
8084
8220
|
edgeCache: true,
|
|
8085
|
-
responseSchema:
|
|
8086
|
-
responseType: "
|
|
8221
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8222
|
+
responseType: "object"
|
|
8223
|
+
},
|
|
8224
|
+
{
|
|
8225
|
+
method: "PUT",
|
|
8226
|
+
path: "/customer/{customerId}/tags/{customerTagsUid}",
|
|
8227
|
+
chain: "customer.tags",
|
|
8228
|
+
action: "update",
|
|
8229
|
+
aliases: [],
|
|
8230
|
+
pathParams: ["customerId", "customerTagsUid"],
|
|
8231
|
+
queryParams: [],
|
|
8232
|
+
edgeCache: false,
|
|
8233
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8234
|
+
responseType: "object"
|
|
8235
|
+
},
|
|
8236
|
+
{
|
|
8237
|
+
method: "DELETE",
|
|
8238
|
+
path: "/customer/{customerId}/tags/{customerTagsUid}",
|
|
8239
|
+
chain: "customer.tags",
|
|
8240
|
+
action: "delete",
|
|
8241
|
+
aliases: [],
|
|
8242
|
+
pathParams: ["customerId", "customerTagsUid"],
|
|
8243
|
+
queryParams: [],
|
|
8244
|
+
edgeCache: false,
|
|
8245
|
+
responseSchema: CustomerTagsDataSchema,
|
|
8246
|
+
responseType: "object"
|
|
8087
8247
|
},
|
|
8088
8248
|
{
|
|
8089
8249
|
method: "GET",
|
|
@@ -14058,7 +14218,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
14058
14218
|
}
|
|
14059
14219
|
|
|
14060
14220
|
// src/index.ts
|
|
14061
|
-
var VERSION = "2026.5.
|
|
14221
|
+
var VERSION = "2026.5.4";
|
|
14062
14222
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14063
14223
|
0 && (module.exports = {
|
|
14064
14224
|
AgrInfoClient,
|