@simpleapps-com/augur-api 2026.4.7 → 2026.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-B3ppbNq9.d.mts → client-pm1Lbe9X.d.mts} +168 -16
- package/dist/{client-B3ppbNq9.d.ts → client-pm1Lbe9X.d.ts} +168 -16
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +323 -98
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +323 -98
- 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
|
@@ -1719,7 +1719,7 @@ declare class VMIClient extends BaseServiceClient {
|
|
|
1719
1719
|
/**
|
|
1720
1720
|
* Generated types for open-search service
|
|
1721
1721
|
* Source: shared/specs/open-search.json
|
|
1722
|
-
* Generated: 2026-
|
|
1722
|
+
* Generated: 2026-05-05T20:37:41Z
|
|
1723
1723
|
*
|
|
1724
1724
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
1725
1725
|
*/
|
|
@@ -1765,6 +1765,14 @@ interface ItemsListParams extends EdgeCacheParams {
|
|
|
1765
1765
|
type ItemsGetParams = EdgeCacheParams;
|
|
1766
1766
|
/** Params for GET /items/{invMastUid}/refresh */
|
|
1767
1767
|
type ItemsRefreshGetParams = EdgeCacheParams;
|
|
1768
|
+
/** Params for GET /query-string-redirect */
|
|
1769
|
+
interface QueryStringRedirectListParams extends EdgeCacheParams {
|
|
1770
|
+
limit?: number;
|
|
1771
|
+
offset?: number;
|
|
1772
|
+
orderBy?: string;
|
|
1773
|
+
}
|
|
1774
|
+
/** Params for GET /query-string-redirect/{queryStringRedirectUid} */
|
|
1775
|
+
type QueryStringRedirectGetParams = EdgeCacheParams;
|
|
1768
1776
|
/** Params for GET /suggestions */
|
|
1769
1777
|
interface SuggestionsListParams extends EdgeCacheParams {
|
|
1770
1778
|
limit?: number;
|
|
@@ -1784,6 +1792,18 @@ interface SuggestionsSuggestListParams extends EdgeCacheParams {
|
|
|
1784
1792
|
/** Params for GET /suggestions/{suggestionsUid} */
|
|
1785
1793
|
type SuggestionsGetParams = EdgeCacheParams;
|
|
1786
1794
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
1795
|
+
interface QueryStringRedirectData {
|
|
1796
|
+
queryStringRedirectUid?: number;
|
|
1797
|
+
queryStringUid?: number;
|
|
1798
|
+
queryStringRedirectLink?: string;
|
|
1799
|
+
dateCreated?: string;
|
|
1800
|
+
dateLastModified?: string;
|
|
1801
|
+
updateCd?: number;
|
|
1802
|
+
statusCd?: number;
|
|
1803
|
+
processCd?: number;
|
|
1804
|
+
[key: string]: unknown;
|
|
1805
|
+
}
|
|
1806
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
1787
1807
|
interface SuggestionsData {
|
|
1788
1808
|
suggestionsUid?: number;
|
|
1789
1809
|
queryStringUid?: number;
|
|
@@ -1813,6 +1833,13 @@ interface OpenSearchClientSpec {
|
|
|
1813
1833
|
get: (invMastUid: number, params?: ItemsRefreshGetParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
1814
1834
|
};
|
|
1815
1835
|
};
|
|
1836
|
+
queryStringRedirect: {
|
|
1837
|
+
list: (params?: QueryStringRedirectListParams) => Promise<BaseResponse<QueryStringRedirectData[]>>;
|
|
1838
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<QueryStringRedirectData>>;
|
|
1839
|
+
get: (queryStringRedirectUid: number, params?: QueryStringRedirectGetParams) => Promise<BaseResponse<QueryStringRedirectData>>;
|
|
1840
|
+
update: (queryStringRedirectUid: number, data: Record<string, unknown>) => Promise<BaseResponse<QueryStringRedirectData>>;
|
|
1841
|
+
delete: (queryStringRedirectUid: number) => Promise<BaseResponse<QueryStringRedirectData>>;
|
|
1842
|
+
};
|
|
1816
1843
|
suggestions: {
|
|
1817
1844
|
list: (params?: SuggestionsListParams) => Promise<BaseResponse<SuggestionsData[]>>;
|
|
1818
1845
|
get: (suggestionsUid: number, params?: SuggestionsGetParams) => Promise<BaseResponse<SuggestionsData>>;
|
|
@@ -1907,7 +1934,7 @@ type HealthCheckDataResource$m = ReturnType<typeof createHealthCheckDataResource
|
|
|
1907
1934
|
/**
|
|
1908
1935
|
* Generated client for open-search service
|
|
1909
1936
|
* Source: shared/specs/open-search.json
|
|
1910
|
-
* Generated: 2026-
|
|
1937
|
+
* Generated: 2026-05-05T20:37:41Z
|
|
1911
1938
|
*
|
|
1912
1939
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
1913
1940
|
*/
|
|
@@ -1915,21 +1942,24 @@ type HealthCheckDataResource$m = ReturnType<typeof createHealthCheckDataResource
|
|
|
1915
1942
|
declare class OpenSearchClient extends BaseServiceClient {
|
|
1916
1943
|
readonly itemSearch: OpenSearchClientSpec['itemSearch'];
|
|
1917
1944
|
readonly items: OpenSearchClientSpec['items'];
|
|
1945
|
+
readonly queryStringRedirect: OpenSearchClientSpec['queryStringRedirect'];
|
|
1918
1946
|
readonly suggestions: OpenSearchClientSpec['suggestions'];
|
|
1919
1947
|
readonly itemSearchData: OpenSearchClientSpec['itemSearch'];
|
|
1920
1948
|
readonly itemsData: OpenSearchClientSpec['items'];
|
|
1949
|
+
readonly queryStringRedirectData: OpenSearchClientSpec['queryStringRedirect'];
|
|
1921
1950
|
readonly suggestionsData: OpenSearchClientSpec['suggestions'];
|
|
1922
1951
|
readonly ping: PingResource$8;
|
|
1923
1952
|
readonly pingData: PingDataResource$8;
|
|
1924
1953
|
readonly healthCheck: HealthCheckResource$m;
|
|
1925
1954
|
readonly healthCheckData: HealthCheckDataResource$m;
|
|
1926
1955
|
constructor(http: HTTPClient, baseUrl?: string);
|
|
1956
|
+
protected getServiceDescription(): string;
|
|
1927
1957
|
}
|
|
1928
1958
|
|
|
1929
1959
|
/**
|
|
1930
1960
|
* Generated types for items service
|
|
1931
1961
|
* Source: shared/specs/items.json
|
|
1932
|
-
* Generated: 2026-
|
|
1962
|
+
* Generated: 2026-05-05T20:37:36Z
|
|
1933
1963
|
*
|
|
1934
1964
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
1935
1965
|
*/
|
|
@@ -2245,6 +2275,7 @@ interface VariantsListParams extends EdgeCacheParams {
|
|
|
2245
2275
|
limit?: number;
|
|
2246
2276
|
offset?: number;
|
|
2247
2277
|
orderBy?: string;
|
|
2278
|
+
q?: string;
|
|
2248
2279
|
statusCd?: number;
|
|
2249
2280
|
}
|
|
2250
2281
|
/** Params for GET /variants/{itemVariantHdrUid} */
|
|
@@ -2782,7 +2813,7 @@ type WhoamiDataResource$1 = ReturnType<typeof createWhoamiDataResource$1>;
|
|
|
2782
2813
|
/**
|
|
2783
2814
|
* Generated client for items service
|
|
2784
2815
|
* Source: shared/specs/items.json
|
|
2785
|
-
* Generated: 2026-
|
|
2816
|
+
* Generated: 2026-05-05T20:37:36Z
|
|
2786
2817
|
*
|
|
2787
2818
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2788
2819
|
*/
|
|
@@ -2837,11 +2868,15 @@ declare class ItemsClient extends BaseServiceClient {
|
|
|
2837
2868
|
/**
|
|
2838
2869
|
* Generated types for legacy service
|
|
2839
2870
|
* Source: shared/specs/legacy.json
|
|
2840
|
-
* Generated: 2026-
|
|
2871
|
+
* Generated: 2026-05-05T20:37:38Z
|
|
2841
2872
|
*
|
|
2842
2873
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2843
2874
|
*/
|
|
2844
2875
|
|
|
2876
|
+
/** Params for GET /customers/{customerId}/tags */
|
|
2877
|
+
type CustomersTagsListParams = EdgeCacheParams;
|
|
2878
|
+
/** Params for GET /customers/{customerId}/tags/{customerTagsUid} */
|
|
2879
|
+
type CustomersTagsGetParams = EdgeCacheParams;
|
|
2845
2880
|
/** Params for GET /inv-mast/{invMastUid}/also-bought */
|
|
2846
2881
|
type InvMastAlsoBoughtListParams = EdgeCacheParams;
|
|
2847
2882
|
/** Params for GET /inv-mast/{invMastUid}/tags */
|
|
@@ -2858,6 +2893,7 @@ type ItemCategoryGetParams = EdgeCacheParams;
|
|
|
2858
2893
|
interface LegacyStateListParams extends EdgeCacheParams {
|
|
2859
2894
|
limit?: number;
|
|
2860
2895
|
offset?: number;
|
|
2896
|
+
orderBy?: string;
|
|
2861
2897
|
twoLetterCode?: string;
|
|
2862
2898
|
}
|
|
2863
2899
|
/** Params for GET /legacy/state/{stateUid} */
|
|
@@ -2867,6 +2903,18 @@ interface LegacyStateGetParams extends EdgeCacheParams {
|
|
|
2867
2903
|
/** Params for GET /orders/{id}/reset */
|
|
2868
2904
|
type OrdersResetListParams = EdgeCacheParams;
|
|
2869
2905
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2906
|
+
interface CustomersTagsData {
|
|
2907
|
+
customerTagsUid?: number;
|
|
2908
|
+
customerId?: number;
|
|
2909
|
+
tag?: string | null;
|
|
2910
|
+
updateCd?: number;
|
|
2911
|
+
statusCd?: number;
|
|
2912
|
+
processCd?: number;
|
|
2913
|
+
dateCreated?: string;
|
|
2914
|
+
dateLastModified?: string;
|
|
2915
|
+
[key: string]: unknown;
|
|
2916
|
+
}
|
|
2917
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2870
2918
|
interface InvMastTagsData {
|
|
2871
2919
|
invMastTagsUid?: number;
|
|
2872
2920
|
invMastUid?: number;
|
|
@@ -2947,6 +2995,15 @@ interface LegacyStateData {
|
|
|
2947
2995
|
[key: string]: unknown;
|
|
2948
2996
|
}
|
|
2949
2997
|
interface LegacyClientSpec {
|
|
2998
|
+
customers: {
|
|
2999
|
+
tags: {
|
|
3000
|
+
list: (customerId: number, params?: CustomersTagsListParams) => Promise<BaseResponse<CustomersTagsData[]>>;
|
|
3001
|
+
create: (customerId: string, data: Record<string, unknown>) => Promise<BaseResponse<CustomersTagsData>>;
|
|
3002
|
+
get: (customerId: number, customerTagsUid: number, params?: CustomersTagsGetParams) => Promise<BaseResponse<CustomersTagsData>>;
|
|
3003
|
+
update: (customerId: number, customerTagsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<CustomersTagsData>>;
|
|
3004
|
+
delete: (customerId: number, customerTagsUid: number) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3005
|
+
};
|
|
3006
|
+
};
|
|
2950
3007
|
invMast: {
|
|
2951
3008
|
alsoBought: {
|
|
2952
3009
|
list: (invMastUid: number, params?: InvMastAlsoBoughtListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -3014,16 +3071,18 @@ type HealthCheckDataResource$k = ReturnType<typeof createHealthCheckDataResource
|
|
|
3014
3071
|
/**
|
|
3015
3072
|
* Generated client for legacy service
|
|
3016
3073
|
* Source: shared/specs/legacy.json
|
|
3017
|
-
* Generated: 2026-
|
|
3074
|
+
* Generated: 2026-05-05T20:37:38Z
|
|
3018
3075
|
*
|
|
3019
3076
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3020
3077
|
*/
|
|
3021
3078
|
|
|
3022
3079
|
declare class LegacyClient extends BaseServiceClient {
|
|
3080
|
+
readonly customers: LegacyClientSpec['customers'];
|
|
3023
3081
|
readonly invMast: LegacyClientSpec['invMast'];
|
|
3024
3082
|
readonly itemCategory: LegacyClientSpec['itemCategory'];
|
|
3025
3083
|
readonly legacy: LegacyClientSpec['legacy'];
|
|
3026
3084
|
readonly orders: LegacyClientSpec['orders'];
|
|
3085
|
+
readonly customersData: LegacyClientSpec['customers'];
|
|
3027
3086
|
readonly invMastData: LegacyClientSpec['invMast'];
|
|
3028
3087
|
readonly itemCategoryData: LegacyClientSpec['itemCategory'];
|
|
3029
3088
|
readonly legacyData: LegacyClientSpec['legacy'];
|
|
@@ -3337,7 +3396,7 @@ declare class NexusClient extends BaseServiceClient {
|
|
|
3337
3396
|
/**
|
|
3338
3397
|
* Generated types for agr-site service
|
|
3339
3398
|
* Source: shared/specs/agr-site.json
|
|
3340
|
-
* Generated: 2026-
|
|
3399
|
+
* Generated: 2026-05-05T20:37:27Z
|
|
3341
3400
|
*
|
|
3342
3401
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3343
3402
|
*/
|
|
@@ -3750,7 +3809,7 @@ type WhoamiDataResource = ReturnType<typeof createWhoamiDataResource>;
|
|
|
3750
3809
|
/**
|
|
3751
3810
|
* Generated client for agr-site service
|
|
3752
3811
|
* Source: shared/specs/agr-site.json
|
|
3753
|
-
* Generated: 2026-
|
|
3812
|
+
* Generated: 2026-05-05T20:37:27Z
|
|
3754
3813
|
*
|
|
3755
3814
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3756
3815
|
*/
|
|
@@ -3787,7 +3846,7 @@ declare class AgrSiteClient extends BaseServiceClient {
|
|
|
3787
3846
|
/**
|
|
3788
3847
|
* Generated types for customers service
|
|
3789
3848
|
* Source: shared/specs/customers.json
|
|
3790
|
-
* Generated: 2026-
|
|
3849
|
+
* Generated: 2026-05-05T20:37:34Z
|
|
3791
3850
|
*
|
|
3792
3851
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3793
3852
|
*/
|
|
@@ -3878,6 +3937,8 @@ interface CustomerShipToListParams extends EdgeCacheParams {
|
|
|
3878
3937
|
offset?: number;
|
|
3879
3938
|
orderBy?: string;
|
|
3880
3939
|
}
|
|
3940
|
+
/** Params for GET /customer/{customerId}/tags */
|
|
3941
|
+
type CustomerTagsListParams = EdgeCacheParams;
|
|
3881
3942
|
/** Params for GET /oe-contacts-customer/refresh */
|
|
3882
3943
|
type OeContactsCustomerRefreshGetParams = EdgeCacheParams;
|
|
3883
3944
|
/** Params for GET /ship-to/refresh */
|
|
@@ -3936,6 +3997,9 @@ interface CustomersClientSpec {
|
|
|
3936
3997
|
list: (customerId: number, params?: CustomerShipToListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3937
3998
|
create: (customerId: number, data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
3938
3999
|
};
|
|
4000
|
+
tags: {
|
|
4001
|
+
list: (customerId: number, params?: CustomerTagsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4002
|
+
};
|
|
3939
4003
|
};
|
|
3940
4004
|
oeContactsCustomer: {
|
|
3941
4005
|
refresh: {
|
|
@@ -3978,7 +4042,7 @@ type HealthCheckDataResource$h = ReturnType<typeof createHealthCheckDataResource
|
|
|
3978
4042
|
/**
|
|
3979
4043
|
* Generated client for customers service
|
|
3980
4044
|
* Source: shared/specs/customers.json
|
|
3981
|
-
* Generated: 2026-
|
|
4045
|
+
* Generated: 2026-05-05T20:37:34Z
|
|
3982
4046
|
*
|
|
3983
4047
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
3984
4048
|
*/
|
|
@@ -3997,6 +4061,7 @@ declare class CustomersClient extends BaseServiceClient {
|
|
|
3997
4061
|
readonly healthCheck: HealthCheckResource$h;
|
|
3998
4062
|
readonly healthCheckData: HealthCheckDataResource$h;
|
|
3999
4063
|
constructor(http: HTTPClient, baseUrl?: string);
|
|
4064
|
+
protected getServiceDescription(): string;
|
|
4000
4065
|
}
|
|
4001
4066
|
|
|
4002
4067
|
/**
|
|
@@ -4576,7 +4641,7 @@ declare class PaymentsClient extends BaseServiceClient {
|
|
|
4576
4641
|
/**
|
|
4577
4642
|
* Generated types for agr-info service
|
|
4578
4643
|
* Source: shared/specs/agr-info.json
|
|
4579
|
-
* Generated: 2026-
|
|
4644
|
+
* Generated: 2026-05-05T20:37:26Z
|
|
4580
4645
|
*
|
|
4581
4646
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4582
4647
|
*/
|
|
@@ -4587,6 +4652,7 @@ type ContextGetParams = EdgeCacheParams;
|
|
|
4587
4652
|
interface MicroservicesListParams extends EdgeCacheParams {
|
|
4588
4653
|
limit?: number;
|
|
4589
4654
|
offset?: number;
|
|
4655
|
+
orderBy?: string;
|
|
4590
4656
|
statusCd?: number;
|
|
4591
4657
|
}
|
|
4592
4658
|
/** Params for GET /microservices/{microservicesUid} */
|
|
@@ -4594,11 +4660,15 @@ type MicroservicesGetParams = EdgeCacheParams;
|
|
|
4594
4660
|
/** Params for GET /ollama/tags */
|
|
4595
4661
|
type OllamaTagsListParams = EdgeCacheParams;
|
|
4596
4662
|
/** Params for GET /rubrics */
|
|
4597
|
-
|
|
4663
|
+
interface RubricsListParams extends EdgeCacheParams {
|
|
4664
|
+
orderBy?: string;
|
|
4665
|
+
}
|
|
4598
4666
|
/** Params for GET /rubrics/{rubricsUid} */
|
|
4599
4667
|
type RubricsGetParams = EdgeCacheParams;
|
|
4600
4668
|
/** Params for GET /workflows */
|
|
4601
|
-
|
|
4669
|
+
interface WorkflowsListParams extends EdgeCacheParams {
|
|
4670
|
+
orderBy?: string;
|
|
4671
|
+
}
|
|
4602
4672
|
/** Params for GET /workflows/{workflowsUid} */
|
|
4603
4673
|
type WorkflowsGetParams = EdgeCacheParams;
|
|
4604
4674
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
@@ -4674,6 +4744,11 @@ interface AgrInfoClientSpec {
|
|
|
4674
4744
|
update: (rubricsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<RubricsData>>;
|
|
4675
4745
|
delete: (rubricsUid: number) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4676
4746
|
};
|
|
4747
|
+
sites: {
|
|
4748
|
+
validate: {
|
|
4749
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
4750
|
+
};
|
|
4751
|
+
};
|
|
4677
4752
|
workflows: {
|
|
4678
4753
|
list: (params?: WorkflowsListParams) => Promise<BaseResponse<WorkflowsData[]>>;
|
|
4679
4754
|
create: (data: Record<string, unknown>) => Promise<BaseResponse<WorkflowsData>>;
|
|
@@ -4729,7 +4804,7 @@ type HealthCheckDataResource$d = ReturnType<typeof createHealthCheckDataResource
|
|
|
4729
4804
|
/**
|
|
4730
4805
|
* Generated client for agr-info service
|
|
4731
4806
|
* Source: shared/specs/agr-info.json
|
|
4732
|
-
* Generated: 2026-
|
|
4807
|
+
* Generated: 2026-05-05T20:37:26Z
|
|
4733
4808
|
*
|
|
4734
4809
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4735
4810
|
*/
|
|
@@ -4741,6 +4816,7 @@ declare class AgrInfoClient extends BaseServiceClient {
|
|
|
4741
4816
|
readonly microservices: AgrInfoClientSpec['microservices'];
|
|
4742
4817
|
readonly ollama: AgrInfoClientSpec['ollama'];
|
|
4743
4818
|
readonly rubrics: AgrInfoClientSpec['rubrics'];
|
|
4819
|
+
readonly sites: AgrInfoClientSpec['sites'];
|
|
4744
4820
|
readonly workflows: AgrInfoClientSpec['workflows'];
|
|
4745
4821
|
readonly akashaData: AgrInfoClientSpec['akasha'];
|
|
4746
4822
|
readonly contextData: AgrInfoClientSpec['context'];
|
|
@@ -4748,6 +4824,7 @@ declare class AgrInfoClient extends BaseServiceClient {
|
|
|
4748
4824
|
readonly microservicesData: AgrInfoClientSpec['microservices'];
|
|
4749
4825
|
readonly ollamaData: AgrInfoClientSpec['ollama'];
|
|
4750
4826
|
readonly rubricsData: AgrInfoClientSpec['rubrics'];
|
|
4827
|
+
readonly sitesData: AgrInfoClientSpec['sites'];
|
|
4751
4828
|
readonly workflowsData: AgrInfoClientSpec['workflows'];
|
|
4752
4829
|
readonly healthCheck: HealthCheckResource$d;
|
|
4753
4830
|
readonly healthCheckData: HealthCheckDataResource$d;
|
|
@@ -5174,11 +5251,47 @@ declare class GregorovichClient extends BaseServiceClient {
|
|
|
5174
5251
|
/**
|
|
5175
5252
|
* Generated types for logistics service
|
|
5176
5253
|
* Source: shared/specs/logistics.json
|
|
5177
|
-
* Generated: 2026-
|
|
5254
|
+
* Generated: 2026-05-11T16:40:49Z
|
|
5178
5255
|
*
|
|
5179
5256
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
5180
5257
|
*/
|
|
5181
5258
|
|
|
5259
|
+
/** Params for GET /fedex/rates */
|
|
5260
|
+
interface FedexRatesListParams extends EdgeCacheParams {
|
|
5261
|
+
fromAddress1: string;
|
|
5262
|
+
fromCity: string;
|
|
5263
|
+
fromCountryCode?: string;
|
|
5264
|
+
fromPostalCode: string;
|
|
5265
|
+
fromStateProvinceCode: string;
|
|
5266
|
+
toAddress1: string;
|
|
5267
|
+
toCity: string;
|
|
5268
|
+
toCountryCode?: string;
|
|
5269
|
+
toPostalCode: string;
|
|
5270
|
+
toResidential?: boolean;
|
|
5271
|
+
toStateProvinceCode: string;
|
|
5272
|
+
weight: number;
|
|
5273
|
+
}
|
|
5274
|
+
/** Params for GET /rts/brands */
|
|
5275
|
+
interface RtsBrandsListParams extends EdgeCacheParams {
|
|
5276
|
+
search?: string;
|
|
5277
|
+
}
|
|
5278
|
+
/** Params for GET /rts/brands/<brandId:\d+>/machines */
|
|
5279
|
+
interface RtsBrandsMachinesListParams extends EdgeCacheParams {
|
|
5280
|
+
search?: string;
|
|
5281
|
+
}
|
|
5282
|
+
/** Params for GET /rts/machines/<machineId:\d+>/tracks */
|
|
5283
|
+
type RtsMachinesTracksListParams = EdgeCacheParams;
|
|
5284
|
+
/** Params for GET /rts/search/machines */
|
|
5285
|
+
interface RtsSearchMachinesListParams extends EdgeCacheParams {
|
|
5286
|
+
q: string;
|
|
5287
|
+
}
|
|
5288
|
+
/** Params for GET /rts/track/<trackId:\d+> */
|
|
5289
|
+
type RtsTrackListParams = EdgeCacheParams;
|
|
5290
|
+
/** Params for GET /rts/tracks */
|
|
5291
|
+
interface RtsTracksListParams extends EdgeCacheParams {
|
|
5292
|
+
search?: string;
|
|
5293
|
+
trackClass?: string;
|
|
5294
|
+
}
|
|
5182
5295
|
/** Params for GET /shipvia/rates */
|
|
5183
5296
|
interface ShipviaRatesListParams extends EdgeCacheParams {
|
|
5184
5297
|
carriers?: string;
|
|
@@ -5276,6 +5389,41 @@ interface UPSRatesListParams extends EdgeCacheParams {
|
|
|
5276
5389
|
weight: number;
|
|
5277
5390
|
}
|
|
5278
5391
|
interface LogisticsClientSpec {
|
|
5392
|
+
fedex: {
|
|
5393
|
+
rates: {
|
|
5394
|
+
list: (params?: FedexRatesListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5395
|
+
};
|
|
5396
|
+
};
|
|
5397
|
+
rts: {
|
|
5398
|
+
brands: {
|
|
5399
|
+
list: (params?: RtsBrandsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5400
|
+
withBrandId: {
|
|
5401
|
+
machines: {
|
|
5402
|
+
list: (params?: RtsBrandsMachinesListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5403
|
+
};
|
|
5404
|
+
};
|
|
5405
|
+
};
|
|
5406
|
+
machines: {
|
|
5407
|
+
withMachineId: {
|
|
5408
|
+
tracks: {
|
|
5409
|
+
list: (params?: RtsMachinesTracksListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5410
|
+
};
|
|
5411
|
+
};
|
|
5412
|
+
};
|
|
5413
|
+
search: {
|
|
5414
|
+
machines: {
|
|
5415
|
+
list: (params?: RtsSearchMachinesListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5416
|
+
};
|
|
5417
|
+
};
|
|
5418
|
+
track: {
|
|
5419
|
+
withTrackId: {
|
|
5420
|
+
list: (params?: RtsTrackListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5421
|
+
};
|
|
5422
|
+
};
|
|
5423
|
+
tracks: {
|
|
5424
|
+
list: (params?: RtsTracksListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
5425
|
+
};
|
|
5426
|
+
};
|
|
5279
5427
|
shipvia: {
|
|
5280
5428
|
rates: {
|
|
5281
5429
|
list: (params?: ShipviaRatesListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
@@ -5415,15 +5563,19 @@ type PingDataResource$2 = ReturnType<typeof createPingDataResource$2>;
|
|
|
5415
5563
|
/**
|
|
5416
5564
|
* Generated client for logistics service
|
|
5417
5565
|
* Source: shared/specs/logistics.json
|
|
5418
|
-
* Generated: 2026-
|
|
5566
|
+
* Generated: 2026-05-11T16:40:49Z
|
|
5419
5567
|
*
|
|
5420
5568
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
5421
5569
|
*/
|
|
5422
5570
|
|
|
5423
5571
|
declare class LogisticsClient extends BaseServiceClient {
|
|
5572
|
+
readonly fedex: LogisticsClientSpec['fedex'];
|
|
5573
|
+
readonly rts: LogisticsClientSpec['rts'];
|
|
5424
5574
|
readonly shipvia: LogisticsClientSpec['shipvia'];
|
|
5425
5575
|
readonly speedship: LogisticsClientSpec['speedship'];
|
|
5426
5576
|
readonly ups: LogisticsClientSpec['ups'];
|
|
5577
|
+
readonly fedexData: LogisticsClientSpec['fedex'];
|
|
5578
|
+
readonly rtsData: LogisticsClientSpec['rts'];
|
|
5427
5579
|
readonly shipviaData: LogisticsClientSpec['shipvia'];
|
|
5428
5580
|
readonly speedshipData: LogisticsClientSpec['speedship'];
|
|
5429
5581
|
readonly upsData: LogisticsClientSpec['ups'];
|