@simpleapps-com/augur-api 2026.5.5 → 2026.6.1

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/index.mjs CHANGED
@@ -109,6 +109,15 @@ var RateLimitError = class extends AugurError {
109
109
  });
110
110
  }
111
111
  };
112
+ var InvalidArgumentError = class extends AugurError {
113
+ constructor(params) {
114
+ super({
115
+ ...params,
116
+ code: "INVALID_ARGUMENT",
117
+ statusCode: 400
118
+ });
119
+ }
120
+ };
112
121
 
113
122
  // src/core/client.ts
114
123
  function generateRequestKey(method, url, params) {
@@ -431,6 +440,39 @@ var HTTPClient = class {
431
440
  }
432
441
  };
433
442
 
443
+ // src/core/path-validation.ts
444
+ var normalise = (name) => name.replace(/[-_]/g, "").toLowerCase();
445
+ var NUMERIC_EXACT = /* @__PURE__ */ new Set(["id", "linenumber"]);
446
+ var NUMERIC_SUFFIX_RE = /(?:id|uid|no|num|number)$/;
447
+ var STRING_OVERRIDES = /* @__PURE__ */ new Set(["siteid", "pono", "importuid", "scheduledimportmasteruid"]);
448
+ var isNumericPlaceholder = (placeholder) => {
449
+ const normalised = normalise(placeholder);
450
+ if (STRING_OVERRIDES.has(normalised)) return false;
451
+ if (NUMERIC_EXACT.has(normalised)) return true;
452
+ return NUMERIC_SUFFIX_RE.test(normalised);
453
+ };
454
+ var INTEGER_RE = /^-?\d+$/;
455
+ var validatePathSegment = (pathTemplate, placeholder, value) => {
456
+ const isNumeric = isNumericPlaceholder(placeholder);
457
+ if (isNumeric) {
458
+ if (!INTEGER_RE.test(value)) {
459
+ throw new InvalidArgumentError({
460
+ message: `Invalid path parameter '${placeholder}': expected an integer, received ${JSON.stringify(value)}`,
461
+ service: "http-client",
462
+ endpoint: pathTemplate
463
+ });
464
+ }
465
+ return;
466
+ }
467
+ if (value === "") {
468
+ throw new InvalidArgumentError({
469
+ message: `Invalid path parameter '${placeholder}': expected a non-empty string, received ${JSON.stringify(value)}`,
470
+ service: "http-client",
471
+ endpoint: pathTemplate
472
+ });
473
+ }
474
+ };
475
+
434
476
  // src/core/schemas.ts
435
477
  import * as v from "valibot";
