@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.js CHANGED
@@ -45,6 +45,7 @@ __export(index_exports, {
45
45
  CustomersClient: () => CustomersClient,
46
46
  GregorovichClient: () => GregorovichClient,
47
47
  HealthCheckDataSchema: () => HealthCheckDataSchema,
48
+ InvalidArgumentError: () => InvalidArgumentError,
48
49
  ItemsClient: () => ItemsClient,
49
50
  JoomlaClient: () => JoomlaClient,
50
51
  LegacyClient: () => LegacyClient,
@@ -184,6 +185,15 @@ var RateLimitError = class extends AugurError {
184
185
  });
185
186
  }
186
187
  };
188
+ var InvalidArgumentError = class extends AugurError {
189
+ constructor(params) {
190
+ super({
191
+ ...params,
192
+ code: "INVALID_ARGUMENT",
193
+ statusCode: 400
194
+ });
195
+ }
196
+ };
187
197
 
188
198
  // src/core/client.ts
189
199
  function generateRequestKey(method, url, params) {
@@ -506,6 +516,39 @@ var HTTPClient = class {
506
516
  }
507
517
  };
508
518
 
519
+ // src/core/path-validation.ts
520
+ var normalise = (name) => name.replace(/[-_]/g, "").toLowerCase();
521
+ var NUMERIC_EXACT = /* @__PURE__ */ new Set(["id", "linenumber"]);
522
+ var NUMERIC_SUFFIX_RE = /(?:id|uid|no|num|number)$/;
523
+ var STRING_OVERRIDES = /* @__PURE__ */ new Set(["siteid", "pono", "importuid", "scheduledimportmasteruid"]);
524
+ var isNumericPlaceholder = (placeholder) => {
525
+ const normalised = normalise(placeholder);
526
+ if (STRING_OVERRIDES.has(normalised)) return false;
527
+ if (NUMERIC_EXACT.has(normalised)) return true;
528
+ return NUMERIC_SUFFIX_RE.test(normalised);
529
+ };
530
+ var INTEGER_RE = /^-?\d+$/;
531
+ var validatePathSegment = (pathTemplate, placeholder, value) => {
532
+ const isNumeric = isNumericPlaceholder(placeholder);
533
+ if (isNumeric) {
534
+ if (!INTEGER_RE.test(value)) {
535
+ throw new InvalidArgumentError({
536
+ message: `Invalid path parameter '${placeholder}': expected an integer, received ${JSON.stringify(value)}`,
537
+ service: "http-client",
538
+ endpoint: pathTemplate
539
+ });
540
+ }
541
+ return;
542
+ }
543
+ if (value === "") {
544
+ throw new InvalidArgumentError({
545
+ message: `Invalid path parameter '${placeholder}': expected a non-empty string, received ${JSON.stringify(value)}`,
546
+ service: "http-client",
547
+ endpoint: pathTemplate
548
+ });
549
+ }
550
+ };
551
+
509
552
  // src/core/schemas.ts
510
553
  var v = __toESM(require("valibot"));
