@simpleapps-com/augur-api 2026.4.7 → 2026.5.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
@@ -3546,6 +3546,12 @@ var ItemsListParamsSchema = v10.looseObject({
3546
3546
  online: v10.optional(v10.string()),
3547
3547
  statusCd: v10.optional(v10.pipe(v10.unknown(), v10.transform(Number)))
3548
3548
  });
3549
+ var QueryStringRedirectListParamsSchema = v10.looseObject({
3550
+ ...EdgeCacheParamsSchema.entries,
3551
+ limit: v10.optional(v10.pipe(v10.unknown(), v10.transform(Number))),
3552
+ offset: v10.optional(v10.pipe(v10.unknown(), v10.transform(Number))),
3553
+ orderBy: v10.optional(v10.string())
3554
+ });
3549
3555
  var SuggestionsListParamsSchema = v10.looseObject({
3550
3556
  ...EdgeCacheParamsSchema.entries,
3551
3557
  limit: v10.optional(v10.pipe(v10.unknown(), v10.transform(Number))),
@@ -3562,6 +3568,16 @@ var SuggestionsSuggestListParamsSchema = v10.looseObject({
3562
3568
  offset: v10.optional(v10.pipe(v10.unknown(), v10.transform(Number))),
3563
3569
  q: v10.optional(v10.string())
3564
3570
  });
3571
+ var QueryStringRedirectDataSchema = v10.looseObject({
3572
+ queryStringRedirectUid: v10.optional(v10.number()),
3573
+ queryStringUid: v10.optional(v10.number()),
3574
+ queryStringRedirectLink: v10.optional(v10.string()),
3575
+ dateCreated: v10.optional(v10.string()),
3576
+ dateLastModified: v10.optional(v10.string()),
3577
+ updateCd: v10.optional(v10.number()),
3578
+ statusCd: v10.optional(v10.number()),
3579
+ processCd: v10.optional(v10.number())
3580
+ });
3565
3581
  var SuggestionsDataSchema = v10.looseObject({
3566
3582
  suggestionsUid: v10.optional(v10.number()),
3567
3583
  queryStringUid: v10.optional(v10.number()),
@@ -3681,6 +3697,66 @@ var endpoints5 = [
3681
3697
  responseSchema: PassthroughDataSchema5,
3682
3698
  responseType: "passthrough"
3683
3699
  },
3700
+ {
3701
+ method: "GET",
3702
+ path: "/query-string-redirect",
3703
+ chain: "queryStringRedirect",
3704
+ action: "list",
3705
+ aliases: [],
3706
+ pathParams: [],
3707
+ queryParams: ["limit", "offset", "orderBy"],
3708
+ edgeCache: true,
3709
+ responseSchema: QueryStringRedirectDataSchema,
3710
+ responseType: "array"
3711
+ },
3712
+ {
3713
+ method: "POST",
3714
+ path: "/query-string-redirect",
3715
+ chain: "queryStringRedirect",
3716
+ action: "create",
3717
+ aliases: [],
3718
+ pathParams: [],
3719
+ queryParams: [],
3720
+ edgeCache: false,
3721
+ responseSchema: QueryStringRedirectDataSchema,
3722
+ responseType: "object"
3723
+ },
3724
+ {
3725
+ method: "GET",
3726
+ path: "/query-string-redirect/{queryStringRedirectUid}",
3727
+ chain: "queryStringRedirect",
3728
+ action: "get",
3729
+ aliases: [],
3730
+ pathParams: ["queryStringRedirectUid"],
3731
+ queryParams: [],
3732
+ edgeCache: true,
3733
+ responseSchema: QueryStringRedirectDataSchema,
3734
+ responseType: "object"
3735
+ },
3736
+ {
3737
+ method: "PUT",
3738
+ path: "/query-string-redirect/{queryStringRedirectUid}",
3739
+ chain: "queryStringRedirect",
3740
+ action: "update",
3741
+ aliases: [],
3742
+ pathParams: ["queryStringRedirectUid"],
3743
+ queryParams: [],
3744
+ edgeCache: false,
3745
+ responseSchema: QueryStringRedirectDataSchema,
3746
+ responseType: "object"
3747
+ },
3748
+ {
3749
+ method: "DELETE",
3750
+ path: "/query-string-redirect/{queryStringRedirectUid}",
3751
+ chain: "queryStringRedirect",
3752
+ action: "delete",
3753
+ aliases: [],
3754
+ pathParams: ["queryStringRedirectUid"],
3755
+ queryParams: [],
3756
+ edgeCache: false,
3757
+ responseSchema: QueryStringRedirectDataSchema,
3758
+ responseType: "object"
3759
+ },
3684
3760
  {
3685
3761
  method: "GET",
3686
3762
  path: "/suggestions",
@@ -3834,15 +3910,20 @@ var OpenSearchClient = class extends BaseServiceClient {
3834
3910
  const dataProxy = createDataProxy(proxy);
3835
3911
  this.itemSearch = proxy.itemSearch;
3836
3912
  this.items = proxy.items;
3913
+ this.queryStringRedirect = proxy.queryStringRedirect;
3837
3914
  this.suggestions = proxy.suggestions;
3838
3915
  this.itemSearchData = dataProxy.itemSearch;
3839
3916
  this.itemsData = dataProxy.items;
3917
+ this.queryStringRedirectData = dataProxy.queryStringRedirect;
3840
3918
  this.suggestionsData = dataProxy.suggestions;
3841
3919
  this.ping = createPingResource4(boundExecuteRequest);
3842
3920
  this.healthCheck = createHealthCheckResource5(boundExecuteRequest);
3843
3921
  this.pingData = createPingDataResource3(this.ping);
3844
3922
  this.healthCheckData = createHealthCheckDataResource5(this.healthCheck);
3845
3923
  }
3924
+ getServiceDescription() {
3925
+ return "Product search engine powered by OpenSearch with autocomplete, faceted filtering, and query analytics";
3926
+ }
3846
3927
  };
3847
3928
 
3848
3929
  // src/services/items/generated/schemas.ts
@@ -4122,6 +4203,7 @@ var VariantsListParamsSchema = v11.looseObject({
4122
4203
  limit: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
4123
4204
  offset: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number))),
4124
4205
  orderBy: v11.optional(v11.string()),
4206
+ q: v11.optional(v11.string()),
4125
4207
  statusCd: v11.optional(v11.pipe(v11.unknown(), v11.transform(Number)))
4126
4208
  });
4127
4209
  var VariantsAttributesListParamsSchema = v11.looseObject({
@@ -5414,7 +5496,7 @@ var endpoints6 = [
5414
5496
  action: "list",
5415
5497
  aliases: [],
5416
5498
  pathParams: [],
5417
- queryParams: ["limit", "offset", "orderBy", "statusCd"],
5499
+ queryParams: ["limit", "offset", "orderBy", "q", "statusCd"],
5418
5500
  edgeCache: true,
5419
5501
  responseSchema: PassthroughDataSchema6,
5420
5502
  responseType: "passthrough"
@@ -5774,12 +5856,23 @@ var LegacyStateListParamsSchema = v13.looseObject({
5774
5856
  ...EdgeCacheParamsSchema.entries,
5775
5857
  limit: v13.optional(v13.pipe(v13.unknown(), v13.transform(Number))),
5776
5858
  offset: v13.optional(v13.pipe(v13.unknown(), v13.transform(Number))),
5859
+ orderBy: v13.optional(v13.string()),
5777
5860
  twoLetterCode: v13.optional(v13.string())
5778
5861
  });
5779
5862
  var LegacyStateGetParamsSchema = v13.looseObject({
5780
5863
  ...EdgeCacheParamsSchema.entries,
5781
5864
  twoLetterCode: v13.optional(v13.string())
5782
5865
  });
5866
+ var CustomersTagsDataSchema = v13.looseObject({
5867
+ customerTagsUid: v13.optional(v13.number()),
5868
+ customerId: v13.optional(v13.number()),
5869
+ tag: v13.optional(v13.nullable(v13.string())),
5870
+ updateCd: v13.optional(v13.number()),
5871
+ statusCd: v13.optional(v13.number()),
5872
+ processCd: v13.optional(v13.number()),
5873
+ dateCreated: v13.optional(v13.string()),
5874
+ dateLastModified: v13.optional(v13.string())
5875
+ });
5783
5876
  var InvMastTagsDataSchema = v13.looseObject({
5784
5877
  invMastTagsUid: v13.optional(v13.number()),
5785
5878
  invMastUid: v13.optional(v13.number()),
@@ -5856,6 +5949,66 @@ var PassthroughDataSchema7 = v13.record(v13.string(), v13.unknown());
5856
5949
 
5857
5950
  // src/services/legacy/generated/endpoints.ts
5858
5951
  var endpoints7 = [
5952
+ {
5953
+ method: "GET",
5954
+ path: "/customers/{customerId}/tags",
5955
+ chain: "customers.tags",
5956
+ action: "list",
5957
+ aliases: [],
5958
+ pathParams: ["customerId"],
5959
+ queryParams: [],
5960
+ edgeCache: true,
5961
+ responseSchema: CustomersTagsDataSchema,
5962
+ responseType: "array"
5963
+ },
5964
+ {
5965
+ method: "POST",
5966
+ path: "/customers/{customerId}/tags",
5967
+ chain: "customers.tags",
5968
+ action: "create",
5969
+ aliases: [],
5970
+ pathParams: ["customerId"],
5971
+ queryParams: [],
5972
+ edgeCache: false,
5973
+ responseSchema: CustomersTagsDataSchema,
5974
+ responseType: "object"
5975
+ },
5976
+ {
5977
+ method: "GET",
5978
+ path: "/customers/{customerId}/tags/{customerTagsUid}",
5979
+ chain: "customers.tags",
5980
+ action: "get",
5981
+ aliases: [],
5982
+ pathParams: ["customerId", "customerTagsUid"],
5983
+ queryParams: [],
5984
+ edgeCache: true,
5985
+ responseSchema: CustomersTagsDataSchema,
5986
+ responseType: "object"
5987
+ },
5988
+ {
5989
+ method: "PUT",
5990
+ path: "/customers/{customerId}/tags/{customerTagsUid}",
5991
+ chain: "customers.tags",
5992
+ action: "update",
5993
+ aliases: [],
5994
+ pathParams: ["customerId", "customerTagsUid"],
5995
+ queryParams: [],
5996
+ edgeCache: false,
5997
+ responseSchema: CustomersTagsDataSchema,
5998
+ responseType: "object"
5999
+ },
6000
+ {
6001
+ method: "DELETE",
6002
+ path: "/customers/{customerId}/tags/{customerTagsUid}",
6003
+ chain: "customers.tags",
6004
+ action: "delete",
6005
+ aliases: [],
6006
+ pathParams: ["customerId", "customerTagsUid"],
6007
+ queryParams: [],
6008
+ edgeCache: false,
6009
+ responseSchema: PassthroughDataSchema7,
6010
+ responseType: "passthrough"
6011
+ },
5859
6012
  {
5860
6013
  method: "GET",
5861
6014
  path: "/inv-mast/{invMastUid}/also-bought",
@@ -6007,7 +6160,7 @@ var endpoints7 = [
6007
6160
  action: "list",
6008
6161
  aliases: [],
6009
6162
  pathParams: [],
6010
- queryParams: ["limit", "offset", "twoLetterCode"],
6163
+ queryParams: ["limit", "offset", "orderBy", "twoLetterCode"],
6011
6164
  edgeCache: true,
6012
6165
  responseSchema: LegacyStateDataSchema,
6013
6166
  responseType: "array"
@@ -6121,10 +6274,12 @@ var LegacyClient = class extends BaseServiceClient {
6121
6274
  };
6122
6275
  const proxy = createServiceProxy("legacy", boundExecuteRequest, endpoints7);
6123
6276
  const dataProxy = createDataProxy(proxy);
6277
+ this.customers = proxy.customers;
6124
6278
  this.invMast = proxy.invMast;
6125
6279
  this.itemCategory = proxy.itemCategory;
6126
6280
  this.legacy = proxy.legacy;
6127
6281
  this.orders = proxy.orders;
6282
+ this.customersData = dataProxy.customers;
6128
6283
  this.invMastData = dataProxy.invMast;
6129
6284
  this.itemCategoryData = dataProxy.itemCategory;
6130
6285
  this.legacyData = dataProxy.legacy;
@@ -7918,6 +8073,18 @@ var endpoints10 = [
7918
8073
  responseSchema: PassthroughDataSchema10,
7919
8074
  responseType: "passthrough"
7920
8075
  },
8076
+ {
8077
+ method: "GET",
8078
+ path: "/customer/{customerId}/tags",
8079
+ chain: "customer.tags",
8080
+ action: "list",
8081
+ aliases: [],
8082
+ pathParams: ["customerId"],
8083
+ queryParams: [],
8084
+ edgeCache: true,
8085
+ responseSchema: PassthroughDataSchema10,
8086
+ responseType: "passthrough"
8087
+ },
7921
8088
  {
7922
8089
  method: "GET",
7923
8090
  path: "/oe-contacts-customer/refresh",
@@ -8008,6 +8175,9 @@ var CustomersClient = class extends BaseServiceClient {
8008
8175
  this.healthCheck = createHealthCheckResource10(boundExecuteRequest);
8009
8176
  this.healthCheckData = createHealthCheckDataResource10(this.healthCheck);
8010
8177
  }
8178
+ getServiceDescription() {
8179
+ return "Customer master data including contacts, shipping addresses, invoices, rewards, and P21 customer sync";
8180
+ }
8011
8181
  };
8012
8182
 
8013
8183
  // src/services/orders/generated/schemas.ts
@@ -8980,8 +9150,17 @@ var MicroservicesListParamsSchema = v21.looseObject({
8980
9150
  ...EdgeCacheParamsSchema.entries,
8981
9151
  limit: v21.optional(v21.pipe(v21.unknown(), v21.transform(Number))),
8982
9152
  offset: v21.optional(v21.pipe(v21.unknown(), v21.transform(Number))),
9153
+ orderBy: v21.optional(v21.string()),
8983
9154
  statusCd: v21.optional(v21.pipe(v21.unknown(), v21.transform(Number)))
8984
9155
  });
9156
+ var RubricsListParamsSchema = v21.looseObject({
9157
+ ...EdgeCacheParamsSchema.entries,
9158
+ orderBy: v21.optional(v21.string())
9159
+ });
9160
+ var WorkflowsListParamsSchema = v21.looseObject({
9161
+ ...EdgeCacheParamsSchema.entries,
9162
+ orderBy: v21.optional(v21.string())
9163
+ });
8985
9164
  var MicroservicesDataSchema = v21.looseObject({
8986
9165
  microservicesUid: v21.optional(v21.number()),
8987
9166
  name: v21.optional(v21.nullable(v21.string())),
@@ -9063,7 +9242,7 @@ var endpoints14 = [
9063
9242
  action: "list",
9064
9243
  aliases: [],
9065
9244
  pathParams: [],
9066
- queryParams: ["limit", "offset", "statusCd"],
9245
+ queryParams: ["limit", "offset", "orderBy", "statusCd"],
9067
9246
  edgeCache: true,
9068
9247
  responseSchema: MicroservicesDataSchema,
9069
9248
  responseType: "array"
@@ -9135,7 +9314,7 @@ var endpoints14 = [
9135
9314
  action: "list",
9136
9315
  aliases: [],
9137
9316
  pathParams: [],
9138
- queryParams: [],
9317
+ queryParams: ["orderBy"],
9139
9318
  edgeCache: true,
9140
9319
  responseSchema: RubricsDataSchema,
9141
9320
  responseType: "array"
@@ -9188,6 +9367,18 @@ var endpoints14 = [
9188
9367
  responseSchema: PassthroughDataSchema14,
9189
9368
  responseType: "passthrough"
9190
9369
  },
9370
+ {
9371
+ method: "POST",
9372
+ path: "/sites/validate",
9373
+ chain: "sites.validate",
9374
+ action: "create",
9375
+ aliases: [],
9376
+ pathParams: [],
9377
+ queryParams: [],
9378
+ edgeCache: false,
9379
+ responseSchema: PassthroughDataSchema14,
9380
+ responseType: "passthrough"
9381
+ },
9191
9382
  {
9192
9383
  method: "GET",
9193
9384
  path: "/workflows",
@@ -9195,7 +9386,7 @@ var endpoints14 = [
9195
9386
  action: "list",
9196
9387
  aliases: [],
9197
9388
  pathParams: [],
9198
- queryParams: [],
9389
+ queryParams: ["orderBy"],
9199
9390
  edgeCache: true,
9200
9391
  responseSchema: WorkflowsDataSchema,
9201
9392
  responseType: "array"
@@ -9319,6 +9510,7 @@ var AgrInfoClient = class extends BaseServiceClient {
9319
9510
  this.microservices = proxy.microservices;
9320
9511
  this.ollama = proxy.ollama;
9321
9512
  this.rubrics = proxy.rubrics;
9513
+ this.sites = proxy.sites;
9322
9514
  this.workflows = proxy.workflows;
9323
9515
  this.akashaData = dataProxy.akasha;
9324
9516
  this.contextData = dataProxy.context;
@@ -9326,6 +9518,7 @@ var AgrInfoClient = class extends BaseServiceClient {
9326
9518
  this.microservicesData = dataProxy.microservices;
9327
9519
  this.ollamaData = dataProxy.ollama;
9328
9520
  this.rubricsData = dataProxy.rubrics;
9521
+ this.sitesData = dataProxy.sites;
9329
9522
  this.workflowsData = dataProxy.workflows;
9330
9523
  this.healthCheck = createHealthCheckResource14(boundExecuteRequest);
9331
9524
  this.healthCheckData = createHealthCheckDataResource14(this.healthCheck);
@@ -13729,7 +13922,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
13729
13922
  }
13730
13923
 
13731
13924
  // src/index.ts
13732
- var VERSION = "2026.4.7";
13925
+ var VERSION = "2026.5.1";
13733
13926
  // Annotate the CommonJS export names for ESM import in node:
13734
13927
  0 && (module.exports = {
13735
13928
  AgrInfoClient,