436
478
  var logNormalizationWarning = (message) => {
@@ -978,16 +1020,19 @@ Provided parameters: ${JSON.stringify(params, null, 2)}`;
978
1020
  if (!pathParams) {
979
1021
  return pathTemplate;
980
1022
  }
981
- const normalise = (s) => s.replace(/[-_]/g, "").toLowerCase();
1023
+ const normalise2 = (s) => s.replace(/[-_]/g, "").toLowerCase();
982
1024
  let path = pathTemplate;
983
1025
  for (const [key, value] of Object.entries(pathParams)) {
1026
+ const stringValue = String(value);
984
1027
  if (path.includes(`{${key}}`)) {
985
- path = path.replace(`{${key}}`, String(value));
1028
+ validatePathSegment(pathTemplate, key, stringValue);
1029
+ path = path.replace(`{${key}}`, stringValue);
986
1030
  } else {
987
- const normKey = normalise(key);
1031
+ const normKey = normalise2(key);
988
1032
  path = path.replace(/\{([^}]+)\}/g, (match, placeholder) => {
989
- if (normalise(placeholder) === normKey) {
990
- return String(value);
1033
+ if (normalise2(placeholder) === normKey) {
1034
+ validatePathSegment(pathTemplate, placeholder, stringValue);
1035
+ return stringValue;
991
1036
  }
992
1037
  return match;
993
1038
  });
@@ -1753,13 +1798,7 @@ var JoomlaClient = class extends BaseServiceClient {
1753
1798
  constructor(http, baseUrl = "https://joomla.augur-api.com") {
1754
1799
  super("joomla", http, baseUrl);
1755
1800
  const boundExecuteRequest = (config, params, pathParams) => {
1756
- if (pathParams !== void 0) {
1757
- return this.executeRequest(config, params, pathParams);
1758
- }
1759
- if (params !== void 0 || config.paramsSchema !== void 0) {
1760
- return this.executeRequest(config, params);
1761
- }
1762
- return this.executeRequest(config);
1801
+ return this.executeRequest(config, params, pathParams);
1763
1802
  };
1764
1803
  const proxy = createServiceProxy("joomla", boundExecuteRequest, endpoints);
1765
1804
  const dataProxy = createDataProxy(proxy);
@@ -2030,13 +2069,7 @@ var CommerceClient = class extends BaseServiceClient {
2030
2069
  constructor(http, baseUrl = "https://commerce.augur-api.com") {
2031
2070
  super("commerce", http, baseUrl);
2032
2071
  const boundExecuteRequest = (config, params, pathParams) => {
2033
- if (pathParams !== void 0) {
2034
- return this.executeRequest(config, params, pathParams);
2035
- }
2036
- if (params !== void 0 || config.paramsSchema !== void 0) {
2037
- return this.executeRequest(config, params);
2038
- }
2039
- return this.executeRequest(config);
2072
+ return this.executeRequest(config, params, pathParams);
2040
2073
  };
2041
2074
  const proxy = createServiceProxy(
2042
2075
  "commerce",
@@ -2053,6 +2086,9 @@ var CommerceClient = class extends BaseServiceClient {
2053
2086
  this.healthCheck = createHealthCheckResource2(boundExecuteRequest);
2054
2087
  this.healthCheckData = createHealthCheckDataResource2(this.healthCheck);
2055
2088
  }
2089
+ getServiceDescription() {
2090
+ return "Shopping cart and checkout engine managing cart state, checkout flow, and Prophet 21 order submission";
2091
+ }
2056
2092
  };
2057
2093
 
2058
2094
  // src/services/pricing/generated/schemas.ts
@@ -2482,13 +2518,7 @@ var PricingClient = class extends BaseServiceClient {
2482
2518
  constructor(http, baseUrl = "https://pricing.augur-api.com") {
2483
2519
  super("pricing", http, baseUrl);
2484
2520
  const boundExecuteRequest = (config, params, pathParams) => {
2485
- if (pathParams !== void 0) {
2486
- return this.executeRequest(config, params, pathParams);
2487
- }
2488
- if (params !== void 0 || config.paramsSchema !== void 0) {
2489
- return this.executeRequest(config, params);
2490
- }
2491
- return this.executeRequest(config);
2521
+ return this.executeRequest(config, params, pathParams);
2492
2522
  };
2493
2523
  const proxy = createServiceProxy("pricing", boundExecuteRequest, endpoints3);
2494
2524
  const dataProxy = createDataProxy(proxy);
@@ -3403,13 +3433,7 @@ var VMIClient = class extends BaseServiceClient {
3403
3433
  constructor(http, baseUrl = "https://vmi.augur-api.com") {
3404
3434
  super("vmi", http, baseUrl);
3405
3435
  const boundExecuteRequest = (config, params, pathParams) => {
3406
- if (pathParams !== void 0) {
3407
- return this.executeRequest(config, params, pathParams);
3408
- }
3409
- if (params !== void 0 || config.paramsSchema !== void 0) {
3410
- return this.executeRequest(config, params);
3411
- }
3412
- return this.executeRequest(config);
3436
+ return this.executeRequest(config, params, pathParams);
3413
3437
  };
3414
3438
  const proxy = createServiceProxy("vmi", boundExecuteRequest, endpoints4);
3415
3439
  const dataProxy = createDataProxy(proxy);
@@ -3430,6 +3454,9 @@ var VMIClient = class extends BaseServiceClient {
3430
3454
  this.healthCheckData = createHealthCheckDataResource4(this.healthCheck);
3431
3455
  this.pingData = createPingDataResource2(this.ping);
3432
3456
  }
3457
+ getServiceDescription() {
3458
+ return "Vendor-managed inventory for distributor profiles, warehouse stock levels, restocking, and usage tracking";
3459
+ }
3433
3460
  };
3434
3461
 
3435
3462
  // src/services/open-search/generated/schemas.ts
@@ -3819,13 +3846,7 @@ var OpenSearchClient = class extends BaseServiceClient {
3819
3846
  constructor(http, baseUrl = "https://open-search.augur-api.com") {
3820
3847
  super("open-search", http, baseUrl);
3821
3848
  const boundExecuteRequest = (config, params, pathParams) => {
3822
- if (pathParams !== void 0) {
3823
- return this.executeRequest(config, params, pathParams);
3824
- }
3825
- if (params !== void 0 || config.paramsSchema !== void 0) {
3826
- return this.executeRequest(config, params);
3827
- }
3828
- return this.executeRequest(config);
3849
+ return this.executeRequest(config, params, pathParams);
3829
3850
  };
3830
3851
  const proxy = createServiceProxy(
3831
3852
  "open-search",
@@ -3877,6 +3898,17 @@ var AttributesListParamsSchema = v11.looseObject({
3877
3898
  q: v11.optional(v11.string()),
3878
3899
  statusCd: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number)))
3879
3900
  });
3901
+ var AttributesItemsListParamsSchema = v11.looseObject({
3902
+ ...EdgeCacheParamsSchema.entries,
3903
+ attributeValueUid: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
3904
+ excludeValues: v11.optional(v11.string()),
3905
+ includeValues: v11.optional(v11.string()),
3906
+ limit: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
3907
+ offset: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
3908
+ orderBy: v11.optional(v11.string()),
3909
+ q: v11.optional(v11.string()),
3910
+ statusCd: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number)))
3911
+ });
3880
3912
  var AttributesValuesListParamsSchema = v11.looseObject({
3881
3913
  ...EdgeCacheParamsSchema.entries,
3882
3914
  limit: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
@@ -4199,6 +4231,21 @@ var AttributesDataSchema = v11.looseObject({
4199
4231
  statusCd: v11.optional(v11.number()),
4200
4232
  typeCd: v11.optional(v11.number())
4201
4233
  });
4234
+ var AttributesItemsDataSchema = v11.looseObject({
4235
+ itemAttributeValueUid: v11.optional(v11.number()),
4236
+ invMastUid: v11.optional(v11.number()),
4237
+ attributeUid: v11.optional(v11.number()),
4238
+ attributeValue: v11.optional(v11.nullable(v11.string())),
4239
+ dateCreated: v11.optional(v11.string()),
4240
+ createdBy: v11.optional(v11.string()),
4241
+ dateLastModified: v11.optional(v11.string()),
4242
+ lastMaintainedBy: v11.optional(v11.string()),
4243
+ updateCd: v11.optional(v11.number()),
4244
+ processCd: v11.optional(v11.number()),
4245
+ statusCd: v11.optional(v11.number()),
4246
+ attributeValueUid: v11.optional(v11.number()),
4247
+ onlineCd: v11.optional(v11.number())
4248
+ });
4202
4249
  var AttributesValuesDataSchema = v11.looseObject({
4203
4250
  attributeValueUid: v11.optional(v11.number()),
4204
4251
  attributeUid: v11.optional(v11.number()),
@@ -4291,21 +4338,6 @@ var InvLocDataSchema = v11.looseObject({
4291
4338
  purchaseDiscountGroup: v11.optional(v11.nullable(v11.string())),
4292
4339
  salesDiscountGroup: v11.optional(v11.nullable(v11.string()))
4293
4340
  });
4294
- var InvMastAttributesDataSchema = v11.looseObject({
4295
- itemAttributeValueUid: v11.optional(v11.number()),
4296
- invMastUid: v11.optional(v11.number()),
4297
- attributeUid: v11.optional(v11.number()),
4298
- attributeValue: v11.optional(v11.nullable(v11.string())),
4299
- dateCreated: v11.optional(v11.string()),
4300
- createdBy: v11.optional(v11.string()),
4301
- dateLastModified: v11.optional(v11.string()),
4302
- lastMaintainedBy: v11.optional(v11.string()),
4303
- updateCd: v11.optional(v11.number()),
4304
- processCd: v11.optional(v11.number()),
4305
- statusCd: v11.optional(v11.number()),
4306
- attributeValueUid: v11.optional(v11.number()),
4307
- onlineCd: v11.optional(v11.number())
4308
- });
4309
4341
  var InvMastFaqDataSchema = v11.looseObject({
4310
4342
  invMastFaqUid: v11.optional(v11.number()),
4311
4343
  invMastUid: v11.optional(v11.number()),
@@ -4539,6 +4571,27 @@ var endpoints6 = [
4539
4571
  responseSchema: PassthroughDataSchema6,
4540
4572
  responseType: "passthrough"
4541
4573
  },
4574
+ {
4575
+ method: "GET",
4576
+ path: "/attributes/{attributeUid}/items",
4577
+ chain: "attributes.items",
4578
+ action: "list",
4579
+ aliases: [],
4580
+ pathParams: ["attributeUid"],
4581
+ queryParams: [
4582
+ "attributeValueUid",
4583
+ "excludeValues",
4584
+ "includeValues",
4585
+ "limit",
4586
+ "offset",
4587
+ "orderBy",
4588
+ "q",
4589
+ "statusCd"
4590
+ ],
4591
+ edgeCache: true,
4592
+ responseSchema: AttributesItemsDataSchema,
4593
+ responseType: "array"
4594
+ },
4542
4595
  {
4543
4596
  method: "GET",
4544
4597
  path: "/attributes/{attributeUid}/values",
@@ -5008,7 +5061,7 @@ var endpoints6 = [
5008
5061
  pathParams: ["invMastUid"],
5009
5062
  queryParams: [],
5010
5063
  edgeCache: false,
5011
- responseSchema: InvMastAttributesDataSchema,
5064
+ responseSchema: AttributesItemsDataSchema,
5012
5065
  responseType: "object"
5013
5066
  },
5014
5067
  {
@@ -5032,7 +5085,7 @@ var endpoints6 = [
5032
5085
  pathParams: ["invMastUid", "attributeUid"],
5033
5086
  queryParams: [],
5034
5087
  edgeCache: false,
5035
- responseSchema: InvMastAttributesDataSchema,
5088
+ responseSchema: AttributesItemsDataSchema,
5036
5089
  responseType: "object"
5037
5090
  },
5038
5091
  {
@@ -5044,7 +5097,7 @@ var endpoints6 = [
5044
5097
  pathParams: ["invMastUid", "attributeUid", "attributeValueUid"],
5045
5098
  queryParams: [],
5046
5099
  edgeCache: false,
5047
- responseSchema: InvMastAttributesDataSchema,
5100
+ responseSchema: AttributesItemsDataSchema,
5048
5101
  responseType: "object"
5049
5102
  },
5050
5103
  {
@@ -5775,13 +5828,7 @@ var ItemsClient = class extends BaseServiceClient {
5775
5828
  constructor(http, baseUrl = "https://items.augur-api.com") {
5776
5829
  super("items", http, baseUrl);
5777
5830
  const boundExecuteRequest = (config, params, pathParams) => {
5778
- if (pathParams !== void 0) {
5779
- return this.executeRequest(config, params, pathParams);
5780
- }
5781
- if (params !== void 0 || config.paramsSchema !== void 0) {
5782
- return this.executeRequest(config, params);
5783
- }
5784
- return this.executeRequest(config);
5831
+ return this.executeRequest(config, params, pathParams);
5785
5832
  };
5786
5833
  const proxy = createServiceProxy("items", boundExecuteRequest, endpoints6);
5787
5834
  const dataProxy = createDataProxy(proxy);
@@ -6247,13 +6294,7 @@ var LegacyClient = class extends BaseServiceClient {
6247
6294
  constructor(http, baseUrl = "https://legacy.augur-api.com") {
6248
6295
  super("legacy", http, baseUrl);
6249
6296
  const boundExecuteRequest = (config, params, pathParams) => {
6250
- if (pathParams !== void 0) {
6251
- return this.executeRequest(config, params, pathParams);
6252
- }
6253
- if (params !== void 0 || config.paramsSchema !== void 0) {
6254
- return this.executeRequest(config, params);
6255
- }
6256
- return this.executeRequest(config);
6297
+ return this.executeRequest(config, params, pathParams);
6257
6298
  };
6258
6299
  const proxy = createServiceProxy("legacy", boundExecuteRequest, endpoints7);
6259
6300
  const dataProxy = createDataProxy(proxy);
@@ -6891,13 +6932,7 @@ var NexusClient = class extends BaseServiceClient {
6891
6932
  constructor(http, baseUrl = "https://nexus.augur-api.com") {
6892
6933
  super("nexus", http, baseUrl);
6893
6934
  const boundExecuteRequest = (config, params, pathParams) => {
6894
- if (pathParams !== void 0) {
6895
- return this.executeRequest(config, params, pathParams);
6896
- }
6897
- if (params !== void 0 || config.paramsSchema !== void 0) {
6898
- return this.executeRequest(config, params);
6899
- }
6900
- return this.executeRequest(config);
6935
+ return this.executeRequest(config, params, pathParams);
6901
6936
  };
6902
6937
  const proxy = createServiceProxy("nexus", boundExecuteRequest, endpoints8);
6903
6938
  const dataProxy = createDataProxy(proxy);
@@ -6918,6 +6953,9 @@ var NexusClient = class extends BaseServiceClient {
6918
6953
  this.healthCheckData = createHealthCheckDataResource8(this.healthCheck);
6919
6954
  this.pingData = createPingDataResource5(this.ping);
6920
6955
  }
6956
+ getServiceDescription() {
6957
+ return "Warehouse operations for bin transfers, receiving, and inter-location inventory movements from P21";
6958
+ }
6921
6959
  };
6922
6960
 
6923
6961
  // src/services/agr-site/generated/schemas.ts
@@ -7691,13 +7729,7 @@ var AgrSiteClient = class extends BaseServiceClient {
7691
7729
  constructor(http, baseUrl = "https://agr-site.augur-api.com") {
7692
7730
  super("agr-site", http, baseUrl);
7693
7731
  const boundExecuteRequest = (config, params, pathParams) => {
7694
- if (pathParams !== void 0) {
7695
- return this.executeRequest(config, params, pathParams);
7696
- }
7697
- if (params !== void 0 || config.paramsSchema !== void 0) {
7698
- return this.executeRequest(config, params);
7699
- }
7700
- return this.executeRequest(config);
7732
+ return this.executeRequest(config, params, pathParams);
7701
7733
  };
7702
7734
  const proxy = createServiceProxy("agr-site", boundExecuteRequest, endpoints9);
7703
7735
  const dataProxy = createDataProxy(proxy);
@@ -7762,6 +7794,7 @@ var CustomerAddressListParamsSchema = v17.looseObject({
7762
7794
  });
7763
7795
  var CustomerAddressesListParamsSchema = v17.looseObject({
7764
7796
  ...EdgeCacheParamsSchema.entries,
7797
+ emailAddress: v17.optional(v17.string()),
7765
7798
  limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7766
7799
  offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7767
7800
  orderBy: v17.optional(v17.string()),
@@ -7788,6 +7821,9 @@ var CustomerOrdersListParamsSchema = v17.looseObject({
7788
7821
  ...EdgeCacheParamsSchema.entries,
7789
7822
  cancelFlag: v17.optional(v17.string()),
7790
7823
  contactId: v17.optional(v17.string()),
7824
+ createdFrom: v17.optional(v17.string()),
7825
+ createdOn: v17.optional(v17.string()),
7826
+ createdTo: v17.optional(v17.string()),
7791
7827
  deleteFlag: v17.optional(v17.string()),
7792
7828
  fullDocument: v17.optional(v17.string()),
7793
7829
  limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
@@ -7803,6 +7839,18 @@ var CustomerPurchasedItemsListParamsSchema = v17.looseObject({
7803
7839
  });
7804
7840
  var CustomerQuotesListParamsSchema = v17.looseObject({
7805
7841
  ...EdgeCacheParamsSchema.entries,
7842
+ createdFrom: v17.optional(v17.string()),
7843
+ createdOn: v17.optional(v17.string()),
7844
+ createdTo: v17.optional(v17.string()),
7845
+ limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7846
+ offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7847
+ orderBy: v17.optional(v17.string())
7848
+ });
7849
+ var CustomerRmasListParamsSchema = v17.looseObject({
7850
+ ...EdgeCacheParamsSchema.entries,
7851
+ createdFrom: v17.optional(v17.string()),
7852
+ createdOn: v17.optional(v17.string()),
7853
+ createdTo: v17.optional(v17.string()),
7806
7854
  limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7807
7855
  offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7808
7856
  orderBy: v17.optional(v17.string())
@@ -7834,7 +7882,11 @@ var CustomerAddressesDataSchema = v17.looseObject({
7834
7882
  statusCd: v17.optional(v17.number()),
7835
7883
  processCd: v17.optional(v17.number()),
7836
7884
  dateCreated: v17.optional(v17.string()),
7837
- dateLastModified: v17.optional(v17.string())
7885
+ dateLastModified: v17.optional(v17.string()),
7886
+ emailAddress: v17.optional(v17.nullable(v17.string())),
7887
+ name: v17.optional(v17.nullable(v17.string())),
7888
+ phoneNumberMain: v17.optional(v17.nullable(v17.string())),
7889
+ phoneNumberMobile: v17.optional(v17.nullable(v17.string()))
7838
7890
  });
7839
7891
  var CustomerTagsDataSchema = v17.looseObject({
7840
7892
  customerTagsUid: v17.optional(v17.number()),
@@ -7953,7 +8005,7 @@ var endpoints10 = [
7953
8005
  action: "list",
7954
8006
  aliases: [],
7955
8007
  pathParams: ["customerId"],
7956
- queryParams: ["limit", "offset", "orderBy", "statusCd"],
8008
+ queryParams: ["emailAddress", "limit", "offset", "orderBy", "statusCd"],
7957
8009
  edgeCache: true,
7958
8010
  responseSchema: CustomerAddressesDataSchema,
7959
8011
  responseType: "array"
@@ -8085,6 +8137,9 @@ var endpoints10 = [
8085
8137
  queryParams: [
8086
8138
  "cancelFlag",
8087
8139
  "contactId",
8140
+ "createdFrom",
8141
+ "createdOn",
8142
+ "createdTo",
8088
8143
  "deleteFlag",
8089
8144
  "fullDocument",
8090
8145
  "limit",
@@ -8127,7 +8182,7 @@ var endpoints10 = [
8127
8182
  action: "list",
8128
8183
  aliases: [],
8129
8184
  pathParams: ["customerId"],
8130
- queryParams: ["limit", "offset", "orderBy"],
8185
+ queryParams: ["createdFrom", "createdOn", "createdTo", "limit", "offset", "orderBy"],
8131
8186
  edgeCache: true,
8132
8187
  responseSchema: PassthroughDataSchema10,
8133
8188
  responseType: "passthrough"
@@ -8144,6 +8199,30 @@ var endpoints10 = [
8144
8199
  responseSchema: PassthroughDataSchema10,
8145
8200
  responseType: "passthrough"
8146
8201
  },
8202
+ {
8203
+ method: "GET",
8204
+ path: "/customer/{customerId}/rmas",
8205
+ chain: "customer.rmas",
8206
+ action: "list",
8207
+ aliases: [],
8208
+ pathParams: ["customerId"],
8209
+ queryParams: ["createdFrom", "createdOn", "createdTo", "limit", "offset", "orderBy"],
8210
+ edgeCache: true,
8211
+ responseSchema: PassthroughDataSchema10,
8212
+ responseType: "passthrough"
8213
+ },
8214
+ {
8215
+ method: "GET",
8216
+ path: "/customer/{customerId}/rmas/{rmaNo}",
8217
+ chain: "customer.rmas",
8218
+ action: "get",
8219
+ aliases: [],
8220
+ pathParams: ["customerId", "rmaNo"],
8221
+ queryParams: [],
8222
+ edgeCache: true,
8223
+ responseSchema: PassthroughDataSchema10,
8224
+ responseType: "passthrough"
8225
+ },
8147
8226
  {
8148
8227
  method: "GET",
8149
8228
  path: "/customer/{customerId}/ship-to",
@@ -8291,13 +8370,7 @@ var CustomersClient = class extends BaseServiceClient {
8291
8370
  constructor(http, baseUrl = "https://customers.augur-api.com") {
8292
8371
  super("customers", http, baseUrl);
8293
8372
  const boundExecuteRequest = (config, params, pathParams) => {
8294
- if (pathParams !== void 0) {
8295
- return this.executeRequest(config, params, pathParams);
8296
- }
8297
- if (params !== void 0 || config.paramsSchema !== void 0) {
8298
- return this.executeRequest(config, params);
8299
- }
8300
- return this.executeRequest(config);
8373
+ return this.executeRequest(config, params, pathParams);
8301
8374
  };
8302
8375
  const proxy = createServiceProxy(
8303
8376
  "customers",
@@ -8637,13 +8710,7 @@ var OrdersClient = class extends BaseServiceClient {
8637
8710
  constructor(http, baseUrl = "https://orders.augur-api.com") {
8638
8711
  super("orders", http, baseUrl);
8639
8712
  const boundExecuteRequest = (config, params, pathParams) => {
8640
- if (pathParams !== void 0) {
8641
- return this.executeRequest(config, params, pathParams);
8642
- }
8643
- if (params !== void 0 || config.paramsSchema !== void 0) {
8644
- return this.executeRequest(config, params);
8645
- }
8646
- return this.executeRequest(config);
8713
+ return this.executeRequest(config, params, pathParams);
8647
8714
  };
8648
8715
  const proxy = createServiceProxy("orders", boundExecuteRequest, endpoints11);
8649
8716
  const dataProxy = createDataProxy(proxy);
@@ -8898,13 +8965,7 @@ var P21PimClient = class extends BaseServiceClient {
8898
8965
  constructor(http, baseUrl = "https://p21-pim.augur-api.com") {
8899
8966
  super("p21-pim", http, baseUrl);
8900
8967
  const boundExecuteRequest = (config, params, pathParams) => {
8901
- if (pathParams !== void 0) {
8902
- return this.executeRequest(config, params, pathParams);
8903
- }
8904
- if (params !== void 0 || config.paramsSchema !== void 0) {
8905
- return this.executeRequest(config, params);
8906
- }
8907
- return this.executeRequest(config);
8968
+ return this.executeRequest(config, params, pathParams);
8908
8969
  };
8909
8970
  const proxy = createServiceProxy("p21-pim", boundExecuteRequest, endpoints12);
8910
8971
  const dataProxy = createDataProxy(proxy);
@@ -9258,13 +9319,7 @@ var PaymentsClient = class extends BaseServiceClient {
9258
9319
  constructor(http, baseUrl = "https://payments.augur-api.com") {
9259
9320
  super("payments", http, baseUrl);
9260
9321
  const boundExecuteRequest = (config, params, pathParams) => {
9261
- if (pathParams !== void 0) {
9262
- return this.executeRequest(config, params, pathParams);
9263
- }
9264
- if (params !== void 0 || config.paramsSchema !== void 0) {
9265
- return this.executeRequest(config, params);
9266
- }
9267
- return this.executeRequest(config);
9322
+ return this.executeRequest(config, params, pathParams);
9268
9323
  };
9269
9324
  const proxy = createServiceProxy(
9270
9325
  "payments",
@@ -9285,6 +9340,9 @@ var PaymentsClient = class extends BaseServiceClient {
9285
9340
  this.healthCheckData = createHealthCheckDataResource13(this.healthCheck);
9286
9341
  this.pingData = createPingDataResource7(this.ping);
9287
9342
  }
9343
+ getServiceDescription() {
9344
+ return "Unified payment processing gateway supporting Moneris, PayTrace, and Element card transactions";
9345
+ }
9288
9346
  };
9289
9347
 
9290
9348
  // src/services/agr-info/generated/schemas.ts
@@ -9637,13 +9695,7 @@ var AgrInfoClient = class extends BaseServiceClient {
9637
9695
  constructor(http, baseUrl = "https://agr-info.augur-api.com") {
9638
9696
  super("agr-info", http, baseUrl);
9639
9697
  const boundExecuteRequest = (config, params, pathParams) => {
9640
- if (pathParams !== void 0) {
9641
- return this.executeRequest(config, params, pathParams);
9642
- }
9643
- if (params !== void 0 || config.paramsSchema !== void 0) {
9644
- return this.executeRequest(config, params);
9645
- }
9646
- return this.executeRequest(config);
9698
+ return this.executeRequest(config, params, pathParams);
9647
9699
  };
9648
9700
  const proxy = createServiceProxy("agr-info", boundExecuteRequest, endpoints14);
9649
9701
  const dataProxy = createDataProxy(proxy);
@@ -9830,13 +9882,7 @@ var AgrWorkClient = class extends BaseServiceClient {
9830
9882
  constructor(http, baseUrl = "https://agr-work.augur-api.com") {
9831
9883
  super("agr-work", http, baseUrl);
9832
9884
  const boundExecuteRequest = (config, params, pathParams) => {
9833
- if (pathParams !== void 0) {
9834
- return this.executeRequest(config, params, pathParams);
9835
- }
9836
- if (params !== void 0 || config.paramsSchema !== void 0) {
9837
- return this.executeRequest(config, params);
9838
- }
9839
- return this.executeRequest(config);
9885
+ return this.executeRequest(config, params, pathParams);
9840
9886
  };
9841
9887
  this.healthCheck = createHealthCheckResource15(boundExecuteRequest);
9842
9888
  this.ping = createPingResource9(boundExecuteRequest);
@@ -9931,13 +9977,7 @@ var AvalaraClient = class extends BaseServiceClient {
9931
9977
  constructor(http, baseUrl = "https://avalara.augur-api.com") {
9932
9978
  super("avalara", http, baseUrl);
9933
9979
  const boundExecuteRequest = (config, params, pathParams) => {
9934
- if (pathParams !== void 0) {
9935
- return this.executeRequest(config, params, pathParams);
9936
- }
9937
- if (params !== void 0 || config.paramsSchema !== void 0) {
9938
- return this.executeRequest(config, params);
9939
- }
9940
- return this.executeRequest(config);
9980
+ return this.executeRequest(config, params, pathParams);
9941
9981
  };
9942
9982
  const proxy = createServiceProxy("avalara", boundExecuteRequest, endpoints15);
9943
9983
  const dataProxy = createDataProxy(proxy);
@@ -10034,13 +10074,7 @@ var BrandFolderClient = class extends BaseServiceClient {
10034
10074
  constructor(http, baseUrl = "https://brand-folder.augur-api.com") {
10035
10075
  super("brand-folder", http, baseUrl);
10036
10076
  const boundExecuteRequest = (config, params, pathParams) => {
10037
- if (pathParams !== void 0) {
10038
- return this.executeRequest(config, params, pathParams);
10039
- }
10040
- if (params !== void 0 || config.paramsSchema !== void 0) {
10041
- return this.executeRequest(config, params);
10042
- }
10043
- return this.executeRequest(config);
10077
+ return this.executeRequest(config, params, pathParams);
10044
10078
  };
10045
10079
  const proxy = createServiceProxy(
10046
10080
  "brand-folder",
@@ -10172,13 +10206,7 @@ var GregorovichClient = class extends BaseServiceClient {
10172
10206
  constructor(http, baseUrl = "https://gregorovich.augur-api.com") {
10173
10207
  super("gregorovich", http, baseUrl);
10174
10208
  const boundExecuteRequest = (config, params, pathParams) => {
10175
- if (pathParams !== void 0) {
10176
- return this.executeRequest(config, params, pathParams);
10177
- }
10178
- if (params !== void 0 || config.paramsSchema !== void 0) {
10179
- return this.executeRequest(config, params);
10180
- }
10181
- return this.executeRequest(config);
10209
+ return this.executeRequest(config, params, pathParams);
10182
10210
  };
10183
10211
  const proxy = createServiceProxy(
10184
10212
  "gregorovich",
@@ -10699,13 +10727,7 @@ var LogisticsClient = class extends BaseServiceClient {
10699
10727
  constructor(http, baseUrl = "https://logistics.augur-api.com") {
10700
10728
  super("logistics", http, baseUrl);
10701
10729
  const boundExecuteRequest = (config, params, pathParams) => {
10702
- if (pathParams !== void 0) {
10703
- return this.executeRequest(config, params, pathParams);
10704
- }
10705
- if (params !== void 0 || config.paramsSchema !== void 0) {
10706
- return this.executeRequest(config, params);
10707
- }
10708
- return this.executeRequest(config);
10730
+ return this.executeRequest(config, params, pathParams);
10709
10731
  };
10710
10732
  const proxy = createServiceProxy(
10711
10733
  "logistics",
@@ -11097,13 +11119,7 @@ var P21ApisClient = class extends BaseServiceClient {
11097
11119
  constructor(http, baseUrl = "https://p21-apis.augur-api.com") {
11098
11120
  super("p21-apis", http, baseUrl);
11099
11121
  const boundExecuteRequest = (config, params, pathParams) => {
11100
- if (pathParams !== void 0) {
11101
- return this.executeRequest(config, params, pathParams);
11102
- }
11103
- if (params !== void 0 || config.paramsSchema !== void 0) {
11104
- return this.executeRequest(config, params);
11105
- }
11106
- return this.executeRequest(config);
11122
+ return this.executeRequest(config, params, pathParams);
11107
11123
  };
11108
11124
  const proxy = createServiceProxy("p21-apis", boundExecuteRequest, endpoints19);
11109
11125
  const dataProxy = createDataProxy(proxy);
@@ -11124,6 +11140,9 @@ var P21ApisClient = class extends BaseServiceClient {
11124
11140
  this.healthCheck = createHealthCheckResource20(boundExecuteRequest);
11125
11141
  this.healthCheckData = createHealthCheckDataResource20(this.healthCheck);
11126
11142
  }
11143
+ getServiceDescription() {
11144
+ return "Prophet 21 REST API abstraction for normalized CRUD operations on ERP entities";
11145
+ }
11127
11146
  };
11128
11147
 
11129
11148
  // src/services/p21-core/generated/schemas.ts
@@ -11504,13 +11523,7 @@ var P21CoreClient = class extends BaseServiceClient {
11504
11523
  constructor(http, baseUrl = "https://p21-core.augur-api.com") {
11505
11524
  super("p21-core", http, baseUrl);
11506
11525
  const boundExecuteRequest = (config, params, pathParams) => {
11507
- if (pathParams !== void 0) {
11508
- return this.executeRequest(config, params, pathParams);
11509
- }
11510
- if (params !== void 0 || config.paramsSchema !== void 0) {
11511
- return this.executeRequest(config, params);
11512
- }
11513
- return this.executeRequest(config);
11526
+ return this.executeRequest(config, params, pathParams);
11514
11527
  };
11515
11528
  const proxy = createServiceProxy("p21-core", boundExecuteRequest, endpoints20);
11516
11529
  const dataProxy = createDataProxy(proxy);
@@ -11842,13 +11855,7 @@ var P21SismClient = class extends BaseServiceClient {
11842
11855
  constructor(http, baseUrl = "https://p21-sism.augur-api.com") {
11843
11856
  super("p21-sism", http, baseUrl);
11844
11857
  const boundExecuteRequest = (config, params, pathParams) => {
11845
- if (pathParams !== void 0) {
11846
- return this.executeRequest(config, params, pathParams);
11847
- }
11848
- if (params !== void 0 || config.paramsSchema !== void 0) {
11849
- return this.executeRequest(config, params);
11850
- }
11851
- return this.executeRequest(config);
11858
+ return this.executeRequest(config, params, pathParams);
11852
11859
  };
11853
11860
  const proxy = createServiceProxy("p21-sism", boundExecuteRequest, endpoints21);
11854
11861
  const dataProxy = createDataProxy(proxy);
@@ -11954,13 +11961,7 @@ var ShippingClient = class extends BaseServiceClient {
11954
11961
  constructor(http, baseUrl = "https://shipping.augur-api.com") {
11955
11962
  super("shipping", http, baseUrl);
11956
11963
  const boundExecuteRequest = (config, params, pathParams) => {
11957
- if (pathParams !== void 0) {
11958
- return this.executeRequest(config, params, pathParams);
11959
- }
11960
- if (params !== void 0 || config.paramsSchema !== void 0) {
11961
- return this.executeRequest(config, params);
11962
- }
11963
- return this.executeRequest(config);
11964
+ return this.executeRequest(config, params, pathParams);
11964
11965
  };
11965
11966
  const proxy = createServiceProxy(
11966
11967
  "shipping",
@@ -12089,13 +12090,7 @@ var SlackClient = class extends BaseServiceClient {
12089
12090
  constructor(http, baseUrl = "https://slack.augur-api.com") {
12090
12091
  super("slack", http, baseUrl);
12091
12092
  const boundExecuteRequest = (config, params, pathParams) => {
12092
- if (pathParams !== void 0) {
12093
- return this.executeRequest(config, params, pathParams);
12094
- }
12095
- if (params !== void 0 || config.paramsSchema !== void 0) {
12096
- return this.executeRequest(config, params);
12097
- }
12098
- return this.executeRequest(config);
12093
+ return this.executeRequest(config, params, pathParams);
12099
12094
  };
12100
12095
  const proxy = createServiceProxy("slack", boundExecuteRequest, endpoints23);
12101
12096
  const dataProxy = createDataProxy(proxy);
@@ -12295,13 +12290,7 @@ var SmartyStreetsClient = class extends BaseServiceClient {
12295
12290
  constructor(http, baseUrl = "https://smarty-streets.augur-api.com") {
12296
12291
  super("smarty-streets", http, baseUrl);
12297
12292
  const boundExecuteRequest = (config, params, pathParams) => {
12298
- if (pathParams !== void 0) {
12299
- return this.executeRequest(config, params, pathParams);
12300
- }
12301
- if (params !== void 0 || config.paramsSchema !== void 0) {
12302
- return this.executeRequest(config, params);
12303
- }
12304
- return this.executeRequest(config);
12293
+ return this.executeRequest(config, params, pathParams);
12305
12294
  };
12306
12295
  const proxy = createServiceProxy(
12307
12296
  "smarty-streets",
@@ -12467,13 +12456,7 @@ var UPSClient = class extends BaseServiceClient {
12467
12456
  constructor(http, baseUrl = "https://ups.augur-api.com") {
12468
12457
  super("ups", http, baseUrl);
12469
12458
  const boundExecuteRequest = (config, params, pathParams) => {
12470
- if (pathParams !== void 0) {
12471
- return this.executeRequest(config, params, pathParams);
12472
- }
12473
- if (params !== void 0 || config.paramsSchema !== void 0) {
12474
- return this.executeRequest(config, params);
12475
- }
12476
- return this.executeRequest(config);
12459
+ return this.executeRequest(config, params, pathParams);
12477
12460
  };
12478
12461
  const proxy = createServiceProxy("ups", boundExecuteRequest, endpoints25);
12479
12462
  const dataProxy = createDataProxy(proxy);
@@ -13281,13 +13264,7 @@ var Basecamp2Client = class extends BaseServiceClient {
13281
13264
  constructor(http, baseUrl = "https://basecamp2.augur-api.com") {
13282
13265
  super("basecamp2", http, baseUrl);
13283
13266
  const boundExecuteRequest = (config, params, pathParams) => {
13284
- if (pathParams !== void 0) {
13285
- return this.executeRequest(config, params, pathParams);
13286
- }
13287
- if (params !== void 0 || config.paramsSchema !== void 0) {
13288
- return this.executeRequest(config, params);
13289
- }
13290
- return this.executeRequest(config);
13267
+ return this.executeRequest(config, params, pathParams);
13291
13268
  };
13292
13269
  const proxy = createServiceProxy(
13293
13270
  "basecamp2",
@@ -13314,6 +13291,9 @@ var Basecamp2Client = class extends BaseServiceClient {
13314
13291
  this.healthCheck = createHealthCheckResource27(boundExecuteRequest);
13315
13292
  this.healthCheckData = createHealthCheckDataResource27(this.healthCheck);
13316
13293
  }
13294
+ getServiceDescription() {
13295
+ return "Basecamp project management integration syncing todos, projects, people, and conversation data with AI analytics";
13296
+ }
13317
13297
  };
13318
13298
 
13319
13299
  // src/client.ts
@@ -14201,7 +14181,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
14201
14181
  }
14202
14182
 
14203
14183
  // src/index.ts
14204
- var VERSION = "2026.5.5";
14184
+ var VERSION = "2026.6.1";
14205
14185
  export {
14206
14186
  AgrInfoClient,
14207
14187
  AgrSiteClient,
@@ -14218,6 +14198,7 @@ export {
14218
14198
  CustomersClient,
14219
14199
  GregorovichClient,
14220
14200
  HealthCheckDataSchema,
14201
+ InvalidArgumentError,
14221
14202
  ItemsClient,
14222
14203
  JoomlaClient,
14223
14204
  LegacyClient,