@viu/emporix-sdk 2.38.1 → 3.0.0

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +1 -1
  3. package/dist/availability.d.cts +1 -1
  4. package/dist/availability.d.ts +1 -1
  5. package/dist/cart.d.cts +1 -1
  6. package/dist/cart.d.ts +1 -1
  7. package/dist/category.d.cts +1 -1
  8. package/dist/category.d.ts +1 -1
  9. package/dist/checkout.d.cts +1 -1
  10. package/dist/checkout.d.ts +1 -1
  11. package/dist/companies.d.cts +1 -1
  12. package/dist/companies.d.ts +1 -1
  13. package/dist/contacts.d.cts +1 -1
  14. package/dist/contacts.d.ts +1 -1
  15. package/dist/{context-D64-B1Rz.d.cts → context-CcU93eAL.d.cts} +1 -1
  16. package/dist/{context-D64-B1Rz.d.ts → context-CcU93eAL.d.ts} +1 -1
  17. package/dist/{customer-groups-B6xrwf59.d.cts → customer-groups-Tt9VIA-m.d.cts} +1 -1
  18. package/dist/{customer-groups-YZg22bFc.d.ts → customer-groups-wmO0f-vj.d.ts} +1 -1
  19. package/dist/customer-groups.d.cts +2 -2
  20. package/dist/customer-groups.d.ts +2 -2
  21. package/dist/customer.d.cts +1 -1
  22. package/dist/customer.d.ts +1 -1
  23. package/dist/index.cjs +100 -144
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +4 -54
  26. package/dist/index.d.ts +4 -54
  27. package/dist/index.js +101 -144
  28. package/dist/index.js.map +1 -1
  29. package/dist/locations.d.cts +1 -1
  30. package/dist/locations.d.ts +1 -1
  31. package/dist/media.d.cts +1 -1
  32. package/dist/media.d.ts +1 -1
  33. package/dist/orders.d.cts +1 -1
  34. package/dist/orders.d.ts +1 -1
  35. package/dist/payment.d.cts +1 -1
  36. package/dist/payment.d.ts +1 -1
  37. package/dist/price.d.cts +1 -1
  38. package/dist/price.d.ts +1 -1
  39. package/dist/product.d.cts +1 -1
  40. package/dist/product.d.ts +1 -1
  41. package/dist/segment.d.cts +1 -1
  42. package/dist/segment.d.ts +1 -1
  43. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -999,7 +999,7 @@ var HttpClient = class {
999
999
  };
1000
1000
 
1001
1001
  // package.json
1002
- var version = "2.38.1";
1002
+ var version = "3.0.0";
1003
1003
 
1004
1004
  // src/version.ts
1005
1005
  var SDK_VERSION = version;
@@ -7681,49 +7681,8 @@ var ReturnsService = class {
7681
7681
  }
7682
7682
  };
7683
7683
 
7684
- // src/services/sepa-export.ts
7685
- var SERVICE28 = { kind: "service" };
7686
- var SepaExportService = class {
7687
- constructor(ctx) {
7688
- this.ctx = ctx;
7689
- }
7690
- ctx;
7691
- static channel = "sepa-export";
7692
- base() {
7693
- return `/sepa-export/${this.ctx.tenant}`;
7694
- }
7695
- /** Retrieve a SEPA export file by id. Returns the raw file content (text). */
7696
- async getFile(fileId, auth2 = SERVICE28) {
7697
- const path = `${this.base()}/files/${encodeURIComponent(fileId)}`;
7698
- const res = await this.ctx.http.requestRaw({ method: "GET", path, auth: auth2 });
7699
- if (!res.ok) {
7700
- const errBody = await res.text().catch(() => void 0);
7701
- throw errorFromResponse(res.status, `GET ${path} \u2192 ${res.status}`, errBody);
7702
- }
7703
- return res.text();
7704
- }
7705
- /** List export jobs. */
7706
- async listJobs(query = {}, auth2 = SERVICE28) {
7707
- return this.ctx.http.request({
7708
- method: "GET",
7709
- path: `${this.base()}/jobs`,
7710
- auth: auth2,
7711
- ...Object.keys(query).length ? { query } : {}
7712
- });
7713
- }
7714
- /** Create an export job. */
7715
- async createJob(input, auth2 = SERVICE28) {
7716
- return this.ctx.http.request({
7717
- method: "POST",
7718
- path: `${this.base()}/jobs`,
7719
- auth: auth2,
7720
- body: input
7721
- });
7722
- }
7723
- };
7724
-
7725
7684
  // src/services/indexing.ts
