@simpleapps-com/augur-api 2026.5.1 → 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-NpWuyWjM.d.mts → client-pm1Lbe9X.d.mts} +77 -2
- package/dist/{client-NpWuyWjM.d.ts → client-pm1Lbe9X.d.ts} +77 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +125 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +125 -93
- 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
package/dist/index.mjs
CHANGED
|
@@ -9981,6 +9981,38 @@ var GregorovichClient = class extends BaseServiceClient {
|
|
|
9981
9981
|
|
|
9982
9982
|
// src/services/logistics/generated/schemas.ts
|
|
9983
9983
|
import * as v25 from "valibot";
|
|
9984
|
+
var FedexRatesListParamsSchema = v25.looseObject({
|
|
9985
|
+
...EdgeCacheParamsSchema.entries,
|
|
9986
|
+
fromAddress1: v25.string(),
|
|
9987
|
+
fromCity: v25.string(),
|
|
9988
|
+
fromCountryCode: v25.optional(v25.string()),
|
|
9989
|
+
fromPostalCode: v25.string(),
|
|
9990
|
+
fromStateProvinceCode: v25.string(),
|
|
9991
|
+
toAddress1: v25.string(),
|
|
9992
|
+
toCity: v25.string(),
|
|
9993
|
+
toCountryCode: v25.optional(v25.string()),
|
|
9994
|
+
toPostalCode: v25.string(),
|
|
9995
|
+
toResidential: v25.optional(v25.boolean()),
|
|
9996
|
+
toStateProvinceCode: v25.string(),
|
|
9997
|
+
weight: v25.pipe(v25.unknown(), v25.transform(Number))
|
|
9998
|
+
});
|
|
9999
|
+
var RtsBrandsListParamsSchema = v25.looseObject({
|
|
10000
|
+
...EdgeCacheParamsSchema.entries,
|
|
10001
|
+
search: v25.optional(v25.string())
|
|
10002
|
+
});
|
|
10003
|
+
var RtsBrandsMachinesListParamsSchema = v25.looseObject({
|
|
10004
|
+
...EdgeCacheParamsSchema.entries,
|
|
10005
|
+
search: v25.optional(v25.string())
|
|
10006
|
+
});
|
|
10007
|
+
var RtsSearchMachinesListParamsSchema = v25.looseObject({
|
|
10008
|
+
...EdgeCacheParamsSchema.entries,
|
|
10009
|
+
q: v25.string()
|
|
10010
|
+
});
|
|
10011
|
+
var RtsTracksListParamsSchema = v25.looseObject({
|
|
10012
|
+
...EdgeCacheParamsSchema.entries,
|
|
10013
|
+
search: v25.optional(v25.string()),
|
|
10014
|
+
trackClass: v25.optional(v25.string())
|
|
10015
|
+
});
|
|
9984
10016
|
var ShipviaRatesListParamsSchema = v25.looseObject({
|
|
9985
10017
|
...EdgeCacheParamsSchema.entries,
|
|
9986
10018
|
carriers: v25.optional(v25.string()),
|
|
@@ -10081,6 +10113,90 @@ var PassthroughDataSchema18 = v25.record(v25.string(), v25.unknown());
|
|
|
10081
10113
|
|
|
10082
10114
|
// src/services/logistics/generated/endpoints.ts
|
|
10083
10115
|
var endpoints18 = [
|
|
10116
|
+
{
|
|
10117
|
+
method: "GET",
|
|
10118
|
+
path: "/fedex/rates",
|
|
10119
|
+
chain: "fedex.rates",
|
|
10120
|
+
action: "list",
|
|
10121
|
+
aliases: [],
|
|
10122
|
+
pathParams: [],
|
|
10123
|
+
queryParams: ["fromAddress1", "fromCity", "fromCountryCode", "fromPostalCode", "fromStateProvinceCode", "toAddress1", "toCity", "toCountryCode", "toPostalCode", "toResidential", "toStateProvinceCode", "weight"],
|
|
10124
|
+
edgeCache: true,
|
|
10125
|
+
responseSchema: PassthroughDataSchema18,
|
|
10126
|
+
responseType: "passthrough"
|
|
10127
|
+
},
|
|
10128
|
+
{
|
|
10129
|
+
method: "GET",
|
|
10130
|
+
path: "/rts/brands",
|
|
10131
|
+
chain: "rts.brands",
|
|
10132
|
+
action: "list",
|
|
10133
|
+
aliases: [],
|
|
10134
|
+
pathParams: [],
|
|
10135
|
+
queryParams: ["search"],
|
|
10136
|
+
edgeCache: true,
|
|
10137
|
+
responseSchema: PassthroughDataSchema18,
|
|
10138
|
+
responseType: "passthrough"
|
|
10139
|
+
},
|
|
10140
|
+
{
|
|
10141
|
+
method: "GET",
|
|
10142
|
+
path: "/rts/brands/<brandId:d+>/machines",
|
|
10143
|
+
chain: "rts.brands.<brandId:d+>.machines",
|
|
10144
|
+
action: "list",
|
|
10145
|
+
aliases: [],
|
|
10146
|
+
pathParams: [],
|
|
10147
|
+
queryParams: ["search"],
|
|
10148
|
+
edgeCache: true,
|
|
10149
|
+
responseSchema: PassthroughDataSchema18,
|
|
10150
|
+
responseType: "passthrough"
|
|
10151
|
+
},
|
|
10152
|
+
{
|
|
10153
|
+
method: "GET",
|
|
10154
|
+
path: "/rts/machines/<machineId:d+>/tracks",
|
|
10155
|
+
chain: "rts.machines.<machineId:d+>.tracks",
|
|
10156
|
+
action: "list",
|
|
10157
|
+
aliases: [],
|
|
10158
|
+
pathParams: [],
|
|
10159
|
+
queryParams: [],
|
|
10160
|
+
edgeCache: true,
|
|
10161
|
+
responseSchema: PassthroughDataSchema18,
|
|
10162
|
+
responseType: "passthrough"
|
|
10163
|
+
},
|
|
10164
|
+
{
|
|
10165
|
+
method: "GET",
|
|
10166
|
+
path: "/rts/search/machines",
|
|
10167
|
+
chain: "rts.search.machines",
|
|
10168
|
+
action: "list",
|
|
10169
|
+
aliases: [],
|
|
10170
|
+
pathParams: [],
|
|
10171
|
+
queryParams: ["q"],
|
|
10172
|
+
edgeCache: true,
|
|
10173
|
+
responseSchema: PassthroughDataSchema18,
|
|
10174
|
+
responseType: "passthrough"
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
method: "GET",
|
|
10178
|
+
path: "/rts/track/<trackId:d+>",
|
|
10179
|
+
chain: "rts.track.<trackId:d+>",
|
|
10180
|
+
action: "list",
|
|
10181
|
+
aliases: [],
|
|
10182
|
+
pathParams: [],
|
|
10183
|
+
queryParams: [],
|
|
10184
|
+
edgeCache: true,
|
|
10185
|
+
responseSchema: PassthroughDataSchema18,
|
|
10186
|
+
responseType: "passthrough"
|
|
10187
|
+
},
|
|
10188
|
+
{
|
|
10189
|
+
method: "GET",
|
|
10190
|
+
path: "/rts/tracks",
|
|
10191
|
+
chain: "rts.tracks",
|
|
10192
|
+
action: "list",
|
|
10193
|
+
aliases: [],
|
|
10194
|
+
pathParams: [],
|
|
10195
|
+
queryParams: ["search", "trackClass"],
|
|
10196
|
+
edgeCache: true,
|
|
10197
|
+
responseSchema: PassthroughDataSchema18,
|
|
10198
|
+
responseType: "passthrough"
|
|
10199
|
+
},
|
|
10084
10200
|
{
|
|
10085
10201
|
method: "GET",
|
|
10086
10202
|
path: "/shipvia/rates",
|
|
@@ -10088,26 +10204,7 @@ var endpoints18 = [
|
|
|
10088
10204
|
action: "list",
|
|
10089
10205
|
aliases: [],
|
|
10090
10206
|
pathParams: [],
|
|
10091
|
-
queryParams: [
|
|
10092
|
-
"carriers",
|
|
10093
|
-
"dimensionUnit",
|
|
10094
|
-
"fromCity",
|
|
10095
|
-
"fromCountry",
|
|
10096
|
-
"fromPostalCode",
|
|
10097
|
-
"fromState",
|
|
10098
|
-
"locationId",
|
|
10099
|
-
"packageHeight",
|
|
10100
|
-
"packageLength",
|
|
10101
|
-
"packageWidth",
|
|
10102
|
-
"residential",
|
|
10103
|
-
"serviceType",
|
|
10104
|
-
"toCity",
|
|
10105
|
-
"toCountry",
|
|
10106
|
-
"toPostalCode",
|
|
10107
|
-
"toState",
|
|
10108
|
-
"totalWeight",
|
|
10109
|
-
"weightUnit"
|
|
10110
|
-
],
|
|
10207
|
+
queryParams: ["carriers", "dimensionUnit", "fromCity", "fromCountry", "fromPostalCode", "fromState", "locationId", "packageHeight", "packageLength", "packageWidth", "residential", "serviceType", "toCity", "toCountry", "toPostalCode", "toState", "totalWeight", "weightUnit"],
|
|
10111
10208
|
edgeCache: true,
|
|
10112
10209
|
responseSchema: PassthroughDataSchema18,
|
|
10113
10210
|
responseType: "passthrough"
|
|
@@ -10119,31 +10216,7 @@ var endpoints18 = [
|
|
|
10119
10216
|
action: "list",
|
|
10120
10217
|
aliases: [],
|
|
10121
10218
|
pathParams: [],
|
|
10122
|
-
queryParams: [
|
|
10123
|
-
"carriers",
|
|
10124
|
-
"commodityClass",
|
|
10125
|
-
"commodityDescription",
|
|
10126
|
-
"deliveryInstructions",
|
|
10127
|
-
"dimensionUnit",
|
|
10128
|
-
"fromCity",
|
|
10129
|
-
"fromCountry",
|
|
10130
|
-
"fromPostalCode",
|
|
10131
|
-
"fromState",
|
|
10132
|
-
"isHazMat",
|
|
10133
|
-
"locationId",
|
|
10134
|
-
"packageHeight",
|
|
10135
|
-
"packageLength",
|
|
10136
|
-
"packageWidth",
|
|
10137
|
-
"packagingType",
|
|
10138
|
-
"pickupInstructions",
|
|
10139
|
-
"quantity",
|
|
10140
|
-
"toCity",
|
|
10141
|
-
"toCountry",
|
|
10142
|
-
"toPostalCode",
|
|
10143
|
-
"toState",
|
|
10144
|
-
"totalWeight",
|
|
10145
|
-
"weightUnit"
|
|
10146
|
-
],
|
|
10219
|
+
queryParams: ["carriers", "commodityClass", "commodityDescription", "deliveryInstructions", "dimensionUnit", "fromCity", "fromCountry", "fromPostalCode", "fromState", "isHazMat", "locationId", "packageHeight", "packageLength", "packageWidth", "packagingType", "pickupInstructions", "quantity", "toCity", "toCountry", "toPostalCode", "toState", "totalWeight", "weightUnit"],
|
|
10147
10220
|
edgeCache: true,
|
|
10148
10221
|
responseSchema: PassthroughDataSchema18,
|
|
10149
10222
|
responseType: "passthrough"
|
|
@@ -10155,40 +10228,7 @@ var endpoints18 = [
|
|
|
10155
10228
|
action: "list",
|
|
10156
10229
|
aliases: [],
|
|
10157
10230
|
pathParams: [],
|
|
10158
|
-
queryParams: [
|
|
10159
|
-
"deliveryInstructions",
|
|
10160
|
-
"dimensionUnit",
|
|
10161
|
-
"fromAddressLine",
|
|
10162
|
-
"fromCity",
|
|
10163
|
-
"fromCompanyName",
|
|
10164
|
-
"fromCountryCode",
|
|
10165
|
-
"fromFirstName",
|
|
10166
|
-
"fromLastName",
|
|
10167
|
-
"fromPhone",
|
|
10168
|
-
"fromPostalCode",
|
|
10169
|
-
"fromState",
|
|
10170
|
-
"handlingCharge",
|
|
10171
|
-
"handlingChargeUnit",
|
|
10172
|
-
"international",
|
|
10173
|
-
"packageHeight",
|
|
10174
|
-
"packageLength",
|
|
10175
|
-
"packageWidth",
|
|
10176
|
-
"pickupInstructions",
|
|
10177
|
-
"productType",
|
|
10178
|
-
"quantity",
|
|
10179
|
-
"responseFormat",
|
|
10180
|
-
"toAddressLine",
|
|
10181
|
-
"toCity",
|
|
10182
|
-
"toCompanyName",
|
|
10183
|
-
"toCountryCode",
|
|
10184
|
-
"toFirstName",
|
|
10185
|
-
"toLastName",
|
|
10186
|
-
"toPhone",
|
|
10187
|
-
"toPostalCode",
|
|
10188
|
-
"toRegion",
|
|
10189
|
-
"totalWeight",
|
|
10190
|
-
"weightUnit"
|
|
10191
|
-
],
|
|
10231
|
+
queryParams: ["deliveryInstructions", "dimensionUnit", "fromAddressLine", "fromCity", "fromCompanyName", "fromCountryCode", "fromFirstName", "fromLastName", "fromPhone", "fromPostalCode", "fromState", "handlingCharge", "handlingChargeUnit", "international", "packageHeight", "packageLength", "packageWidth", "pickupInstructions", "productType", "quantity", "responseFormat", "toAddressLine", "toCity", "toCompanyName", "toCountryCode", "toFirstName", "toLastName", "toPhone", "toPostalCode", "toRegion", "totalWeight", "weightUnit"],
|
|
10192
10232
|
edgeCache: true,
|
|
10193
10233
|
responseSchema: PassthroughDataSchema18,
|
|
10194
10234
|
responseType: "passthrough"
|
|
@@ -10200,19 +10240,7 @@ var endpoints18 = [
|
|
|
10200
10240
|
action: "list",
|
|
10201
10241
|
aliases: [],
|
|
10202
10242
|
pathParams: [],
|
|
10203
|
-
queryParams: [
|
|
10204
|
-
"fromAddress1",
|
|
10205
|
-
"fromCity",
|
|
10206
|
-
"fromCountryCode",
|
|
10207
|
-
"fromPostalCode",
|
|
10208
|
-
"fromStateProvinceCode",
|
|
10209
|
-
"toAddress1",
|
|
10210
|
-
"toCity",
|
|
10211
|
-
"toCountryCode",
|
|
10212
|
-
"toPostalCode",
|
|
10213
|
-
"toStateProvinceCode",
|
|
10214
|
-
"weight"
|
|
10215
|
-
],
|
|
10243
|
+
queryParams: ["fromAddress1", "fromCity", "fromCountryCode", "fromPostalCode", "fromStateProvinceCode", "toAddress1", "toCity", "toCountryCode", "toPostalCode", "toStateProvinceCode", "weight"],
|
|
10216
10244
|
edgeCache: true,
|
|
10217
10245
|
responseSchema: PassthroughDataSchema18,
|
|
10218
10246
|
responseType: "passthrough"
|
|
@@ -10366,9 +10394,13 @@ var LogisticsClient = class extends BaseServiceClient {
|
|
|
10366
10394
|
endpoints18
|
|
10367
10395
|
);
|
|
10368
10396
|
const dataProxy = createDataProxy(proxy);
|
|
10397
|
+
this.fedex = proxy.fedex;
|
|
10398
|
+
this.rts = proxy.rts;
|
|
10369
10399
|
this.shipvia = proxy.shipvia;
|
|
10370
10400
|
this.speedship = proxy.speedship;
|
|
10371
10401
|
this.ups = proxy.ups;
|
|
10402
|
+
this.fedexData = dataProxy.fedex;
|
|
10403
|
+
this.rtsData = dataProxy.rts;
|
|
10372
10404
|
this.shipviaData = dataProxy.shipvia;
|
|
10373
10405
|
this.speedshipData = dataProxy.speedship;
|
|
10374
10406
|
this.upsData = dataProxy.ups;
|
|
@@ -13847,7 +13879,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
13847
13879
|
}
|
|
13848
13880
|
|
|
13849
13881
|
// src/index.ts
|
|
13850
|
-
var VERSION = "2026.5.
|
|
13882
|
+
var VERSION = "2026.5.2";
|
|
13851
13883
|
export {
|
|
13852
13884
|
AgrInfoClient,
|
|
13853
13885
|
AgrSiteClient,
|