511
554
  var logNormalizationWarning = (message) => {
@@ -1053,16 +1096,19 @@ Provided parameters: ${JSON.stringify(params, null, 2)}`;
1053
1096
  if (!pathParams) {
1054
1097
  return pathTemplate;
1055
1098
  }
1056
- const normalise = (s) => s.replace(/[-_]/g, "").toLowerCase();
1099
+ const normalise2 = (s) => s.replace(/[-_]/g, "").toLowerCase();
1057
1100
  let path = pathTemplate;
1058
1101
  for (const [key, value] of Object.entries(pathParams)) {
1102
+ const stringValue = String(value);
1059
1103
  if (path.includes(`{${key}}`)) {
1060
- path = path.replace(`{${key}}`, String(value));
1104
+ validatePathSegment(pathTemplate, key, stringValue);
1105
+ path = path.replace(`{${key}}`, stringValue);
1061
1106
  } else {
1062
- const normKey = normalise(key);
1107
+ const normKey = normalise2(key);
1063
1108
  path = path.replace(/\{([^}]+)\}/g, (match, placeholder) => {
1064
- if (normalise(placeholder) === normKey) {
1065
- return String(value);
1109
+ if (normalise2(placeholder) === normKey) {
1110
+ validatePathSegment(pathTemplate, placeholder, stringValue);
1111
+ return stringValue;
1066
1112
  }
1067
1113
  return match;
1068
1114
  });
@@ -1828,13 +1874,7 @@ var JoomlaClient = class extends BaseServiceClient {
1828
1874
  constructor(http, baseUrl = "https://joomla.augur-api.com") {
1829
1875
  super("joomla", http, baseUrl);
1830
1876
  const boundExecuteRequest = (config, params, pathParams) => {
1831
- if (pathParams !== void 0) {
1832
- return this.executeRequest(config, params, pathParams);
1833
- }
1834
- if (params !== void 0 || config.paramsSchema !== void 0) {
1835
- return this.executeRequest(config, params);
1836
- }
1837
- return this.executeRequest(config);
1877
+ return this.executeRequest(config, params, pathParams);
1838
1878
  };
1839
1879
  const proxy = createServiceProxy("joomla", boundExecuteRequest, endpoints);
1840
1880
  const dataProxy = createDataProxy(proxy);
@@ -2105,13 +2145,7 @@ var CommerceClient = class extends BaseServiceClient {
2105
2145
  constructor(http, baseUrl = "https://commerce.augur-api.com") {
2106
2146
  super("commerce", http, baseUrl);
2107
2147
  const boundExecuteRequest = (config, params, pathParams) => {
2108
- if (pathParams !== void 0) {
2109
- return this.executeRequest(config, params, pathParams);
2110
- }
2111
- if (params !== void 0 || config.paramsSchema !== void 0) {
2112
- return this.executeRequest(config, params);
2113
- }
2114
- return this.executeRequest(config);
2148
+ return this.executeRequest(config, params, pathParams);
2115
2149
  };
2116
2150
  const proxy = createServiceProxy(
2117
2151
  "commerce",
@@ -2128,6 +2162,9 @@ var CommerceClient = class extends BaseServiceClient {
2128
2162
  this.healthCheck = createHealthCheckResource2(boundExecuteRequest);
2129
2163
  this.healthCheckData = createHealthCheckDataResource2(this.healthCheck);
2130
2164
  }
2165
+ getServiceDescription() {
2166
+ return "Shopping cart and checkout engine managing cart state, checkout flow, and Prophet 21 order submission";
2167
+ }
2131
2168
  };
2132
2169
 
2133
2170
  // src/services/pricing/generated/schemas.ts
@@ -2557,13 +2594,7 @@ var PricingClient = class extends BaseServiceClient {
2557
2594
  constructor(http, baseUrl = "https://pricing.augur-api.com") {
2558
2595
  super("pricing", http, baseUrl);
2559
2596
  const boundExecuteRequest = (config, params, pathParams) => {
2560
- if (pathParams !== void 0) {
2561
- return this.executeRequest(config, params, pathParams);
2562
- }
2563
- if (params !== void 0 || config.paramsSchema !== void 0) {
2564
- return this.executeRequest(config, params);
2565
- }
2566
- return this.executeRequest(config);
2597
+ return this.executeRequest(config, params, pathParams);
2567
2598
  };
2568
2599
  const proxy = createServiceProxy("pricing", boundExecuteRequest, endpoints3);
2569
2600
  const dataProxy = createDataProxy(proxy);
@@ -3478,13 +3509,7 @@ var VMIClient = class extends BaseServiceClient {
3478
3509
  constructor(http, baseUrl = "https://vmi.augur-api.com") {
3479
3510
  super("vmi", http, baseUrl);
3480
3511
  const boundExecuteRequest = (config, params, pathParams) => {
3481
- if (pathParams !== void 0) {
3482
- return this.executeRequest(config, params, pathParams);
3483
- }
3484
- if (params !== void 0 || config.paramsSchema !== void 0) {
3485
- return this.executeRequest(config, params);
3486
- }
3487
- return this.executeRequest(config);
3512
+ return this.executeRequest(config, params, pathParams);
3488
3513
  };
3489
3514
  const proxy = createServiceProxy("vmi", boundExecuteRequest, endpoints4);
3490
3515
  const dataProxy = createDataProxy(proxy);
@@ -3505,6 +3530,9 @@ var VMIClient = class extends BaseServiceClient {
3505
3530
  this.healthCheckData = createHealthCheckDataResource4(this.healthCheck);
3506
3531
  this.pingData = createPingDataResource2(this.ping);
3507
3532
  }
3533
+ getServiceDescription() {
3534
+ return "Vendor-managed inventory for distributor profiles, warehouse stock levels, restocking, and usage tracking";
3535
+ }
3508
3536
  };
3509
3537
 
3510
3538
  // src/services/open-search/generated/schemas.ts
@@ -3894,13 +3922,7 @@ var OpenSearchClient = class extends BaseServiceClient {
3894
3922
  constructor(http, baseUrl = "https://open-search.augur-api.com") {
3895
3923
  super("open-search", http, baseUrl);
3896
3924
  const boundExecuteRequest = (config, params, pathParams) => {
3897
- if (pathParams !== void 0) {
3898
- return this.executeRequest(config, params, pathParams);
3899
- }
3900
- if (params !== void 0 || config.paramsSchema !== void 0) {
3901
- return this.executeRequest(config, params);
3902
- }
3903
- return this.executeRequest(config);
3925
+ return this.executeRequest(config, params, pathParams);
3904
3926
  };
3905
3927
  const proxy = createServiceProxy(
3906
3928
  "open-search",
@@ -3952,6 +3974,17 @@ var AttributesListParamsSchema = v11.looseObject({
3952
3974
  q: v11.optional(v11.string()),
3953
3975
  statusCd: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number)))
3954
3976
  });
3977
+ var AttributesItemsListParamsSchema = v11.looseObject({
3978
+ ...EdgeCacheParamsSchema.entries,
3979
+ attributeValueUid: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
3980
+ excludeValues: v11.optional(v11.string()),
3981
+ includeValues: v11.optional(v11.string()),
3982
+ limit: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
3983
+ offset: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
3984
+ orderBy: v11.optional(v11.string()),
3985
+ q: v11.optional(v11.string()),
3986
+ statusCd: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number)))
3987
+ });
3955
3988
  var AttributesValuesListParamsSchema = v11.looseObject({
3956
3989
  ...EdgeCacheParamsSchema.entries,
3957
3990
  limit: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
@@ -4274,6 +4307,21 @@ var AttributesDataSchema = v11.looseObject({
4274
4307
  statusCd: v11.optional(v11.number()),
4275
4308
  typeCd: v11.optional(v11.number())
4276
4309
  });
4310
+ var AttributesItemsDataSchema = v11.looseObject({
4311
+ itemAttributeValueUid: v11.optional(v11.number()),
4312
+ invMastUid: v11.optional(v11.number()),
4313
+ attributeUid: v11.optional(v11.number()),
4314
+ attributeValue: v11.optional(v11.nullable(v11.string())),
4315
+ dateCreated: v11.optional(v11.string()),
4316
+ createdBy: v11.optional(v11.string()),
4317
+ dateLastModified: v11.optional(v11.string()),
4318
+ lastMaintainedBy: v11.optional(v11.string()),
4319
+ updateCd: v11.optional(v11.number()),
4320
+ processCd: v11.optional(v11.number()),
4321
+ statusCd: v11.optional(v11.number()),
4322
+ attributeValueUid: v11.optional(v11.number()),
4323
+ onlineCd: v11.optional(v11.number())
4324
+ });
4277
4325
  var AttributesValuesDataSchema = v11.looseObject({
4278
4326
  attributeValueUid: v11.optional(v11.number()),
4279
4327
  attributeUid: v11.optional(v11.number()),
@@ -4366,21 +4414,6 @@ var InvLocDataSchema = v11.looseObject({
4366
4414
  purchaseDiscountGroup: v11.optional(v11.nullable(v11.string())),
4367
4415
  salesDiscountGroup: v11.optional(v11.nullable(v11.string()))
4368
4416
  });
4369
- var InvMastAttributesDataSchema = v11.looseObject({
4370
- itemAttributeValueUid: v11.optional(v11.number()),
4371
- invMastUid: v11.optional(v11.number()),
4372
- attributeUid: v11.optional(v11.number()),
4373
- attributeValue: v11.optional(v11.nullable(v11.string())),
4374
- dateCreated: v11.optional(v11.string()),
4375
- createdBy: v11.optional(v11.string()),
4376
- dateLastModified: v11.optional(v11.string()),
4377
- lastMaintainedBy: v11.optional(v11.string()),
4378
- updateCd: v11.optional(v11.number()),
4379
- processCd: v11.optional(v11.number()),
4380
- statusCd: v11.optional(v11.number()),
4381
- attributeValueUid: v11.optional(v11.number()),
4382
- onlineCd: v11.optional(v11.number())
4383
- });
4384
4417
  var InvMastFaqDataSchema = v11.looseObject({
4385
4418
  invMastFaqUid: v11.optional(v11.number()),
4386
4419
  invMastUid: v11.optional(v11.number()),
@@ -4614,6 +4647,27 @@ var endpoints6 = [
4614
4647
  responseSchema: PassthroughDataSchema6,
4615
4648
  responseType: "passthrough"
4616
4649
  },
4650
+ {
4651
+ method: "GET",
4652
+ path: "/attributes/{attributeUid}/items",
4653
+ chain: "attributes.items",
4654
+ action: "list",
4655
+ aliases: [],
4656
+ pathParams: ["attributeUid"],
4657
+ queryParams: [
4658
+ "attributeValueUid",
4659
+ "excludeValues",
4660
+ "includeValues",
4661
+ "limit",
4662
+ "offset",
4663
+ "orderBy",
4664
+ "q",
4665
+ "statusCd"
4666
+ ],
4667
+ edgeCache: true,
4668
+ responseSchema: AttributesItemsDataSchema,
4669
+ responseType: "array"
4670
+ },
4617
4671
  {
4618
4672
  method: "GET",
4619
4673
  path: "/attributes/{attributeUid}/values",
@@ -5083,7 +5137,7 @@ var endpoints6 = [
5083
5137
  pathParams: ["invMastUid"],
5084
5138
  queryParams: [],
5085
5139
  edgeCache: false,
5086
- responseSchema: InvMastAttributesDataSchema,
5140
+ responseSchema: AttributesItemsDataSchema,
5087
5141
  responseType: "object"
5088
5142
  },
5089
5143
  {
@@ -5107,7 +5161,7 @@ var endpoints6 = [
5107
5161
  pathParams: ["invMastUid", "attributeUid"],
5108
5162
  queryParams: [],
5109
5163
  edgeCache: false,
5110
- responseSchema: InvMastAttributesDataSchema,
5164
+ responseSchema: AttributesItemsDataSchema,
5111
5165
  responseType: "object"
5112
5166
  },
5113
5167
  {
@@ -5119,7 +5173,7 @@ var endpoints6 = [
5119
5173
  pathParams: ["invMastUid", "attributeUid", "attributeValueUid"],
5120
5174
  queryParams: [],
5121
5175
  edgeCache: false,
5122
- responseSchema: InvMastAttributesDataSchema,
5176
+ responseSchema: AttributesItemsDataSchema,
5123
5177
  responseType: "object"
5124
5178
  },
5125
5179
  {
@@ -5850,13 +5904,7 @@ var ItemsClient = class extends BaseServiceClient {
5850
5904
  constructor(http, baseUrl = "https://items.augur-api.com") {
5851
5905
  super("items", http, baseUrl);
5852
5906
  const boundExecuteRequest = (config, params, pathParams) => {
5853
- if (pathParams !== void 0) {
5854
- return this.executeRequest(config, params, pathParams);
5855
- }
5856
- if (params !== void 0 || config.paramsSchema !== void 0) {
5857
- return this.executeRequest(config, params);
5858
- }
5859
- return this.executeRequest(config);
5907
+ return this.executeRequest(config, params, pathParams);
5860
5908
  };
5861
5909
  const proxy = createServiceProxy("items", boundExecuteRequest, endpoints6);
5862
5910
  const dataProxy = createDataProxy(proxy);
@@ -6322,13 +6370,7 @@ var LegacyClient = class extends BaseServiceClient {
6322
6370
  constructor(http, baseUrl = "https://legacy.augur-api.com") {
6323
6371
  super("legacy", http, baseUrl);
6324
6372
  const boundExecuteRequest = (config, params, pathParams) => {
6325
- if (pathParams !== void 0) {
6326
- return this.executeRequest(config, params, pathParams);
6327
- }
6328
- if (params !== void 0 || config.paramsSchema !== void 0) {
6329
- return this.executeRequest(config, params);
6330
- }
6331
- return this.executeRequest(config);
6373
+ return this.executeRequest(config, params, pathParams);
6332
6374
  };
6333
6375
  const proxy = createServiceProxy("legacy", boundExecuteRequest, endpoints7);
6334
6376
  const dataProxy = createDataProxy(proxy);
@@ -6966,13 +7008,7 @@ var NexusClient = class extends BaseServiceClient {
6966
7008
  constructor(http, baseUrl = "https://nexus.augur-api.com") {
6967
7009
  super("nexus", http, baseUrl);
6968
7010
  const boundExecuteRequest = (config, params, pathParams) => {
6969
- if (pathParams !== void 0) {
6970
- return this.executeRequest(config, params, pathParams);
6971
- }
6972
- if (params !== void 0 || config.paramsSchema !== void 0) {
6973
- return this.executeRequest(config, params);
6974
- }
6975
- return this.executeRequest(config);
7011
+ return this.executeRequest(config, params, pathParams);
6976
7012
  };
6977
7013
  const proxy = createServiceProxy("nexus", boundExecuteRequest, endpoints8);
6978
7014
  const dataProxy = createDataProxy(proxy);
@@ -6993,6 +7029,9 @@ var NexusClient = class extends BaseServiceClient {
6993
7029
  this.healthCheckData = createHealthCheckDataResource8(this.healthCheck);
6994
7030
  this.pingData = createPingDataResource5(this.ping);
6995
7031
  }
7032
+ getServiceDescription() {
7033
+ return "Warehouse operations for bin transfers, receiving, and inter-location inventory movements from P21";
7034
+ }
6996
7035
  };
6997
7036
 
6998
7037
  // src/services/agr-site/generated/schemas.ts
@@ -7766,13 +7805,7 @@ var AgrSiteClient = class extends BaseServiceClient {
7766
7805
  constructor(http, baseUrl = "https://agr-site.augur-api.com") {
7767
7806
  super("agr-site", http, baseUrl);
7768
7807
  const boundExecuteRequest = (config, params, pathParams) => {
7769
- if (pathParams !== void 0) {
7770
- return this.executeRequest(config, params, pathParams);
7771
- }
7772
- if (params !== void 0 || config.paramsSchema !== void 0) {
7773
- return this.executeRequest(config, params);
7774
- }
7775
- return this.executeRequest(config);
7808
+ return this.executeRequest(config, params, pathParams);
7776
7809
  };
7777
7810
  const proxy = createServiceProxy("agr-site", boundExecuteRequest, endpoints9);
7778
7811
  const dataProxy = createDataProxy(proxy);
@@ -7837,6 +7870,7 @@ var CustomerAddressListParamsSchema = v17.looseObject({
7837
7870
  });
7838
7871
  var CustomerAddressesListParamsSchema = v17.looseObject({
7839
7872
  ...EdgeCacheParamsSchema.entries,
7873
+ emailAddress: v17.optional(v17.string()),
7840
7874
  limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7841
7875
  offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7842
7876
  orderBy: v17.optional(v17.string()),
@@ -7863,6 +7897,9 @@ var CustomerOrdersListParamsSchema = v17.looseObject({
7863
7897
  ...EdgeCacheParamsSchema.entries,
7864
7898
  cancelFlag: v17.optional(v17.string()),
7865
7899
  contactId: v17.optional(v17.string()),
7900
+ createdFrom: v17.optional(v17.string()),
7901
+ createdOn: v17.optional(v17.string()),
7902
+ createdTo: v17.optional(v17.string()),
7866
7903
  deleteFlag: v17.optional(v17.string()),
7867
7904
  fullDocument: v17.optional(v17.string()),
7868
7905
  limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
@@ -7878,6 +7915,18 @@ var CustomerPurchasedItemsListParamsSchema = v17.looseObject({
7878
7915
  });
7879
7916
  var CustomerQuotesListParamsSchema = v17.looseObject({
7880
7917
  ...EdgeCacheParamsSchema.entries,
7918
+ createdFrom: v17.optional(v17.string()),
7919
+ createdOn: v17.optional(v17.string()),
7920
+ createdTo: v17.optional(v17.string()),
7921
+ limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7922
+ offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7923
+ orderBy: v17.optional(v17.string())
7924
+ });
7925
+ var CustomerRmasListParamsSchema = v17.looseObject({
7926
+ ...EdgeCacheParamsSchema.entries,
7927
+ createdFrom: v17.optional(v17.string()),
7928
+ createdOn: v17.optional(v17.string()),
7929
+ createdTo: v17.optional(v17.string()),
7881
7930
  limit: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7882
7931
  offset: v17.optional(v17.pipe(v17.unknown(), v17.transform(Number))),
7883
7932
  orderBy: v17.optional(v17.string())
@@ -7909,7 +7958,11 @@ var CustomerAddressesDataSchema = v17.looseObject({
7909
7958
  statusCd: v17.optional(v17.number()),
7910
7959
  processCd: v17.optional(v17.number()),
7911
7960
  dateCreated: v17.optional(v17.string()),
7912
- dateLastModified: v17.optional(v17.string())
7961
+ dateLastModified: v17.optional(v17.string()),
7962
+ emailAddress: v17.optional(v17.nullable(v17.string())),
7963
+ name: v17.optional(v17.nullable(v17.string())),
7964
+ phoneNumberMain: v17.optional(v17.nullable(v17.string())),
7965
+ phoneNumberMobile: v17.optional(v17.nullable(v17.string()))
7913
7966
  });
7914
7967
  var CustomerTagsDataSchema = v17.looseObject({
7915
7968
  customerTagsUid: v17.optional(v17.number()),
@@ -8028,7 +8081,7 @@ var endpoints10 = [
8028
8081
  action: "list",
8029
8082
  aliases: [],
8030
8083
  pathParams: ["customerId"],
8031
- queryParams: ["limit", "offset", "orderBy", "statusCd"],
8084
+ queryParams: ["emailAddress", "limit", "offset", "orderBy", "statusCd"],
8032
8085
  edgeCache: true,
8033
8086
  responseSchema: CustomerAddressesDataSchema,
8034
8087
  responseType: "array"
@@ -8160,6 +8213,9 @@ var endpoints10 = [
8160
8213
  queryParams: [
8161
8214
  "cancelFlag",
8162
8215
  "contactId",
8216
+ "createdFrom",
8217
+ "createdOn",
8218
+ "createdTo",
8163
8219
  "deleteFlag",
8164
8220
  "fullDocument",
8165
8221
  "limit",
@@ -8202,7 +8258,7 @@ var endpoints10 = [
8202
8258
  action: "list",
8203
8259
  aliases: [],
8204
8260
  pathParams: ["customerId"],
8205
- queryParams: ["limit", "offset", "orderBy"],
8261
+ queryParams: ["createdFrom", "createdOn", "createdTo", "limit", "offset", "orderBy"],
8206
8262
  edgeCache: true,
8207
8263
  responseSchema: PassthroughDataSchema10,
8208
8264
  responseType: "passthrough"
@@ -8219,6 +8275,30 @@ var endpoints10 = [
8219
8275
  responseSchema: PassthroughDataSchema10,
8220
8276
  responseType: "passthrough"
8221
8277
  },
8278
+ {
8279
+ method: "GET",
8280
+ path: "/customer/{customerId}/rmas",
8281
+ chain: "customer.rmas",
8282
+ action: "list",
8283
+ aliases: [],
8284
+ pathParams: ["customerId"],
8285
+ queryParams: ["createdFrom", "createdOn", "createdTo", "limit", "offset", "orderBy"],
8286
+ edgeCache: true,
8287
+ responseSchema: PassthroughDataSchema10,
8288
+ responseType: "passthrough"
8289
+ },
8290
+ {
8291
+ method: "GET",
8292
+ path: "/customer/{customerId}/rmas/{rmaNo}",
8293
+ chain: "customer.rmas",
8294
+ action: "get",
8295
+ aliases: [],
8296
+ pathParams: ["customerId", "rmaNo"],
8297
+ queryParams: [],
8298
+ edgeCache: true,
8299
+ responseSchema: PassthroughDataSchema10,
8300
+ responseType: "passthrough"
8301
+ },
8222
8302
  {
8223
8303
  method: "GET",
8224
8304
  path: "/customer/{customerId}/ship-to",
@@ -8366,13 +8446,7 @@ var CustomersClient = class extends BaseServiceClient {
8366
8446
  constructor(http, baseUrl = "https://customers.augur-api.com") {
8367
8447
  super("customers", http, baseUrl);
8368
8448
  const boundExecuteRequest = (config, params, pathParams) => {
8369
- if (pathParams !== void 0) {
8370
- return this.executeRequest(config, params, pathParams);
8371
- }
8372
- if (params !== void 0 || config.paramsSchema !== void 0) {
8373
- return this.executeRequest(config, params);
8374
- }
8375
- return this.executeRequest(config);
8449
+ return this.executeRequest(config, params, pathParams);
8376
8450
  };
8377
8451
  const proxy = createServiceProxy(
8378
8452
  "customers",
@@ -8712,13 +8786,7 @@ var OrdersClient = class extends BaseServiceClient {
8712
8786
  constructor(http, baseUrl = "https://orders.augur-api.com") {
8713
8787
  super("orders", http, baseUrl);
8714
8788
  const boundExecuteRequest = (config, params, pathParams) => {
8715
- if (pathParams !== void 0) {
8716
- return this.executeRequest(config, params, pathParams);
8717
- }
8718
- if (params !== void 0 || config.paramsSchema !== void 0) {
8719
- return this.executeRequest(config, params);
8720
- }
8721
- return this.executeRequest(config);
8789
+ return this.executeRequest(config, params, pathParams);
8722
8790
  };
8723
8791
  const proxy = createServiceProxy("orders", boundExecuteRequest, endpoints11);
8724
8792
  const dataProxy = createDataProxy(proxy);
@@ -8973,13 +9041,7 @@ var P21PimClient = class extends BaseServiceClient {
8973
9041
  constructor(http, baseUrl = "https://p21-pim.augur-api.com") {
8974
9042
  super("p21-pim", http, baseUrl);
8975
9043
  const boundExecuteRequest = (config, params, pathParams) => {
8976
- if (pathParams !== void 0) {
8977
- return this.executeRequest(config, params, pathParams);
8978
- }
8979
- if (params !== void 0 || config.paramsSchema !== void 0) {
8980
- return this.executeRequest(config, params);
8981
- }
8982
- return this.executeRequest(config);
9044
+ return this.executeRequest(config, params, pathParams);
8983
9045
  };
8984
9046
  const proxy = createServiceProxy("p21-pim", boundExecuteRequest, endpoints12);
8985
9047
  const dataProxy = createDataProxy(proxy);
@@ -9333,13 +9395,7 @@ var PaymentsClient = class extends BaseServiceClient {
9333
9395
  constructor(http, baseUrl = "https://payments.augur-api.com") {
9334
9396
  super("payments", http, baseUrl);
9335
9397
  const boundExecuteRequest = (config, params, pathParams) => {
9336
- if (pathParams !== void 0) {
9337
- return this.executeRequest(config, params, pathParams);
9338
- }
9339
- if (params !== void 0 || config.paramsSchema !== void 0) {
9340
- return this.executeRequest(config, params);
9341
- }
9342
- return this.executeRequest(config);
9398
+ return this.executeRequest(config, params, pathParams);
9343
9399
  };
9344
9400
  const proxy = createServiceProxy(
9345
9401
  "payments",
@@ -9360,6 +9416,9 @@ var PaymentsClient = class extends BaseServiceClient {
9360
9416
  this.healthCheckData = createHealthCheckDataResource13(this.healthCheck);
9361
9417
  this.pingData = createPingDataResource7(this.ping);
9362
9418
  }
9419
+ getServiceDescription() {
9420
+ return "Unified payment processing gateway supporting Moneris, PayTrace, and Element card transactions";
9421
+ }
9363
9422
  };
9364
9423
 
9365
9424
  // src/services/agr-info/generated/schemas.ts
@@ -9712,13 +9771,7 @@ var AgrInfoClient = class extends BaseServiceClient {
9712
9771
  constructor(http, baseUrl = "https://agr-info.augur-api.com") {
9713
9772
  super("agr-info", http, baseUrl);
9714
9773
  const boundExecuteRequest = (config, params, pathParams) => {
9715
- if (pathParams !== void 0) {
9716
- return this.executeRequest(config, params, pathParams);
9717
- }
9718
- if (params !== void 0 || config.paramsSchema !== void 0) {
9719
- return this.executeRequest(config, params);
9720
- }
9721
- return this.executeRequest(config);
9774
+ return this.executeRequest(config, params, pathParams);
9722
9775
  };
9723
9776
  const proxy = createServiceProxy("agr-info", boundExecuteRequest, endpoints14);
9724
9777
  const dataProxy = createDataProxy(proxy);
@@ -9905,13 +9958,7 @@ var AgrWorkClient = class extends BaseServiceClient {
9905
9958
  constructor(http, baseUrl = "https://agr-work.augur-api.com") {
9906
9959
  super("agr-work", http, baseUrl);
9907
9960
  const boundExecuteRequest = (config, params, pathParams) => {
9908
- if (pathParams !== void 0) {
9909
- return this.executeRequest(config, params, pathParams);
9910
- }
9911
- if (params !== void 0 || config.paramsSchema !== void 0) {
9912
- return this.executeRequest(config, params);
9913
- }
9914
- return this.executeRequest(config);
9961
+ return this.executeRequest(config, params, pathParams);
9915
9962
  };
9916
9963
  this.healthCheck = createHealthCheckResource15(boundExecuteRequest);
9917
9964
  this.ping = createPingResource9(boundExecuteRequest);
@@ -10006,13 +10053,7 @@ var AvalaraClient = class extends BaseServiceClient {
10006
10053
  constructor(http, baseUrl = "https://avalara.augur-api.com") {
10007
10054
  super("avalara", http, baseUrl);
10008
10055
  const boundExecuteRequest = (config, params, pathParams) => {
10009
- if (pathParams !== void 0) {
10010
- return this.executeRequest(config, params, pathParams);
10011
- }
10012
- if (params !== void 0 || config.paramsSchema !== void 0) {
10013
- return this.executeRequest(config, params);
10014
- }
10015
- return this.executeRequest(config);
10056
+ return this.executeRequest(config, params, pathParams);
10016
10057
  };
10017
10058
  const proxy = createServiceProxy("avalara", boundExecuteRequest, endpoints15);
10018
10059
  const dataProxy = createDataProxy(proxy);
@@ -10109,13 +10150,7 @@ var BrandFolderClient = class extends BaseServiceClient {
10109
10150
  constructor(http, baseUrl = "https://brand-folder.augur-api.com") {
10110
10151
  super("brand-folder", http, baseUrl);
10111
10152
  const boundExecuteRequest = (config, params, pathParams) => {
10112
- if (pathParams !== void 0) {
10113
- return this.executeRequest(config, params, pathParams);
10114
- }
10115
- if (params !== void 0 || config.paramsSchema !== void 0) {
10116
- return this.executeRequest(config, params);
10117
- }
10118
- return this.executeRequest(config);
10153
+ return this.executeRequest(config, params, pathParams);
10119
10154
  };
10120
10155
  const proxy = createServiceProxy(
10121
10156
  "brand-folder",
@@ -10247,13 +10282,7 @@ var GregorovichClient = class extends BaseServiceClient {
10247
10282
  constructor(http, baseUrl = "https://gregorovich.augur-api.com") {
10248
10283
  super("gregorovich", http, baseUrl);
10249
10284
  const boundExecuteRequest = (config, params, pathParams) => {
10250
- if (pathParams !== void 0) {
10251
- return this.executeRequest(config, params, pathParams);
10252
- }
10253
- if (params !== void 0 || config.paramsSchema !== void 0) {
10254
- return this.executeRequest(config, params);
10255
- }
10256
- return this.executeRequest(config);
10285
+ return this.executeRequest(config, params, pathParams);
10257
10286
  };
10258
10287
  const proxy = createServiceProxy(
10259
10288
  "gregorovich",
@@ -10774,13 +10803,7 @@ var LogisticsClient = class extends BaseServiceClient {
10774
10803
  constructor(http, baseUrl = "https://logistics.augur-api.com") {
10775
10804
  super("logistics", http, baseUrl);
10776
10805
  const boundExecuteRequest = (config, params, pathParams) => {
10777
- if (pathParams !== void 0) {
10778
- return this.executeRequest(config, params, pathParams);
10779
- }
10780
- if (params !== void 0 || config.paramsSchema !== void 0) {
10781
- return this.executeRequest(config, params);
10782
- }
10783
- return this.executeRequest(config);
10806
+ return this.executeRequest(config, params, pathParams);
10784
10807
  };
10785
10808
  const proxy = createServiceProxy(
10786
10809
  "logistics",
@@ -11172,13 +11195,7 @@ var P21ApisClient = class extends BaseServiceClient {
11172
11195
  constructor(http, baseUrl = "https://p21-apis.augur-api.com") {
11173
11196
  super("p21-apis", http, baseUrl);
11174
11197
  const boundExecuteRequest = (config, params, pathParams) => {
11175
- if (pathParams !== void 0) {
11176
- return this.executeRequest(config, params, pathParams);
11177
- }
11178
- if (params !== void 0 || config.paramsSchema !== void 0) {
11179
- return this.executeRequest(config, params);
11180
- }
11181
- return this.executeRequest(config);
11198
+ return this.executeRequest(config, params, pathParams);
11182
11199
  };
11183
11200
  const proxy = createServiceProxy("p21-apis", boundExecuteRequest, endpoints19);
11184
11201
  const dataProxy = createDataProxy(proxy);
@@ -11199,6 +11216,9 @@ var P21ApisClient = class extends BaseServiceClient {
11199
11216
  this.healthCheck = createHealthCheckResource20(boundExecuteRequest);
11200
11217
  this.healthCheckData = createHealthCheckDataResource20(this.healthCheck);
11201
11218
  }
11219
+ getServiceDescription() {
11220
+ return "Prophet 21 REST API abstraction for normalized CRUD operations on ERP entities";
11221
+ }
11202
11222
  };
11203
11223
 
11204
11224
  // src/services/p21-core/generated/schemas.ts
@@ -11579,13 +11599,7 @@ var P21CoreClient = class extends BaseServiceClient {
11579
11599
  constructor(http, baseUrl = "https://p21-core.augur-api.com") {
11580
11600
  super("p21-core", http, baseUrl);
11581
11601
  const boundExecuteRequest = (config, params, pathParams) => {
11582
- if (pathParams !== void 0) {
11583
- return this.executeRequest(config, params, pathParams);
11584
- }
11585
- if (params !== void 0 || config.paramsSchema !== void 0) {
11586
- return this.executeRequest(config, params);
11587
- }
11588
- return this.executeRequest(config);
11602
+ return this.executeRequest(config, params, pathParams);
11589
11603
  };
11590
11604
  const proxy = createServiceProxy("p21-core", boundExecuteRequest, endpoints20);
11591
11605
  const dataProxy = createDataProxy(proxy);
@@ -11917,13 +11931,7 @@ var P21SismClient = class extends BaseServiceClient {
11917
11931
  constructor(http, baseUrl = "https://p21-sism.augur-api.com") {
11918
11932
  super("p21-sism", http, baseUrl);
11919
11933
  const boundExecuteRequest = (config, params, pathParams) => {
11920
- if (pathParams !== void 0) {
11921
- return this.executeRequest(config, params, pathParams);
11922
- }
11923
- if (params !== void 0 || config.paramsSchema !== void 0) {
11924
- return this.executeRequest(config, params);
11925
- }
11926
- return this.executeRequest(config);
11934
+ return this.executeRequest(config, params, pathParams);
11927
11935
  };
11928
11936
  const proxy = createServiceProxy("p21-sism", boundExecuteRequest, endpoints21);
11929
11937
  const dataProxy = createDataProxy(proxy);
@@ -12029,13 +12037,7 @@ var ShippingClient = class extends BaseServiceClient {
12029
12037
  constructor(http, baseUrl = "https://shipping.augur-api.com") {
12030
12038
  super("shipping", http, baseUrl);
12031
12039
  const boundExecuteRequest = (config, params, pathParams) => {
12032
- if (pathParams !== void 0) {
12033
- return this.executeRequest(config, params, pathParams);
12034
- }
12035
- if (params !== void 0 || config.paramsSchema !== void 0) {
12036
- return this.executeRequest(config, params);
12037
- }
12038
- return this.executeRequest(config);
12040
+ return this.executeRequest(config, params, pathParams);
12039
12041
  };
12040
12042
  const proxy = createServiceProxy(
12041
12043
  "shipping",
@@ -12164,13 +12166,7 @@ var SlackClient = class extends BaseServiceClient {
12164
12166
  constructor(http, baseUrl = "https://slack.augur-api.com") {
12165
12167
  super("slack", http, baseUrl);
12166
12168
  const boundExecuteRequest = (config, params, pathParams) => {
12167
- if (pathParams !== void 0) {
12168
- return this.executeRequest(config, params, pathParams);
12169
- }
12170
- if (params !== void 0 || config.paramsSchema !== void 0) {
12171
- return this.executeRequest(config, params);
12172
- }
12173
- return this.executeRequest(config);
12169
+ return this.executeRequest(config, params, pathParams);
12174
12170
  };
12175
12171
  const proxy = createServiceProxy("slack", boundExecuteRequest, endpoints23);
12176
12172
  const dataProxy = createDataProxy(proxy);
@@ -12370,13 +12366,7 @@ var SmartyStreetsClient = class extends BaseServiceClient {
12370
12366
  constructor(http, baseUrl = "https://smarty-streets.augur-api.com") {
12371
12367
  super("smarty-streets", http, baseUrl);
12372
12368
  const boundExecuteRequest = (config, params, pathParams) => {
12373
- if (pathParams !== void 0) {
12374
- return this.executeRequest(config, params, pathParams);
12375
- }
12376
- if (params !== void 0 || config.paramsSchema !== void 0) {
12377
- return this.executeRequest(config, params);
12378
- }
12379
- return this.executeRequest(config);
12369
+ return this.executeRequest(config, params, pathParams);
12380
12370
  };
12381
12371
  const proxy = createServiceProxy(
12382
12372
  "smarty-streets",
@@ -12542,13 +12532,7 @@ var UPSClient = class extends BaseServiceClient {
12542
12532
  constructor(http, baseUrl = "https://ups.augur-api.com") {
12543
12533
  super("ups", http, baseUrl);
12544
12534
  const boundExecuteRequest = (config, params, pathParams) => {
12545
- if (pathParams !== void 0) {
12546
- return this.executeRequest(config, params, pathParams);
12547
- }
12548
- if (params !== void 0 || config.paramsSchema !== void 0) {
12549
- return this.executeRequest(config, params);
12550
- }
12551
- return this.executeRequest(config);
12535
+ return this.executeRequest(config, params, pathParams);
12552
12536
  };
12553
12537
  const proxy = createServiceProxy("ups", boundExecuteRequest, endpoints25);
12554
12538
  const dataProxy = createDataProxy(proxy);
@@ -13356,13 +13340,7 @@ var Basecamp2Client = class extends BaseServiceClient {
13356
13340
  constructor(http, baseUrl = "https://basecamp2.augur-api.com") {
13357
13341
  super("basecamp2", http, baseUrl);
13358
13342
  const boundExecuteRequest = (config, params, pathParams) => {
13359
- if (pathParams !== void 0) {
13360
- return this.executeRequest(config, params, pathParams);
13361
- }
13362
- if (params !== void 0 || config.paramsSchema !== void 0) {
13363
- return this.executeRequest(config, params);
13364
- }
13365
- return this.executeRequest(config);
13343
+ return this.executeRequest(config, params, pathParams);
13366
13344
  };
13367
13345
  const proxy = createServiceProxy(
13368
13346
  "basecamp2",
@@ -13389,6 +13367,9 @@ var Basecamp2Client = class extends BaseServiceClient {
13389
13367
  this.healthCheck = createHealthCheckResource27(boundExecuteRequest);
13390
13368
  this.healthCheckData = createHealthCheckDataResource27(this.healthCheck);
13391
13369
  }
13370
+ getServiceDescription() {
13371
+ return "Basecamp project management integration syncing todos, projects, people, and conversation data with AI analytics";
13372
+ }
13392
13373
  };
13393
13374
 
13394
13375
  // src/client.ts
@@ -14276,7 +14257,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
14276
14257
  }
14277
14258
 
14278
14259
  // src/index.ts
14279
- var VERSION = "2026.5.5";
14260
+ var VERSION = "2026.6.1";
14280
14261
  // Annotate the CommonJS export names for ESM import in node:
14281
14262
  0 && (module.exports = {
14282
14263
  AgrInfoClient,
@@ -14294,6 +14275,7 @@ var VERSION = "2026.5.5";
14294
14275
  CustomersClient,
14295
14276
  GregorovichClient,
14296
14277
  HealthCheckDataSchema,
14278
+ InvalidArgumentError,
14297
14279
  ItemsClient,
14298
14280
  JoomlaClient,
14299
14281
  LegacyClient,