7726
- var SERVICE29 = { kind: "service" };
7685
+ var SERVICE28 = { kind: "service" };
7727
7686
  var IndexingService = class {
7728
7687
  constructor(ctx) {
7729
7688
  this.ctx = ctx;
@@ -7734,11 +7693,11 @@ var IndexingService = class {
7734
7693
  return `/indexing/${this.ctx.tenant}`;
7735
7694
  }
7736
7695
  /** List indexing configurations. */
7737
- async listConfigurations(auth2 = SERVICE29) {
7696
+ async listConfigurations(auth2 = SERVICE28) {
7738
7697
  return this.ctx.http.request({ method: "GET", path: `${this.base()}/configurations`, auth: auth2 });
7739
7698
  }
7740
7699
  /** Get a configuration by provider name. */
7741
- async getConfiguration(provider, auth2 = SERVICE29) {
7700
+ async getConfiguration(provider, auth2 = SERVICE28) {
7742
7701
  return this.ctx.http.request({
7743
7702
  method: "GET",
7744
7703
  path: `${this.base()}/configurations/${encodeURIComponent(provider)}`,
@@ -7746,7 +7705,7 @@ var IndexingService = class {
7746
7705
  });
7747
7706
  }
7748
7707
  /** Create a configuration. */
7749
- async createConfiguration(input, auth2 = SERVICE29) {
7708
+ async createConfiguration(input, auth2 = SERVICE28) {
7750
7709
  return this.ctx.http.request({
7751
7710
  method: "POST",
7752
7711
  path: `${this.base()}/configurations`,
@@ -7755,7 +7714,7 @@ var IndexingService = class {
7755
7714
  });
7756
7715
  }
7757
7716
  /** Update a configuration by provider name. */
7758
- async updateConfiguration(provider, input, auth2 = SERVICE29) {
7717
+ async updateConfiguration(provider, input, auth2 = SERVICE28) {
7759
7718
  await this.ctx.http.request({
7760
7719
  method: "PUT",
7761
7720
  path: `${this.base()}/configurations/${encodeURIComponent(provider)}`,
@@ -7764,7 +7723,7 @@ var IndexingService = class {
7764
7723
  });
7765
7724
  }
7766
7725
  /** Delete a configuration by provider name. */
7767
- async deleteConfiguration(provider, auth2 = SERVICE29) {
7726
+ async deleteConfiguration(provider, auth2 = SERVICE28) {
7768
7727
  await this.ctx.http.request({
7769
7728
  method: "DELETE",
7770
7729
  path: `${this.base()}/configurations/${encodeURIComponent(provider)}`,
@@ -7772,11 +7731,11 @@ var IndexingService = class {
7772
7731
  });
7773
7732
  }
7774
7733
  /** List public indexing configurations. */
7775
- async listPublicConfigurations(auth2 = SERVICE29) {
7734
+ async listPublicConfigurations(auth2 = SERVICE28) {
7776
7735
  return this.ctx.http.request({ method: "GET", path: `${this.base()}/public/configurations`, auth: auth2 });
7777
7736
  }
7778
7737
  /** Get a public configuration by provider name. */
7779
- async getPublicConfiguration(provider, auth2 = SERVICE29) {
7738
+ async getPublicConfiguration(provider, auth2 = SERVICE28) {
7780
7739
  return this.ctx.http.request({
7781
7740
  method: "GET",
7782
7741
  path: `${this.base()}/public/configurations/${encodeURIComponent(provider)}`,
@@ -7789,7 +7748,7 @@ var IndexingService = class {
7789
7748
  * (PRODUCT only). Resolves to the created job (`201`) or, when a job for that
7790
7749
  * `entityType` is already `IN_PROGRESS`, that running job (`200`).
7791
7750
  */
7792
- async createReindexJob(input, auth2 = SERVICE29) {
7751
+ async createReindexJob(input, auth2 = SERVICE28) {
7793
7752
  return this.ctx.http.request({
7794
7753
  method: "POST",
7795
7754
  path: `${this.base()}/reindex-jobs`,
@@ -7798,7 +7757,7 @@ var IndexingService = class {
7798
7757
  });
7799
7758
  }
7800
7759
  /** List reindex jobs (paginated). */
7801
- async listReindexJobs(opts = {}, auth2 = SERVICE29) {
7760
+ async listReindexJobs(opts = {}, auth2 = SERVICE28) {
7802
7761
  const pageNumber = opts.pageNumber ?? 1;
7803
7762
  const pageSize = opts.pageSize ?? 50;
7804
7763
  const query = { pageNumber, pageSize };
@@ -7819,7 +7778,7 @@ var IndexingService = class {
7819
7778
  );
7820
7779
  }
7821
7780
  /** Fetch one reindex job by id. */
7822
- async getReindexJob(reindexJobId, auth2 = SERVICE29) {
7781
+ async getReindexJob(reindexJobId, auth2 = SERVICE28) {
7823
7782
  return this.ctx.http.request({
7824
7783
  method: "GET",
7825
7784
  path: `${this.base()}/reindex-jobs/${encodeURIComponent(reindexJobId)}`,
@@ -7831,13 +7790,13 @@ var IndexingService = class {
7831
7790
  * @deprecated since 2026-06-18, removal 2026-12-01 — use {@link createReindexJob}
7832
7791
  * (`createReindexJob({ entityType: "PRODUCT" })`), which returns a trackable job.
7833
7792
  */
7834
- async reindex(input, auth2 = SERVICE29) {
7793
+ async reindex(input, auth2 = SERVICE28) {
7835
7794
  await this.ctx.http.request({ method: "POST", path: `${this.base()}/reindex`, auth: auth2, body: input });
7836
7795
  }
7837
7796
  };
7838
7797
 
7839
7798
  // src/services/imports.ts
7840
- var SERVICE30 = { kind: "service" };
7799
+ var SERVICE29 = { kind: "service" };
7841
7800
  var DEFAULT_PAGE_SIZE = 50;
7842
7801
  function pageArgs(opts) {
7843
7802
  return { pageNumber: opts.pageNumber ?? 1, pageSize: opts.pageSize ?? DEFAULT_PAGE_SIZE };
@@ -7887,7 +7846,7 @@ var ImportService = class {
7887
7846
  return `/importtool/${this.ctx.tenant}`;
7888
7847
  }
7889
7848
  /** List every import configuration of the tenant. */
7890
- async listConfigs(auth2 = SERVICE30) {
7849
+ async listConfigs(auth2 = SERVICE29) {
7891
7850
  return this.ctx.http.request({
7892
7851
  method: "GET",
7893
7852
  path: `${this.base()}/configs`,
@@ -7895,7 +7854,7 @@ var ImportService = class {
7895
7854
  });
7896
7855
  }
7897
7856
  /** Fetch one configuration by id. */
7898
- async getConfig(id, auth2 = SERVICE30) {
7857
+ async getConfig(id, auth2 = SERVICE29) {
7899
7858
  return this.ctx.http.request({
7900
7859
  method: "GET",
7901
7860
  path: `${this.base()}/configs/${encodeURIComponent(id)}`,
@@ -7903,7 +7862,7 @@ var ImportService = class {
7903
7862
  });
7904
7863
  }
7905
7864
  /** List the streams of one configuration. */
7906
- async listStreams(configId, auth2 = SERVICE30) {
7865
+ async listStreams(configId, auth2 = SERVICE29) {
7907
7866
  return this.ctx.http.request({
7908
7867
  method: "GET",
7909
7868
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/streams`,
@@ -7911,7 +7870,7 @@ var ImportService = class {
7911
7870
  });
7912
7871
  }
7913
7872
  /** Fetch one stream by id. */
7914
- async getStream(id, auth2 = SERVICE30) {
7873
+ async getStream(id, auth2 = SERVICE29) {
7915
7874
  return this.ctx.http.request({
7916
7875
  method: "GET",
7917
7876
  path: `${this.base()}/streams/${encodeURIComponent(id)}`,
@@ -7923,7 +7882,7 @@ var ImportService = class {
7923
7882
  * configured — the service answers `204`, not `404`, so an absent schedule is
7924
7883
  * a normal result rather than an error.
7925
7884
  */
7926
- async getSchedule(configId, auth2 = SERVICE30) {
7885
+ async getSchedule(configId, auth2 = SERVICE29) {
7927
7886
  const res = await this.ctx.http.request({
7928
7887
  method: "GET",
7929
7888
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/schedule`,
@@ -7932,7 +7891,7 @@ var ImportService = class {
7932
7891
  return res ?? null;
7933
7892
  }
7934
7893
  /** Create or replace a configuration's schedule. */
7935
- async setSchedule(configId, input, auth2 = SERVICE30) {
7894
+ async setSchedule(configId, input, auth2 = SERVICE29) {
7936
7895
  return this.ctx.http.request({
7937
7896
  method: "PUT",
7938
7897
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/schedule`,
@@ -7946,7 +7905,7 @@ var ImportService = class {
7946
7905
  *
7947
7906
  * Not retried on a 5xx: a POST that timed out may already have queued a run.
7948
7907
  */
7949
- async triggerRun(configId, input = {}, auth2 = SERVICE30) {
7908
+ async triggerRun(configId, input = {}, auth2 = SERVICE29) {
7950
7909
  return this.ctx.http.request({
7951
7910
  method: "POST",
7952
7911
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/runs`,
@@ -7955,7 +7914,7 @@ var ImportService = class {
7955
7914
  });
7956
7915
  }
7957
7916
  /** List a configuration's runs, newest first. */
7958
- async listRuns(configId, opts = {}, auth2 = SERVICE30) {
7917
+ async listRuns(configId, opts = {}, auth2 = SERVICE29) {
7959
7918
  const args = pageArgs(opts);
7960
7919
  const wire = await this.ctx.http.request({
7961
7920
  method: "GET",
@@ -7966,7 +7925,7 @@ var ImportService = class {
7966
7925
  return toPage(wire, args);
7967
7926
  }
7968
7927
  /** Fetch one run with its per-stream progress. */
7969
- async getRun(runId, auth2 = SERVICE30) {
7928
+ async getRun(runId, auth2 = SERVICE29) {
7970
7929
  return this.ctx.http.request({
7971
7930
  method: "GET",
7972
7931
  path: `${this.base()}/runs/${encodeURIComponent(runId)}`,
@@ -7986,7 +7945,7 @@ var ImportService = class {
7986
7945
  * arrive as `{ type: "unknown" }` rather than throwing — see
7987
7946
  * {@link ImportRunEvent}.
7988
7947
  */
7989
- async *streamRun(runId, auth2 = SERVICE30) {
7948
+ async *streamRun(runId, auth2 = SERVICE29) {
7990
7949
  const frames = this.ctx.http.requestStream({
7991
7950
  method: "GET",
7992
7951
  path: `${this.base()}/runs/${encodeURIComponent(runId)}/events`,
@@ -8001,7 +7960,7 @@ var ImportService = class {
8001
7960
  * a result, not an error. A state conflict may instead come back as a `409`,
8002
7961
  * which does throw.
8003
7962
  */
8004
- async cancelRun(runId, opts = {}, auth2 = SERVICE30) {
7963
+ async cancelRun(runId, opts = {}, auth2 = SERVICE29) {
8005
7964
  const query = {};
8006
7965
  if (opts.force) query.force = "true";
8007
7966
  return this.ctx.http.request({
@@ -8012,7 +7971,7 @@ var ImportService = class {
8012
7971
  });
8013
7972
  }
8014
7973
  /** List the errors recorded during a run. */
8015
- async listRunErrors(runId, opts = {}, auth2 = SERVICE30) {
7974
+ async listRunErrors(runId, opts = {}, auth2 = SERVICE29) {
8016
7975
  const args = pageArgs(opts);
8017
7976
  const wire = await this.ctx.http.request({
8018
7977
  method: "GET",
@@ -8023,7 +7982,7 @@ var ImportService = class {
8023
7982
  return toPage(wire, args);
8024
7983
  }
8025
7984
  /** List the target types that hold imported records — the valid `type` values for {@link searchRecords}. */
8026
- async listDataTypes(auth2 = SERVICE30) {
7985
+ async listDataTypes(auth2 = SERVICE29) {
8027
7986
  return this.ctx.http.request({
8028
7987
  method: "GET",
8029
7988
  path: `${this.base()}/data/types`,
@@ -8031,7 +7990,7 @@ var ImportService = class {
8031
7990
  });
8032
7991
  }
8033
7992
  /** Search imported records of one target type. */
8034
- async searchRecords(opts, auth2 = SERVICE30) {
7993
+ async searchRecords(opts, auth2 = SERVICE29) {
8035
7994
  const args = pageArgs(opts);
8036
7995
  const query = {
8037
7996
  type: opts.type,
@@ -8049,7 +8008,7 @@ var ImportService = class {
8049
8008
  return toPage(wire, args);
8050
8009
  }
8051
8010
  /** Search the imported records produced by one stream. */
8052
- async searchStreamRecords(streamId, opts = {}, auth2 = SERVICE30) {
8011
+ async searchStreamRecords(streamId, opts = {}, auth2 = SERVICE29) {
8053
8012
  const args = pageArgs(opts);
8054
8013
  const query = {
8055
8014
  page: args.pageNumber - 1,
@@ -8068,7 +8027,7 @@ var ImportService = class {
8068
8027
  };
8069
8028
 
8070
8029
  // src/services/unit-handling.ts
8071
- var SERVICE31 = { kind: "service" };
8030
+ var SERVICE30 = { kind: "service" };
8072
8031
  var UnitHandlingService = class {
8073
8032
  constructor(ctx) {
8074
8033
  this.ctx = ctx;
@@ -8079,7 +8038,7 @@ var UnitHandlingService = class {
8079
8038
  return `/unit-handling/${this.ctx.tenant}`;
8080
8039
  }
8081
8040
  /** Find units (filter/sort/page). */
8082
- async listUnits(query = {}, auth2 = SERVICE31) {
8041
+ async listUnits(query = {}, auth2 = SERVICE30) {
8083
8042
  return this.ctx.http.request({
8084
8043
  method: "GET",
8085
8044
  path: `${this.base()}/units`,
@@ -8088,7 +8047,7 @@ var UnitHandlingService = class {
8088
8047
  });
8089
8048
  }
8090
8049
  /** Retrieve a unit by code. */
8091
- async getUnit(unitCode, auth2 = SERVICE31) {
8050
+ async getUnit(unitCode, auth2 = SERVICE30) {
8092
8051
  return this.ctx.http.request({
8093
8052
  method: "GET",
8094
8053
  path: `${this.base()}/units/${encodeURIComponent(unitCode)}`,
@@ -8096,11 +8055,11 @@ var UnitHandlingService = class {
8096
8055
  });
8097
8056
  }
8098
8057
  /** Add a new unit. */
8099
- async createUnit(input, auth2 = SERVICE31) {
8058
+ async createUnit(input, auth2 = SERVICE30) {
8100
8059
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/units`, auth: auth2, body: input });
8101
8060
  }
8102
8061
  /** Update a unit by code. */
8103
- async updateUnit(unitCode, input, auth2 = SERVICE31) {
8062
+ async updateUnit(unitCode, input, auth2 = SERVICE30) {
8104
8063
  await this.ctx.http.request({
8105
8064
  method: "PUT",
8106
8065
  path: `${this.base()}/units/${encodeURIComponent(unitCode)}`,
@@ -8109,7 +8068,7 @@ var UnitHandlingService = class {
8109
8068
  });
8110
8069
  }
8111
8070
  /** Delete a unit by code. */
8112
- async deleteUnit(unitCode, auth2 = SERVICE31) {
8071
+ async deleteUnit(unitCode, auth2 = SERVICE30) {
8113
8072
  await this.ctx.http.request({
8114
8073
  method: "DELETE",
8115
8074
  path: `${this.base()}/units/${encodeURIComponent(unitCode)}`,
@@ -8117,7 +8076,7 @@ var UnitHandlingService = class {
8117
8076
  });
8118
8077
  }
8119
8078
  /** Delete multiple units by code (bulk). The codes are sent as the request body. */
8120
- async deleteUnits(codes, auth2 = SERVICE31) {
8079
+ async deleteUnits(codes, auth2 = SERVICE30) {
8121
8080
  await this.ctx.http.request({
8122
8081
  method: "DELETE",
8123
8082
  path: `${this.base()}/units`,
@@ -8126,7 +8085,7 @@ var UnitHandlingService = class {
8126
8085
  });
8127
8086
  }
8128
8087
  /** Fetch a conversion factor (`PUT /units/conversion-factor-commands`). */
8129
- async getConversionFactor(input, auth2 = SERVICE31) {
8088
+ async getConversionFactor(input, auth2 = SERVICE30) {
8130
8089
  return this.ctx.http.request({
8131
8090
  method: "PUT",
8132
8091
  path: `${this.base()}/units/conversion-factor-commands`,
@@ -8135,7 +8094,7 @@ var UnitHandlingService = class {
8135
8094
  });
8136
8095
  }
8137
8096
  /** Convert a value between units (`PUT /units/convert-unit-commands`). */
8138
- async convertUnit(input, auth2 = SERVICE31) {
8097
+ async convertUnit(input, auth2 = SERVICE30) {
8139
8098
  return this.ctx.http.request({
8140
8099
  method: "PUT",
8141
8100
  path: `${this.base()}/units/convert-unit-commands`,
@@ -8144,13 +8103,13 @@ var UnitHandlingService = class {
8144
8103
  });
8145
8104
  }
8146
8105
  /** List all unit types. */
8147
- async listUnitTypes(auth2 = SERVICE31) {
8106
+ async listUnitTypes(auth2 = SERVICE30) {
8148
8107
  return this.ctx.http.request({ method: "GET", path: `${this.base()}/types`, auth: auth2 });
8149
8108
  }
8150
8109
  };
8151
8110
 
8152
8111
  // src/services/catalog.ts
8153
- var SERVICE32 = { kind: "service" };
8112
+ var SERVICE31 = { kind: "service" };
8154
8113
  var CatalogService = class {
8155
8114
  constructor(ctx) {
8156
8115
  this.ctx = ctx;
@@ -8161,7 +8120,7 @@ var CatalogService = class {
8161
8120
  return `/catalog/${this.ctx.tenant}/catalogs`;
8162
8121
  }
8163
8122
  /** List catalogs (filtered/sorted). */
8164
- async listCatalogs(query = {}, auth2 = SERVICE32) {
8123
+ async listCatalogs(query = {}, auth2 = SERVICE31) {
8165
8124
  return this.ctx.http.request({
8166
8125
  method: "GET",
8167
8126
  path: this.base(),
@@ -8170,7 +8129,7 @@ var CatalogService = class {
8170
8129
  });
8171
8130
  }
8172
8131
  /** Retrieve a catalog by id. */
8173
- async getCatalog(catalogId, auth2 = SERVICE32) {
8132
+ async getCatalog(catalogId, auth2 = SERVICE31) {
8174
8133
  return this.ctx.http.request({
8175
8134
  method: "GET",
8176
8135
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -8178,7 +8137,7 @@ var CatalogService = class {
8178
8137
  });
8179
8138
  }
8180
8139
  /** Retrieve all catalogs that contain a category. */
8181
- async getCatalogsForCategory(categoryId, auth2 = SERVICE32) {
8140
+ async getCatalogsForCategory(categoryId, auth2 = SERVICE31) {
8182
8141
  return this.ctx.http.request({
8183
8142
  method: "GET",
8184
8143
  path: `${this.base()}/categories/${encodeURIComponent(categoryId)}`,
@@ -8186,11 +8145,11 @@ var CatalogService = class {
8186
8145
  });
8187
8146
  }
8188
8147
  /** Create a catalog. */
8189
- async createCatalog(input, auth2 = SERVICE32) {
8148
+ async createCatalog(input, auth2 = SERVICE31) {
8190
8149
  return this.ctx.http.request({ method: "POST", path: this.base(), auth: auth2, body: input });
8191
8150
  }
8192
8151
  /** Upsert a catalog by id (`PUT`). */
8193
- async updateCatalog(catalogId, input, auth2 = SERVICE32) {
8152
+ async updateCatalog(catalogId, input, auth2 = SERVICE31) {
8194
8153
  return this.ctx.http.request({
8195
8154
  method: "PUT",
8196
8155
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -8199,7 +8158,7 @@ var CatalogService = class {
8199
8158
  });
8200
8159
  }
8201
8160
  /** Partially update a catalog by id (`PATCH`). */
8202
- async patchCatalog(catalogId, patch, auth2 = SERVICE32) {
8161
+ async patchCatalog(catalogId, patch, auth2 = SERVICE31) {
8203
8162
  await this.ctx.http.request({
8204
8163
  method: "PATCH",
8205
8164
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -8208,7 +8167,7 @@ var CatalogService = class {
8208
8167
  });
8209
8168
  }
8210
8169
  /** Remove a catalog by id. */
8211
- async deleteCatalog(catalogId, auth2 = SERVICE32) {
8170
+ async deleteCatalog(catalogId, auth2 = SERVICE31) {
8212
8171
  await this.ctx.http.request({
8213
8172
  method: "DELETE",
8214
8173
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -8218,7 +8177,7 @@ var CatalogService = class {
8218
8177
  };
8219
8178
 
8220
8179
  // src/services/vendor.ts
8221
- var SERVICE33 = { kind: "service" };
8180
+ var SERVICE32 = { kind: "service" };
8222
8181
  var VendorService = class {
8223
8182
  constructor(ctx) {
8224
8183
  this.ctx = ctx;
@@ -8230,7 +8189,7 @@ var VendorService = class {
8230
8189
  }
8231
8190
  // --- Vendors ---
8232
8191
  /** List all vendors. */
8233
- async listVendors(query = {}, auth2 = SERVICE33) {
8192
+ async listVendors(query = {}, auth2 = SERVICE32) {
8234
8193
  return this.ctx.http.request({
8235
8194
  method: "GET",
8236
8195
  path: `${this.base()}/vendors`,
@@ -8239,7 +8198,7 @@ var VendorService = class {
8239
8198
  });
8240
8199
  }
8241
8200
  /** Retrieve a vendor by id. */
8242
- async getVendor(vendorId, auth2 = SERVICE33) {
8201
+ async getVendor(vendorId, auth2 = SERVICE32) {
8243
8202
  return this.ctx.http.request({
8244
8203
  method: "GET",
8245
8204
  path: `${this.base()}/vendors/${encodeURIComponent(vendorId)}`,
@@ -8247,7 +8206,7 @@ var VendorService = class {
8247
8206
  });
8248
8207
  }
8249
8208
  /** Search vendors (`POST /vendors/search`). A built filter in `q` is resolved to a string. */
8250
- async searchVendors(query, auth2 = SERVICE33) {
8209
+ async searchVendors(query, auth2 = SERVICE32) {
8251
8210
  const body = query.q !== void 0 ? { ...query, q: resolveQuery(query.q, { compoundLogicalQuery: false }) } : query;
8252
8211
  return this.ctx.http.request({
8253
8212
  method: "POST",
@@ -8257,11 +8216,11 @@ var VendorService = class {
8257
8216
  });
8258
8217
  }
8259
8218
  /** Create a vendor. */
8260
- async createVendor(input, auth2 = SERVICE33) {
8219
+ async createVendor(input, auth2 = SERVICE32) {
8261
8220
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/vendors`, auth: auth2, body: input });
8262
8221
  }
8263
8222
  /** Upsert a vendor by id (`PUT`). */
8264
- async updateVendor(vendorId, input, auth2 = SERVICE33) {
8223
+ async updateVendor(vendorId, input, auth2 = SERVICE32) {
8265
8224
  await this.ctx.http.request({
8266
8225
  method: "PUT",
8267
8226
  path: `${this.base()}/vendors/${encodeURIComponent(vendorId)}`,
@@ -8270,7 +8229,7 @@ var VendorService = class {
8270
8229
  });
8271
8230
  }
8272
8231
  /** Delete a vendor by id. */
8273
- async deleteVendor(vendorId, auth2 = SERVICE33) {
8232
+ async deleteVendor(vendorId, auth2 = SERVICE32) {
8274
8233
  await this.ctx.http.request({
8275
8234
  method: "DELETE",
8276
8235
  path: `${this.base()}/vendors/${encodeURIComponent(vendorId)}`,
@@ -8279,7 +8238,7 @@ var VendorService = class {
8279
8238
  }
8280
8239
  // --- Vendor locations ---
8281
8240
  /** List all vendor locations. */
8282
- async listVendorLocations(query = {}, auth2 = SERVICE33) {
8241
+ async listVendorLocations(query = {}, auth2 = SERVICE32) {
8283
8242
  return this.ctx.http.request({
8284
8243
  method: "GET",
8285
8244
  path: `${this.base()}/locations`,
@@ -8288,7 +8247,7 @@ var VendorService = class {
8288
8247
  });
8289
8248
  }
8290
8249
  /** Retrieve a vendor location by id. */
8291
- async getVendorLocation(locationId, auth2 = SERVICE33) {
8250
+ async getVendorLocation(locationId, auth2 = SERVICE32) {
8292
8251
  return this.ctx.http.request({
8293
8252
  method: "GET",
8294
8253
  path: `${this.base()}/locations/${encodeURIComponent(locationId)}`,
@@ -8296,11 +8255,11 @@ var VendorService = class {
8296
8255
  });
8297
8256
  }
8298
8257
  /** Create a vendor location. */
8299
- async createVendorLocation(input, auth2 = SERVICE33) {
8258
+ async createVendorLocation(input, auth2 = SERVICE32) {
8300
8259
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/locations`, auth: auth2, body: input });
8301
8260
  }
8302
8261
  /** Upsert a vendor location by id (`PUT`). */
8303
- async updateVendorLocation(locationId, input, auth2 = SERVICE33) {
8262
+ async updateVendorLocation(locationId, input, auth2 = SERVICE32) {
8304
8263
  await this.ctx.http.request({
8305
8264
  method: "PUT",
8306
8265
  path: `${this.base()}/locations/${encodeURIComponent(locationId)}`,
@@ -8309,7 +8268,7 @@ var VendorService = class {
8309
8268
  });
8310
8269
  }
8311
8270
  /** Delete a vendor location by id. */
8312
- async deleteVendorLocation(locationId, auth2 = SERVICE33) {
8271
+ async deleteVendorLocation(locationId, auth2 = SERVICE32) {
8313
8272
  await this.ctx.http.request({
8314
8273
  method: "DELETE",
8315
8274
  path: `${this.base()}/locations/${encodeURIComponent(locationId)}`,
@@ -8319,7 +8278,7 @@ var VendorService = class {
8319
8278
  };
8320
8279
 
8321
8280
  // src/services/pick-pack.ts
8322
- var SERVICE34 = { kind: "service" };
8281
+ var SERVICE33 = { kind: "service" };
8323
8282
  var PickPackService = class {
8324
8283
  constructor(ctx) {
8325
8284
  this.ctx = ctx;
@@ -8333,7 +8292,7 @@ var PickPackService = class {
8333
8292
  return `${this.base()}/orders/${encodeURIComponent(orderId)}`;
8334
8293
  }
8335
8294
  /** List packlist orders. */
8336
- async listOrders(query = {}, auth2 = SERVICE34) {
8295
+ async listOrders(query = {}, auth2 = SERVICE33) {
8337
8296
  return this.ctx.http.request({
8338
8297
  method: "GET",
8339
8298
  path: `${this.base()}/orders`,
@@ -8342,19 +8301,19 @@ var PickPackService = class {
8342
8301
  });
8343
8302
  }
8344
8303
  /** Retrieve a packlist order by id. */
8345
- async getOrder(orderId, auth2 = SERVICE34) {
8304
+ async getOrder(orderId, auth2 = SERVICE33) {
8346
8305
  return this.ctx.http.request({ method: "GET", path: this.orderPath(orderId), auth: auth2 });
8347
8306
  }
8348
8307
  /** Update an order's status (`PATCH`). Returns an acknowledgement. */
8349
- async updateOrder(orderId, change, auth2 = SERVICE34) {
8308
+ async updateOrder(orderId, change, auth2 = SERVICE33) {
8350
8309
  return this.ctx.http.request({ method: "PATCH", path: this.orderPath(orderId), auth: auth2, body: change });
8351
8310
  }
8352
8311
  /** Finish an order. Returns an acknowledgement. */
8353
- async finishOrder(orderId, auth2 = SERVICE34) {
8312
+ async finishOrder(orderId, auth2 = SERVICE33) {
8354
8313
  return this.ctx.http.request({ method: "POST", path: `${this.orderPath(orderId)}/finish`, auth: auth2 });
8355
8314
  }
8356
8315
  /** List order cycles (ids). */
8357
- async listOrderCycles(query = {}, auth2 = SERVICE34) {
8316
+ async listOrderCycles(query = {}, auth2 = SERVICE33) {
8358
8317
  return this.ctx.http.request({
8359
8318
  method: "GET",
8360
8319
  path: `${this.base()}/orderCycles`,
@@ -8363,11 +8322,11 @@ var PickPackService = class {
8363
8322
  });
8364
8323
  }
8365
8324
  /** Add an assignee to an order. Returns an acknowledgement. */
8366
- async addAssignee(orderId, assignee, auth2 = SERVICE34) {
8325
+ async addAssignee(orderId, assignee, auth2 = SERVICE33) {
8367
8326
  return this.ctx.http.request({ method: "POST", path: `${this.orderPath(orderId)}/assignees`, auth: auth2, body: assignee });
8368
8327
  }
8369
8328
  /** Remove an assignee from an order. */
8370
- async removeAssignee(orderId, assigneeId, auth2 = SERVICE34) {
8329
+ async removeAssignee(orderId, assigneeId, auth2 = SERVICE33) {
8371
8330
  await this.ctx.http.request({
8372
8331
  method: "DELETE",
8373
8332
  path: `${this.orderPath(orderId)}/assignees/${encodeURIComponent(assigneeId)}`,
@@ -8375,15 +8334,15 @@ var PickPackService = class {
8375
8334
  });
8376
8335
  }
8377
8336
  /** Update packaging products for an order (`PUT`). Returns an acknowledgement. */
8378
- async updatePackaging(orderId, change, auth2 = SERVICE34) {
8337
+ async updatePackaging(orderId, change, auth2 = SERVICE33) {
8379
8338
  return this.ctx.http.request({ method: "PUT", path: `${this.orderPath(orderId)}/packaging`, auth: auth2, body: change });
8380
8339
  }
8381
8340
  /** Create a packing event. Returns an acknowledgement. */
8382
- async createEvent(event, auth2 = SERVICE34) {
8341
+ async createEvent(event, auth2 = SERVICE33) {
8383
8342
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/events`, auth: auth2, body: event });
8384
8343
  }
8385
8344
  /** List packing events. */
8386
- async listEvents(query = {}, auth2 = SERVICE34) {
8345
+ async listEvents(query = {}, auth2 = SERVICE33) {
8387
8346
  return this.ctx.http.request({
8388
8347
  method: "GET",
8389
8348
  path: `${this.base()}/events`,
@@ -8392,7 +8351,7 @@ var PickPackService = class {
8392
8351
  });
8393
8352
  }
8394
8353
  /** Trigger an order recalculation. Returns the created job's id. */
8395
- async triggerRecalculation(input, auth2 = SERVICE34) {
8354
+ async triggerRecalculation(input, auth2 = SERVICE33) {
8396
8355
  return this.ctx.http.request({
8397
8356
  method: "POST",
8398
8357
  path: `${this.base()}/jobs/recalculations`,
@@ -8401,7 +8360,7 @@ var PickPackService = class {
8401
8360
  });
8402
8361
  }
8403
8362
  /** Retrieve a recalculation job by id. */
8404
- async getRecalculationJob(jobId, auth2 = SERVICE34) {
8363
+ async getRecalculationJob(jobId, auth2 = SERVICE33) {
8405
8364
  return this.ctx.http.request({
8406
8365
  method: "GET",
8407
8366
  path: `${this.base()}/jobs/recalculations/${encodeURIComponent(jobId)}`,
@@ -8411,7 +8370,7 @@ var PickPackService = class {
8411
8370
  };
8412
8371
 
8413
8372
  // src/services/customer-admin.ts
8414
- var SERVICE35 = { kind: "service" };
8373
+ var SERVICE34 = { kind: "service" };
8415
8374
  var CustomerAdminService = class {
8416
8375
  constructor(ctx) {
8417
8376
  this.ctx = ctx;
@@ -8432,7 +8391,7 @@ var CustomerAdminService = class {
8432
8391
  }
8433
8392
  // --- Customers ---
8434
8393
  /** List customers. */
8435
- async listCustomers(query = {}, auth2 = SERVICE35) {
8394
+ async listCustomers(query = {}, auth2 = SERVICE34) {
8436
8395
  return this.ctx.http.request({
8437
8396
  method: "GET",
8438
8397
  path: this.base(),
@@ -8441,33 +8400,33 @@ var CustomerAdminService = class {
8441
8400
  });
8442
8401
  }
8443
8402
  /** Search customers (`POST /customers/search`). A built filter in `q` is resolved to a string. */
8444
- async searchCustomers(query, auth2 = SERVICE35) {
8403
+ async searchCustomers(query, auth2 = SERVICE34) {
8445
8404
  const body = query.q !== void 0 ? { ...query, q: resolveQuery(query.q, { compoundLogicalQuery: false }) } : query;
8446
8405
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/search`, auth: auth2, body });
8447
8406
  }
8448
8407
  /** Retrieve a customer profile by number. */
8449
- async getCustomer(customerNumber, auth2 = SERVICE35) {
8408
+ async getCustomer(customerNumber, auth2 = SERVICE34) {
8450
8409
  return this.ctx.http.request({ method: "GET", path: this.customerPath(customerNumber), auth: auth2 });
8451
8410
  }
8452
8411
  /** Create a customer. */
8453
- async createCustomer(input, auth2 = SERVICE35) {
8412
+ async createCustomer(input, auth2 = SERVICE34) {
8454
8413
  return this.ctx.http.request({ method: "POST", path: this.base(), auth: auth2, body: input });
8455
8414
  }
8456
8415
  /** Upsert a customer profile by number (`PUT`). */
8457
- async upsertCustomer(customerNumber, input, auth2 = SERVICE35) {
8416
+ async upsertCustomer(customerNumber, input, auth2 = SERVICE34) {
8458
8417
  return this.ctx.http.request({ method: "PUT", path: this.customerPath(customerNumber), auth: auth2, body: input });
8459
8418
  }
8460
8419
  /** Partially update a customer profile (`PATCH`). */
8461
- async patchCustomer(customerNumber, patch, auth2 = SERVICE35) {
8420
+ async patchCustomer(customerNumber, patch, auth2 = SERVICE34) {
8462
8421
  await this.ctx.http.request({ method: "PATCH", path: this.customerPath(customerNumber), auth: auth2, body: patch });
8463
8422
  }
8464
8423
  /** Delete a customer profile. */
8465
- async deleteCustomer(customerNumber, auth2 = SERVICE35) {
8424
+ async deleteCustomer(customerNumber, auth2 = SERVICE34) {
8466
8425
  await this.ctx.http.request({ method: "DELETE", path: this.customerPath(customerNumber), auth: auth2 });
8467
8426
  }
8468
8427
  // --- Addresses ---
8469
8428
  /** List a customer's addresses. */
8470
- async listAddresses(customerNumber, auth2 = SERVICE35) {
8429
+ async listAddresses(customerNumber, auth2 = SERVICE34) {
8471
8430
  return this.ctx.http.request({
8472
8431
  method: "GET",
8473
8432
  path: `${this.customerPath(customerNumber)}/addresses`,
@@ -8475,11 +8434,11 @@ var CustomerAdminService = class {
8475
8434
  });
8476
8435
  }
8477
8436
  /** Retrieve one address. */
8478
- async getAddress(customerNumber, addressId, auth2 = SERVICE35) {
8437
+ async getAddress(customerNumber, addressId, auth2 = SERVICE34) {
8479
8438
  return this.ctx.http.request({ method: "GET", path: this.addressPath(customerNumber, addressId), auth: auth2 });
8480
8439
  }
8481
8440
  /** Add an address. */
8482
- async addAddress(customerNumber, input, auth2 = SERVICE35) {
8441
+ async addAddress(customerNumber, input, auth2 = SERVICE34) {
8483
8442
  return this.ctx.http.request({
8484
8443
  method: "POST",
8485
8444
  path: `${this.customerPath(customerNumber)}/addresses`,
@@ -8488,19 +8447,19 @@ var CustomerAdminService = class {
8488
8447
  });
8489
8448
  }
8490
8449
  /** Upsert an address by id (`PUT`). */
8491
- async upsertAddress(customerNumber, addressId, input, auth2 = SERVICE35) {
8450
+ async upsertAddress(customerNumber, addressId, input, auth2 = SERVICE34) {
8492
8451
  return this.ctx.http.request({ method: "PUT", path: this.addressPath(customerNumber, addressId), auth: auth2, body: input });
8493
8452
  }
8494
8453
  /** Partially update an address by id (`PATCH`). */
8495
- async patchAddress(customerNumber, addressId, patch, auth2 = SERVICE35) {
8454
+ async patchAddress(customerNumber, addressId, patch, auth2 = SERVICE34) {
8496
8455
  await this.ctx.http.request({ method: "PATCH", path: this.addressPath(customerNumber, addressId), auth: auth2, body: patch });
8497
8456
  }
8498
8457
  /** Delete an address by id. */
8499
- async deleteAddress(customerNumber, addressId, auth2 = SERVICE35) {
8458
+ async deleteAddress(customerNumber, addressId, auth2 = SERVICE34) {
8500
8459
  await this.ctx.http.request({ method: "DELETE", path: this.addressPath(customerNumber, addressId), auth: auth2 });
8501
8460
  }
8502
8461
  /** Add tags to an address (`?tags=` query). */
8503
- async addAddressTags(customerNumber, addressId, tags, auth2 = SERVICE35) {
8462
+ async addAddressTags(customerNumber, addressId, tags, auth2 = SERVICE34) {
8504
8463
  await this.ctx.http.request({
8505
8464
  method: "POST",
8506
8465
  path: `${this.addressPath(customerNumber, addressId)}/tags`,
@@ -8509,7 +8468,7 @@ var CustomerAdminService = class {
8509
8468
  });
8510
8469
  }
8511
8470
  /** Remove tags from an address (`?tags=` query). */
8512
- async removeAddressTags(customerNumber, addressId, tags, auth2 = SERVICE35) {
8471
+ async removeAddressTags(customerNumber, addressId, tags, auth2 = SERVICE34) {
8513
8472
  await this.ctx.http.request({
8514
8473
  method: "DELETE",
8515
8474
  path: `${this.addressPath(customerNumber, addressId)}/tags`,
@@ -8523,7 +8482,7 @@ var CustomerAdminService = class {
8523
8482
  * `customer.import_read` scope. An unconfigured tenant answers with an empty
8524
8483
  * object rather than a 404.
8525
8484
  */
8526
- async getPasswordMigrationRetention(auth2 = SERVICE35) {
8485
+ async getPasswordMigrationRetention(auth2 = SERVICE34) {
8527
8486
  return this.ctx.http.request({
8528
8487
  method: "GET",
8529
8488
  path: this.configPath(),
@@ -8536,7 +8495,7 @@ var CustomerAdminService = class {
8536
8495
  * `legacyAuth`** — that import is rejected without an active config. Re-POST with
8537
8496
  * an earlier `retentionEndDate` to shorten a running window.
8538
8497
  */
8539
- async configurePasswordMigrationRetention(input, auth2 = SERVICE35) {
8498
+ async configurePasswordMigrationRetention(input, auth2 = SERVICE34) {
8540
8499
  return this.ctx.http.request({
8541
8500
  method: "POST",
8542
8501
  path: this.configPath(),
@@ -8549,7 +8508,7 @@ var CustomerAdminService = class {
8549
8508
  * Intended for after the migration window: when the window ends, unmigrated
8550
8509
  * accounts need a password reset and their legacy credentials are cleared.
8551
8510
  */
8552
- async deletePasswordMigrationRetention(auth2 = SERVICE35) {
8511
+ async deletePasswordMigrationRetention(auth2 = SERVICE34) {
8553
8512
  await this.ctx.http.request({ method: "DELETE", path: this.configPath(), auth: auth2 });
8554
8513
  }
8555
8514
  // --- Bulk import ---
@@ -8562,7 +8521,7 @@ var CustomerAdminService = class {
8562
8521
  * `account.legacyAuth`, and importing `legacyAuth` requires an active retention
8563
8522
  * config (see `configurePasswordMigrationRetention`).
8564
8523
  */
8565
- async importCustomers(input, auth2 = SERVICE35) {
8524
+ async importCustomers(input, auth2 = SERVICE34) {
8566
8525
  return this.ctx.http.request({
8567
8526
  method: "POST",
8568
8527
  path: `${this.base()}/import`,
@@ -8573,7 +8532,7 @@ var CustomerAdminService = class {
8573
8532
  };
8574
8533
 
8575
8534
  // src/services/approval.ts
8576
- var SERVICE36 = { kind: "service" };
8535
+ var SERVICE35 = { kind: "service" };
8577
8536
  var ApprovalService = class {
8578
8537
  constructor(ctx) {
8579
8538
  this.ctx = ctx;
@@ -8584,7 +8543,7 @@ var ApprovalService = class {
8584
8543
  return `/approval/${this.ctx.tenant}`;
8585
8544
  }
8586
8545
  /** List approvals (paged via `pageNumber`/`pageSize`/`sort`/`q`). Returns an array. */
8587
- async listApprovals(query = {}, auth2 = SERVICE36) {
8546
+ async listApprovals(query = {}, auth2 = SERVICE35) {
8588
8547
  return this.ctx.http.request({
8589
8548
  method: "GET",
8590
8549
  path: `${this.base()}/approvals`,
@@ -8593,7 +8552,7 @@ var ApprovalService = class {
8593
8552
  });
8594
8553
  }
8595
8554
  /** Retrieve a single approval by id. */
8596
- async getApproval(approvalId, auth2 = SERVICE36) {
8555
+ async getApproval(approvalId, auth2 = SERVICE35) {
8597
8556
  return this.ctx.http.request({
8598
8557
  method: "GET",
8599
8558
  path: `${this.base()}/approvals/${encodeURIComponent(approvalId)}`,
@@ -8601,7 +8560,7 @@ var ApprovalService = class {
8601
8560
  });
8602
8561
  }
8603
8562
  /** Create an approval request (cart or quote). Returns the created `{ id }`. */
8604
- async createApproval(input, auth2 = SERVICE36) {
8563
+ async createApproval(input, auth2 = SERVICE35) {
8605
8564
  return this.ctx.http.request({
8606
8565
  method: "POST",
8607
8566
  path: `${this.base()}/approvals`,
@@ -8610,7 +8569,7 @@ var ApprovalService = class {
8610
8569
  });
8611
8570
  }
8612
8571
  /** Approve/reject/amend an approval via a JSON-Patch op-array (`PATCH`). */
8613
- async updateApproval(approvalId, ops, auth2 = SERVICE36) {
8572
+ async updateApproval(approvalId, ops, auth2 = SERVICE35) {
8614
8573
  await this.ctx.http.request({
8615
8574
  method: "PATCH",
8616
8575
  path: `${this.base()}/approvals/${encodeURIComponent(approvalId)}`,
@@ -8619,7 +8578,7 @@ var ApprovalService = class {
8619
8578
  });
8620
8579
  }
8621
8580
  /** Delete an approval by id. */
8622
- async deleteApproval(approvalId, auth2 = SERVICE36) {
8581
+ async deleteApproval(approvalId, auth2 = SERVICE35) {
8623
8582
  await this.ctx.http.request({
8624
8583
  method: "DELETE",
8625
8584
  path: `${this.base()}/approvals/${encodeURIComponent(approvalId)}`,
@@ -8627,7 +8586,7 @@ var ApprovalService = class {
8627
8586
  });
8628
8587
  }
8629
8588
  /** Check whether an operation on a resource is permitted / needs approval. */
8630
- async checkPermitted(input, auth2 = SERVICE36) {
8589
+ async checkPermitted(input, auth2 = SERVICE35) {
8631
8590
  return this.ctx.http.request({
8632
8591
  method: "POST",
8633
8592
  path: `${this.base()}/approval/permitted`,
@@ -8636,7 +8595,7 @@ var ApprovalService = class {
8636
8595
  });
8637
8596
  }
8638
8597
  /** Search for users eligible to approve a resource. Returns an array. */
8639
- async searchApprovers(input, auth2 = SERVICE36) {
8598
+ async searchApprovers(input, auth2 = SERVICE35) {
8640
8599
  return this.ctx.http.request({
8641
8600
  method: "POST",
8642
8601
  path: `${this.base()}/search/users`,
@@ -8697,7 +8656,6 @@ var EmporixClient = class {
8697
8656
  invoices;
8698
8657
  quotes;
8699
8658
  returns;
8700
- sepaExport;
8701
8659
  indexing;
8702
8660
  imports;
8703
8661
  units;
@@ -8772,7 +8730,6 @@ var EmporixClient = class {
8772
8730
  this.invoices = new InvoiceService(mk(InvoiceService.channel));
8773
8731
  this.quotes = new QuoteService(mk(QuoteService.channel));
8774
8732
  this.returns = new ReturnsService(mk(ReturnsService.channel));
8775
- this.sepaExport = new SepaExportService(mk(SepaExportService.channel));
8776
8733
  this.indexing = new IndexingService(mk(IndexingService.channel));
8777
8734
  this.imports = new ImportService(mk(ImportService.channel));
8778
8735
  this.units = new UnitHandlingService(mk(UnitHandlingService.channel));
@@ -8903,7 +8860,6 @@ exports.STORAGE_KEYS = STORAGE_KEYS;
8903
8860
  exports.SalesOrdersService = SalesOrdersService;
8904
8861
  exports.SchemaService = SchemaService;
8905
8862
  exports.SegmentService = SegmentService;
8906
- exports.SepaExportService = SepaExportService;
8907
8863
  exports.SequentialIdService = SequentialIdService;
8908
8864
  exports.SessionContextService = SessionContextService;
8909
8865
  exports.ShippingService = ShippingService;