@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.js CHANGED
@@ -702,7 +702,7 @@ var HttpClient = class {
702
702
  };
703
703
 
704
704
  // package.json
705
- var version = "2.38.1";
705
+ var version = "3.0.0";
706
706
 
707
707
  // src/version.ts
708
708
  var SDK_VERSION = version;
@@ -3878,49 +3878,8 @@ var ReturnsService = class {
3878
3878
  }
3879
3879
  };
3880
3880
 
3881
- // src/services/sepa-export.ts
3882
- var SERVICE21 = { kind: "service" };
3883
- var SepaExportService = class {
3884
- constructor(ctx) {
3885
- this.ctx = ctx;
3886
- }
3887
- ctx;
3888
- static channel = "sepa-export";
3889
- base() {
3890
- return `/sepa-export/${this.ctx.tenant}`;
3891
- }
3892
- /** Retrieve a SEPA export file by id. Returns the raw file content (text). */
3893
- async getFile(fileId, auth2 = SERVICE21) {
3894
- const path = `${this.base()}/files/${encodeURIComponent(fileId)}`;
3895
- const res = await this.ctx.http.requestRaw({ method: "GET", path, auth: auth2 });
3896
- if (!res.ok) {
3897
- const errBody = await res.text().catch(() => void 0);
3898
- throw errorFromResponse(res.status, `GET ${path} \u2192 ${res.status}`, errBody);
3899
- }
3900
- return res.text();
3901
- }
3902
- /** List export jobs. */
3903
- async listJobs(query = {}, auth2 = SERVICE21) {
3904
- return this.ctx.http.request({
3905
- method: "GET",
3906
- path: `${this.base()}/jobs`,
3907
- auth: auth2,
3908
- ...Object.keys(query).length ? { query } : {}
3909
- });
3910
- }
3911
- /** Create an export job. */
3912
- async createJob(input, auth2 = SERVICE21) {
3913
- return this.ctx.http.request({
3914
- method: "POST",
3915
- path: `${this.base()}/jobs`,
3916
- auth: auth2,
3917
- body: input
3918
- });
3919
- }
3920
- };
3921
-
3922
3881
  // src/services/indexing.ts
3923
- var SERVICE22 = { kind: "service" };
3882
+ var SERVICE21 = { kind: "service" };
3924
3883
  var IndexingService = class {
3925
3884
  constructor(ctx) {
3926
3885
  this.ctx = ctx;
@@ -3931,11 +3890,11 @@ var IndexingService = class {
3931
3890
  return `/indexing/${this.ctx.tenant}`;
3932
3891
  }
3933
3892
  /** List indexing configurations. */
3934
- async listConfigurations(auth2 = SERVICE22) {
3893
+ async listConfigurations(auth2 = SERVICE21) {
3935
3894
  return this.ctx.http.request({ method: "GET", path: `${this.base()}/configurations`, auth: auth2 });
3936
3895
  }
3937
3896
  /** Get a configuration by provider name. */
3938
- async getConfiguration(provider, auth2 = SERVICE22) {
3897
+ async getConfiguration(provider, auth2 = SERVICE21) {
3939
3898
  return this.ctx.http.request({
3940
3899
  method: "GET",
3941
3900
  path: `${this.base()}/configurations/${encodeURIComponent(provider)}`,
@@ -3943,7 +3902,7 @@ var IndexingService = class {
3943
3902
  });
3944
3903
  }
3945
3904
  /** Create a configuration. */
3946
- async createConfiguration(input, auth2 = SERVICE22) {
3905
+ async createConfiguration(input, auth2 = SERVICE21) {
3947
3906
  return this.ctx.http.request({
3948
3907
  method: "POST",
3949
3908
  path: `${this.base()}/configurations`,
@@ -3952,7 +3911,7 @@ var IndexingService = class {
3952
3911
  });
3953
3912
  }
3954
3913
  /** Update a configuration by provider name. */
3955
- async updateConfiguration(provider, input, auth2 = SERVICE22) {
3914
+ async updateConfiguration(provider, input, auth2 = SERVICE21) {
3956
3915
  await this.ctx.http.request({
3957
3916
  method: "PUT",
3958
3917
  path: `${this.base()}/configurations/${encodeURIComponent(provider)}`,
@@ -3961,7 +3920,7 @@ var IndexingService = class {
3961
3920
  });
3962
3921
  }
3963
3922
  /** Delete a configuration by provider name. */
3964
- async deleteConfiguration(provider, auth2 = SERVICE22) {
3923
+ async deleteConfiguration(provider, auth2 = SERVICE21) {
3965
3924
  await this.ctx.http.request({
3966
3925
  method: "DELETE",
3967
3926
  path: `${this.base()}/configurations/${encodeURIComponent(provider)}`,
@@ -3969,11 +3928,11 @@ var IndexingService = class {
3969
3928
  });
3970
3929
  }
3971
3930
  /** List public indexing configurations. */
3972
- async listPublicConfigurations(auth2 = SERVICE22) {
3931
+ async listPublicConfigurations(auth2 = SERVICE21) {
3973
3932
  return this.ctx.http.request({ method: "GET", path: `${this.base()}/public/configurations`, auth: auth2 });
3974
3933
  }
3975
3934
  /** Get a public configuration by provider name. */
3976
- async getPublicConfiguration(provider, auth2 = SERVICE22) {
3935
+ async getPublicConfiguration(provider, auth2 = SERVICE21) {
3977
3936
  return this.ctx.http.request({
3978
3937
  method: "GET",
3979
3938
  path: `${this.base()}/public/configurations/${encodeURIComponent(provider)}`,
@@ -3986,7 +3945,7 @@ var IndexingService = class {
3986
3945
  * (PRODUCT only). Resolves to the created job (`201`) or, when a job for that
3987
3946
  * `entityType` is already `IN_PROGRESS`, that running job (`200`).
3988
3947
  */
3989
- async createReindexJob(input, auth2 = SERVICE22) {
3948
+ async createReindexJob(input, auth2 = SERVICE21) {
3990
3949
  return this.ctx.http.request({
3991
3950
  method: "POST",
3992
3951
  path: `${this.base()}/reindex-jobs`,
@@ -3995,7 +3954,7 @@ var IndexingService = class {
3995
3954
  });
3996
3955
  }
3997
3956
  /** List reindex jobs (paginated). */
3998
- async listReindexJobs(opts = {}, auth2 = SERVICE22) {
3957
+ async listReindexJobs(opts = {}, auth2 = SERVICE21) {
3999
3958
  const pageNumber = opts.pageNumber ?? 1;
4000
3959
  const pageSize = opts.pageSize ?? 50;
4001
3960
  const query = { pageNumber, pageSize };
@@ -4016,7 +3975,7 @@ var IndexingService = class {
4016
3975
  );
4017
3976
  }
4018
3977
  /** Fetch one reindex job by id. */
4019
- async getReindexJob(reindexJobId, auth2 = SERVICE22) {
3978
+ async getReindexJob(reindexJobId, auth2 = SERVICE21) {
4020
3979
  return this.ctx.http.request({
4021
3980
  method: "GET",
4022
3981
  path: `${this.base()}/reindex-jobs/${encodeURIComponent(reindexJobId)}`,
@@ -4028,13 +3987,13 @@ var IndexingService = class {
4028
3987
  * @deprecated since 2026-06-18, removal 2026-12-01 — use {@link createReindexJob}
4029
3988
  * (`createReindexJob({ entityType: "PRODUCT" })`), which returns a trackable job.
4030
3989
  */
4031
- async reindex(input, auth2 = SERVICE22) {
3990
+ async reindex(input, auth2 = SERVICE21) {
4032
3991
  await this.ctx.http.request({ method: "POST", path: `${this.base()}/reindex`, auth: auth2, body: input });
4033
3992
  }
4034
3993
  };
4035
3994
 
4036
3995
  // src/services/imports.ts
4037
- var SERVICE23 = { kind: "service" };
3996
+ var SERVICE22 = { kind: "service" };
4038
3997
  var DEFAULT_PAGE_SIZE = 50;
4039
3998
  function pageArgs(opts) {
4040
3999
  return { pageNumber: opts.pageNumber ?? 1, pageSize: opts.pageSize ?? DEFAULT_PAGE_SIZE };
@@ -4084,7 +4043,7 @@ var ImportService = class {
4084
4043
  return `/importtool/${this.ctx.tenant}`;
4085
4044
  }
4086
4045
  /** List every import configuration of the tenant. */
4087
- async listConfigs(auth2 = SERVICE23) {
4046
+ async listConfigs(auth2 = SERVICE22) {
4088
4047
  return this.ctx.http.request({
4089
4048
  method: "GET",
4090
4049
  path: `${this.base()}/configs`,
@@ -4092,7 +4051,7 @@ var ImportService = class {
4092
4051
  });
4093
4052
  }
4094
4053
  /** Fetch one configuration by id. */
4095
- async getConfig(id, auth2 = SERVICE23) {
4054
+ async getConfig(id, auth2 = SERVICE22) {
4096
4055
  return this.ctx.http.request({
4097
4056
  method: "GET",
4098
4057
  path: `${this.base()}/configs/${encodeURIComponent(id)}`,
@@ -4100,7 +4059,7 @@ var ImportService = class {
4100
4059
  });
4101
4060
  }
4102
4061
  /** List the streams of one configuration. */
4103
- async listStreams(configId, auth2 = SERVICE23) {
4062
+ async listStreams(configId, auth2 = SERVICE22) {
4104
4063
  return this.ctx.http.request({
4105
4064
  method: "GET",
4106
4065
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/streams`,
@@ -4108,7 +4067,7 @@ var ImportService = class {
4108
4067
  });
4109
4068
  }
4110
4069
  /** Fetch one stream by id. */
4111
- async getStream(id, auth2 = SERVICE23) {
4070
+ async getStream(id, auth2 = SERVICE22) {
4112
4071
  return this.ctx.http.request({
4113
4072
  method: "GET",
4114
4073
  path: `${this.base()}/streams/${encodeURIComponent(id)}`,
@@ -4120,7 +4079,7 @@ var ImportService = class {
4120
4079
  * configured — the service answers `204`, not `404`, so an absent schedule is
4121
4080
  * a normal result rather than an error.
4122
4081
  */
4123
- async getSchedule(configId, auth2 = SERVICE23) {
4082
+ async getSchedule(configId, auth2 = SERVICE22) {
4124
4083
  const res = await this.ctx.http.request({
4125
4084
  method: "GET",
4126
4085
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/schedule`,
@@ -4129,7 +4088,7 @@ var ImportService = class {
4129
4088
  return res ?? null;
4130
4089
  }
4131
4090
  /** Create or replace a configuration's schedule. */
4132
- async setSchedule(configId, input, auth2 = SERVICE23) {
4091
+ async setSchedule(configId, input, auth2 = SERVICE22) {
4133
4092
  return this.ctx.http.request({
4134
4093
  method: "PUT",
4135
4094
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/schedule`,
@@ -4143,7 +4102,7 @@ var ImportService = class {
4143
4102
  *
4144
4103
  * Not retried on a 5xx: a POST that timed out may already have queued a run.
4145
4104
  */
4146
- async triggerRun(configId, input = {}, auth2 = SERVICE23) {
4105
+ async triggerRun(configId, input = {}, auth2 = SERVICE22) {
4147
4106
  return this.ctx.http.request({
4148
4107
  method: "POST",
4149
4108
  path: `${this.base()}/configs/${encodeURIComponent(configId)}/runs`,
@@ -4152,7 +4111,7 @@ var ImportService = class {
4152
4111
  });
4153
4112
  }
4154
4113
  /** List a configuration's runs, newest first. */
4155
- async listRuns(configId, opts = {}, auth2 = SERVICE23) {
4114
+ async listRuns(configId, opts = {}, auth2 = SERVICE22) {
4156
4115
  const args = pageArgs(opts);
4157
4116
  const wire = await this.ctx.http.request({
4158
4117
  method: "GET",
@@ -4163,7 +4122,7 @@ var ImportService = class {
4163
4122
  return toPage(wire, args);
4164
4123
  }
4165
4124
  /** Fetch one run with its per-stream progress. */
4166
- async getRun(runId, auth2 = SERVICE23) {
4125
+ async getRun(runId, auth2 = SERVICE22) {
4167
4126
  return this.ctx.http.request({
4168
4127
  method: "GET",
4169
4128
  path: `${this.base()}/runs/${encodeURIComponent(runId)}`,
@@ -4183,7 +4142,7 @@ var ImportService = class {
4183
4142
  * arrive as `{ type: "unknown" }` rather than throwing — see
4184
4143
  * {@link ImportRunEvent}.
4185
4144
  */
4186
- async *streamRun(runId, auth2 = SERVICE23) {
4145
+ async *streamRun(runId, auth2 = SERVICE22) {
4187
4146
  const frames = this.ctx.http.requestStream({
4188
4147
  method: "GET",
4189
4148
  path: `${this.base()}/runs/${encodeURIComponent(runId)}/events`,
@@ -4198,7 +4157,7 @@ var ImportService = class {
4198
4157
  * a result, not an error. A state conflict may instead come back as a `409`,
4199
4158
  * which does throw.
4200
4159
  */
4201
- async cancelRun(runId, opts = {}, auth2 = SERVICE23) {
4160
+ async cancelRun(runId, opts = {}, auth2 = SERVICE22) {
4202
4161
  const query = {};
4203
4162
  if (opts.force) query.force = "true";
4204
4163
  return this.ctx.http.request({
@@ -4209,7 +4168,7 @@ var ImportService = class {
4209
4168
  });
4210
4169
  }
4211
4170
  /** List the errors recorded during a run. */
4212
- async listRunErrors(runId, opts = {}, auth2 = SERVICE23) {
4171
+ async listRunErrors(runId, opts = {}, auth2 = SERVICE22) {
4213
4172
  const args = pageArgs(opts);
4214
4173
  const wire = await this.ctx.http.request({
4215
4174
  method: "GET",
@@ -4220,7 +4179,7 @@ var ImportService = class {
4220
4179
  return toPage(wire, args);
4221
4180
  }
4222
4181
  /** List the target types that hold imported records — the valid `type` values for {@link searchRecords}. */
4223
- async listDataTypes(auth2 = SERVICE23) {
4182
+ async listDataTypes(auth2 = SERVICE22) {
4224
4183
  return this.ctx.http.request({
4225
4184
  method: "GET",
4226
4185
  path: `${this.base()}/data/types`,
@@ -4228,7 +4187,7 @@ var ImportService = class {
4228
4187
  });
4229
4188
  }
4230
4189
  /** Search imported records of one target type. */
4231
- async searchRecords(opts, auth2 = SERVICE23) {
4190
+ async searchRecords(opts, auth2 = SERVICE22) {
4232
4191
  const args = pageArgs(opts);
4233
4192
  const query = {
4234
4193
  type: opts.type,
@@ -4246,7 +4205,7 @@ var ImportService = class {
4246
4205
  return toPage(wire, args);
4247
4206
  }
4248
4207
  /** Search the imported records produced by one stream. */
4249
- async searchStreamRecords(streamId, opts = {}, auth2 = SERVICE23) {
4208
+ async searchStreamRecords(streamId, opts = {}, auth2 = SERVICE22) {
4250
4209
  const args = pageArgs(opts);
4251
4210
  const query = {
4252
4211
  page: args.pageNumber - 1,
@@ -4265,7 +4224,7 @@ var ImportService = class {
4265
4224
  };
4266
4225
 
4267
4226
  // src/services/unit-handling.ts
4268
- var SERVICE24 = { kind: "service" };
4227
+ var SERVICE23 = { kind: "service" };
4269
4228
  var UnitHandlingService = class {
4270
4229
  constructor(ctx) {
4271
4230
  this.ctx = ctx;
@@ -4276,7 +4235,7 @@ var UnitHandlingService = class {
4276
4235
  return `/unit-handling/${this.ctx.tenant}`;
4277
4236
  }
4278
4237
  /** Find units (filter/sort/page). */
4279
- async listUnits(query = {}, auth2 = SERVICE24) {
4238
+ async listUnits(query = {}, auth2 = SERVICE23) {
4280
4239
  return this.ctx.http.request({
4281
4240
  method: "GET",
4282
4241
  path: `${this.base()}/units`,
@@ -4285,7 +4244,7 @@ var UnitHandlingService = class {
4285
4244
  });
4286
4245
  }
4287
4246
  /** Retrieve a unit by code. */
4288
- async getUnit(unitCode, auth2 = SERVICE24) {
4247
+ async getUnit(unitCode, auth2 = SERVICE23) {
4289
4248
  return this.ctx.http.request({
4290
4249
  method: "GET",
4291
4250
  path: `${this.base()}/units/${encodeURIComponent(unitCode)}`,
@@ -4293,11 +4252,11 @@ var UnitHandlingService = class {
4293
4252
  });
4294
4253
  }
4295
4254
  /** Add a new unit. */
4296
- async createUnit(input, auth2 = SERVICE24) {
4255
+ async createUnit(input, auth2 = SERVICE23) {
4297
4256
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/units`, auth: auth2, body: input });
4298
4257
  }
4299
4258
  /** Update a unit by code. */
4300
- async updateUnit(unitCode, input, auth2 = SERVICE24) {
4259
+ async updateUnit(unitCode, input, auth2 = SERVICE23) {
4301
4260
  await this.ctx.http.request({
4302
4261
  method: "PUT",
4303
4262
  path: `${this.base()}/units/${encodeURIComponent(unitCode)}`,
@@ -4306,7 +4265,7 @@ var UnitHandlingService = class {
4306
4265
  });
4307
4266
  }
4308
4267
  /** Delete a unit by code. */
4309
- async deleteUnit(unitCode, auth2 = SERVICE24) {
4268
+ async deleteUnit(unitCode, auth2 = SERVICE23) {
4310
4269
  await this.ctx.http.request({
4311
4270
  method: "DELETE",
4312
4271
  path: `${this.base()}/units/${encodeURIComponent(unitCode)}`,
@@ -4314,7 +4273,7 @@ var UnitHandlingService = class {
4314
4273
  });
4315
4274
  }
4316
4275
  /** Delete multiple units by code (bulk). The codes are sent as the request body. */
4317
- async deleteUnits(codes, auth2 = SERVICE24) {
4276
+ async deleteUnits(codes, auth2 = SERVICE23) {
4318
4277
  await this.ctx.http.request({
4319
4278
  method: "DELETE",
4320
4279
  path: `${this.base()}/units`,
@@ -4323,7 +4282,7 @@ var UnitHandlingService = class {
4323
4282
  });
4324
4283
  }
4325
4284
  /** Fetch a conversion factor (`PUT /units/conversion-factor-commands`). */
4326
- async getConversionFactor(input, auth2 = SERVICE24) {
4285
+ async getConversionFactor(input, auth2 = SERVICE23) {
4327
4286
  return this.ctx.http.request({
4328
4287
  method: "PUT",
4329
4288
  path: `${this.base()}/units/conversion-factor-commands`,
@@ -4332,7 +4291,7 @@ var UnitHandlingService = class {
4332
4291
  });
4333
4292
  }
4334
4293
  /** Convert a value between units (`PUT /units/convert-unit-commands`). */
4335
- async convertUnit(input, auth2 = SERVICE24) {
4294
+ async convertUnit(input, auth2 = SERVICE23) {
4336
4295
  return this.ctx.http.request({
4337
4296
  method: "PUT",
4338
4297
  path: `${this.base()}/units/convert-unit-commands`,
@@ -4341,13 +4300,13 @@ var UnitHandlingService = class {
4341
4300
  });
4342
4301
  }
4343
4302
  /** List all unit types. */
4344
- async listUnitTypes(auth2 = SERVICE24) {
4303
+ async listUnitTypes(auth2 = SERVICE23) {
4345
4304
  return this.ctx.http.request({ method: "GET", path: `${this.base()}/types`, auth: auth2 });
4346
4305
  }
4347
4306
  };
4348
4307
 
4349
4308
  // src/services/catalog.ts
4350
- var SERVICE25 = { kind: "service" };
4309
+ var SERVICE24 = { kind: "service" };
4351
4310
  var CatalogService = class {
4352
4311
  constructor(ctx) {
4353
4312
  this.ctx = ctx;
@@ -4358,7 +4317,7 @@ var CatalogService = class {
4358
4317
  return `/catalog/${this.ctx.tenant}/catalogs`;
4359
4318
  }
4360
4319
  /** List catalogs (filtered/sorted). */
4361
- async listCatalogs(query = {}, auth2 = SERVICE25) {
4320
+ async listCatalogs(query = {}, auth2 = SERVICE24) {
4362
4321
  return this.ctx.http.request({
4363
4322
  method: "GET",
4364
4323
  path: this.base(),
@@ -4367,7 +4326,7 @@ var CatalogService = class {
4367
4326
  });
4368
4327
  }
4369
4328
  /** Retrieve a catalog by id. */
4370
- async getCatalog(catalogId, auth2 = SERVICE25) {
4329
+ async getCatalog(catalogId, auth2 = SERVICE24) {
4371
4330
  return this.ctx.http.request({
4372
4331
  method: "GET",
4373
4332
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -4375,7 +4334,7 @@ var CatalogService = class {
4375
4334
  });
4376
4335
  }
4377
4336
  /** Retrieve all catalogs that contain a category. */
4378
- async getCatalogsForCategory(categoryId, auth2 = SERVICE25) {
4337
+ async getCatalogsForCategory(categoryId, auth2 = SERVICE24) {
4379
4338
  return this.ctx.http.request({
4380
4339
  method: "GET",
4381
4340
  path: `${this.base()}/categories/${encodeURIComponent(categoryId)}`,
@@ -4383,11 +4342,11 @@ var CatalogService = class {
4383
4342
  });
4384
4343
  }
4385
4344
  /** Create a catalog. */
4386
- async createCatalog(input, auth2 = SERVICE25) {
4345
+ async createCatalog(input, auth2 = SERVICE24) {
4387
4346
  return this.ctx.http.request({ method: "POST", path: this.base(), auth: auth2, body: input });
4388
4347
  }
4389
4348
  /** Upsert a catalog by id (`PUT`). */
4390
- async updateCatalog(catalogId, input, auth2 = SERVICE25) {
4349
+ async updateCatalog(catalogId, input, auth2 = SERVICE24) {
4391
4350
  return this.ctx.http.request({
4392
4351
  method: "PUT",
4393
4352
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -4396,7 +4355,7 @@ var CatalogService = class {
4396
4355
  });
4397
4356
  }
4398
4357
  /** Partially update a catalog by id (`PATCH`). */
4399
- async patchCatalog(catalogId, patch, auth2 = SERVICE25) {
4358
+ async patchCatalog(catalogId, patch, auth2 = SERVICE24) {
4400
4359
  await this.ctx.http.request({
4401
4360
  method: "PATCH",
4402
4361
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -4405,7 +4364,7 @@ var CatalogService = class {
4405
4364
  });
4406
4365
  }
4407
4366
  /** Remove a catalog by id. */
4408
- async deleteCatalog(catalogId, auth2 = SERVICE25) {
4367
+ async deleteCatalog(catalogId, auth2 = SERVICE24) {
4409
4368
  await this.ctx.http.request({
4410
4369
  method: "DELETE",
4411
4370
  path: `${this.base()}/${encodeURIComponent(catalogId)}`,
@@ -4415,7 +4374,7 @@ var CatalogService = class {
4415
4374
  };
4416
4375
 
4417
4376
  // src/services/vendor.ts
4418
- var SERVICE26 = { kind: "service" };
4377
+ var SERVICE25 = { kind: "service" };
4419
4378
  var VendorService = class {
4420
4379
  constructor(ctx) {
4421
4380
  this.ctx = ctx;
@@ -4427,7 +4386,7 @@ var VendorService = class {
4427
4386
  }
4428
4387
  // --- Vendors ---
4429
4388
  /** List all vendors. */
4430
- async listVendors(query = {}, auth2 = SERVICE26) {
4389
+ async listVendors(query = {}, auth2 = SERVICE25) {
4431
4390
  return this.ctx.http.request({
4432
4391
  method: "GET",
4433
4392
  path: `${this.base()}/vendors`,
@@ -4436,7 +4395,7 @@ var VendorService = class {
4436
4395
  });
4437
4396
  }
4438
4397
  /** Retrieve a vendor by id. */
4439
- async getVendor(vendorId, auth2 = SERVICE26) {
4398
+ async getVendor(vendorId, auth2 = SERVICE25) {
4440
4399
  return this.ctx.http.request({
4441
4400
  method: "GET",
4442
4401
  path: `${this.base()}/vendors/${encodeURIComponent(vendorId)}`,
@@ -4444,7 +4403,7 @@ var VendorService = class {
4444
4403
  });
4445
4404
  }
4446
4405
  /** Search vendors (`POST /vendors/search`). A built filter in `q` is resolved to a string. */
4447
- async searchVendors(query, auth2 = SERVICE26) {
4406
+ async searchVendors(query, auth2 = SERVICE25) {
4448
4407
  const body = query.q !== void 0 ? { ...query, q: resolveQuery(query.q, { compoundLogicalQuery: false }) } : query;
4449
4408
  return this.ctx.http.request({
4450
4409
  method: "POST",
@@ -4454,11 +4413,11 @@ var VendorService = class {
4454
4413
  });
4455
4414
  }
4456
4415
  /** Create a vendor. */
4457
- async createVendor(input, auth2 = SERVICE26) {
4416
+ async createVendor(input, auth2 = SERVICE25) {
4458
4417
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/vendors`, auth: auth2, body: input });
4459
4418
  }
4460
4419
  /** Upsert a vendor by id (`PUT`). */
4461
- async updateVendor(vendorId, input, auth2 = SERVICE26) {
4420
+ async updateVendor(vendorId, input, auth2 = SERVICE25) {
4462
4421
  await this.ctx.http.request({
4463
4422
  method: "PUT",
4464
4423
  path: `${this.base()}/vendors/${encodeURIComponent(vendorId)}`,
@@ -4467,7 +4426,7 @@ var VendorService = class {
4467
4426
  });
4468
4427
  }
4469
4428
  /** Delete a vendor by id. */
4470
- async deleteVendor(vendorId, auth2 = SERVICE26) {
4429
+ async deleteVendor(vendorId, auth2 = SERVICE25) {
4471
4430
  await this.ctx.http.request({
4472
4431
  method: "DELETE",
4473
4432
  path: `${this.base()}/vendors/${encodeURIComponent(vendorId)}`,
@@ -4476,7 +4435,7 @@ var VendorService = class {
4476
4435
  }
4477
4436
  // --- Vendor locations ---
4478
4437
  /** List all vendor locations. */
4479
- async listVendorLocations(query = {}, auth2 = SERVICE26) {
4438
+ async listVendorLocations(query = {}, auth2 = SERVICE25) {
4480
4439
  return this.ctx.http.request({
4481
4440
  method: "GET",
4482
4441
  path: `${this.base()}/locations`,
@@ -4485,7 +4444,7 @@ var VendorService = class {
4485
4444
  });
4486
4445
  }
4487
4446
  /** Retrieve a vendor location by id. */
4488
- async getVendorLocation(locationId, auth2 = SERVICE26) {
4447
+ async getVendorLocation(locationId, auth2 = SERVICE25) {
4489
4448
  return this.ctx.http.request({
4490
4449
  method: "GET",
4491
4450
  path: `${this.base()}/locations/${encodeURIComponent(locationId)}`,
@@ -4493,11 +4452,11 @@ var VendorService = class {
4493
4452
  });
4494
4453
  }
4495
4454
  /** Create a vendor location. */
4496
- async createVendorLocation(input, auth2 = SERVICE26) {
4455
+ async createVendorLocation(input, auth2 = SERVICE25) {
4497
4456
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/locations`, auth: auth2, body: input });
4498
4457
  }
4499
4458
  /** Upsert a vendor location by id (`PUT`). */
4500
- async updateVendorLocation(locationId, input, auth2 = SERVICE26) {
4459
+ async updateVendorLocation(locationId, input, auth2 = SERVICE25) {
4501
4460
  await this.ctx.http.request({
4502
4461
  method: "PUT",
4503
4462
  path: `${this.base()}/locations/${encodeURIComponent(locationId)}`,
@@ -4506,7 +4465,7 @@ var VendorService = class {
4506
4465
  });
4507
4466
  }
4508
4467
  /** Delete a vendor location by id. */
4509
- async deleteVendorLocation(locationId, auth2 = SERVICE26) {
4468
+ async deleteVendorLocation(locationId, auth2 = SERVICE25) {
4510
4469
  await this.ctx.http.request({
4511
4470
  method: "DELETE",
4512
4471
  path: `${this.base()}/locations/${encodeURIComponent(locationId)}`,
@@ -4516,7 +4475,7 @@ var VendorService = class {
4516
4475
  };
4517
4476
 
4518
4477
  // src/services/pick-pack.ts
4519
- var SERVICE27 = { kind: "service" };
4478
+ var SERVICE26 = { kind: "service" };
4520
4479
  var PickPackService = class {
4521
4480
  constructor(ctx) {
4522
4481
  this.ctx = ctx;
@@ -4530,7 +4489,7 @@ var PickPackService = class {
4530
4489
  return `${this.base()}/orders/${encodeURIComponent(orderId)}`;
4531
4490
  }
4532
4491
  /** List packlist orders. */
4533
- async listOrders(query = {}, auth2 = SERVICE27) {
4492
+ async listOrders(query = {}, auth2 = SERVICE26) {
4534
4493
  return this.ctx.http.request({
4535
4494
  method: "GET",
4536
4495
  path: `${this.base()}/orders`,
@@ -4539,19 +4498,19 @@ var PickPackService = class {
4539
4498
  });
4540
4499
  }
4541
4500
  /** Retrieve a packlist order by id. */
4542
- async getOrder(orderId, auth2 = SERVICE27) {
4501
+ async getOrder(orderId, auth2 = SERVICE26) {
4543
4502
  return this.ctx.http.request({ method: "GET", path: this.orderPath(orderId), auth: auth2 });
4544
4503
  }
4545
4504
  /** Update an order's status (`PATCH`). Returns an acknowledgement. */
4546
- async updateOrder(orderId, change, auth2 = SERVICE27) {
4505
+ async updateOrder(orderId, change, auth2 = SERVICE26) {
4547
4506
  return this.ctx.http.request({ method: "PATCH", path: this.orderPath(orderId), auth: auth2, body: change });
4548
4507
  }
4549
4508
  /** Finish an order. Returns an acknowledgement. */
4550
- async finishOrder(orderId, auth2 = SERVICE27) {
4509
+ async finishOrder(orderId, auth2 = SERVICE26) {
4551
4510
  return this.ctx.http.request({ method: "POST", path: `${this.orderPath(orderId)}/finish`, auth: auth2 });
4552
4511
  }
4553
4512
  /** List order cycles (ids). */
4554
- async listOrderCycles(query = {}, auth2 = SERVICE27) {
4513
+ async listOrderCycles(query = {}, auth2 = SERVICE26) {
4555
4514
  return this.ctx.http.request({
4556
4515
  method: "GET",
4557
4516
  path: `${this.base()}/orderCycles`,
@@ -4560,11 +4519,11 @@ var PickPackService = class {
4560
4519
  });
4561
4520
  }
4562
4521
  /** Add an assignee to an order. Returns an acknowledgement. */
4563
- async addAssignee(orderId, assignee, auth2 = SERVICE27) {
4522
+ async addAssignee(orderId, assignee, auth2 = SERVICE26) {
4564
4523
  return this.ctx.http.request({ method: "POST", path: `${this.orderPath(orderId)}/assignees`, auth: auth2, body: assignee });
4565
4524
  }
4566
4525
  /** Remove an assignee from an order. */
4567
- async removeAssignee(orderId, assigneeId, auth2 = SERVICE27) {
4526
+ async removeAssignee(orderId, assigneeId, auth2 = SERVICE26) {
4568
4527
  await this.ctx.http.request({
4569
4528
  method: "DELETE",
4570
4529
  path: `${this.orderPath(orderId)}/assignees/${encodeURIComponent(assigneeId)}`,
@@ -4572,15 +4531,15 @@ var PickPackService = class {
4572
4531
  });
4573
4532
  }
4574
4533
  /** Update packaging products for an order (`PUT`). Returns an acknowledgement. */
4575
- async updatePackaging(orderId, change, auth2 = SERVICE27) {
4534
+ async updatePackaging(orderId, change, auth2 = SERVICE26) {
4576
4535
  return this.ctx.http.request({ method: "PUT", path: `${this.orderPath(orderId)}/packaging`, auth: auth2, body: change });
4577
4536
  }
4578
4537
  /** Create a packing event. Returns an acknowledgement. */
4579
- async createEvent(event, auth2 = SERVICE27) {
4538
+ async createEvent(event, auth2 = SERVICE26) {
4580
4539
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/events`, auth: auth2, body: event });
4581
4540
  }
4582
4541
  /** List packing events. */
4583
- async listEvents(query = {}, auth2 = SERVICE27) {
4542
+ async listEvents(query = {}, auth2 = SERVICE26) {
4584
4543
  return this.ctx.http.request({
4585
4544
  method: "GET",
4586
4545
  path: `${this.base()}/events`,
@@ -4589,7 +4548,7 @@ var PickPackService = class {
4589
4548
  });
4590
4549
  }
4591
4550
  /** Trigger an order recalculation. Returns the created job's id. */
4592
- async triggerRecalculation(input, auth2 = SERVICE27) {
4551
+ async triggerRecalculation(input, auth2 = SERVICE26) {
4593
4552
  return this.ctx.http.request({
4594
4553
  method: "POST",
4595
4554
  path: `${this.base()}/jobs/recalculations`,
@@ -4598,7 +4557,7 @@ var PickPackService = class {
4598
4557
  });
4599
4558
  }
4600
4559
  /** Retrieve a recalculation job by id. */
4601
- async getRecalculationJob(jobId, auth2 = SERVICE27) {
4560
+ async getRecalculationJob(jobId, auth2 = SERVICE26) {
4602
4561
  return this.ctx.http.request({
4603
4562
  method: "GET",
4604
4563
  path: `${this.base()}/jobs/recalculations/${encodeURIComponent(jobId)}`,
@@ -4608,7 +4567,7 @@ var PickPackService = class {
4608
4567
  };
4609
4568
 
4610
4569
  // src/services/customer-admin.ts
4611
- var SERVICE28 = { kind: "service" };
4570
+ var SERVICE27 = { kind: "service" };
4612
4571
  var CustomerAdminService = class {
4613
4572
  constructor(ctx) {
4614
4573
  this.ctx = ctx;
@@ -4629,7 +4588,7 @@ var CustomerAdminService = class {
4629
4588
  }
4630
4589
  // --- Customers ---
4631
4590
  /** List customers. */
4632
- async listCustomers(query = {}, auth2 = SERVICE28) {
4591
+ async listCustomers(query = {}, auth2 = SERVICE27) {
4633
4592
  return this.ctx.http.request({
4634
4593
  method: "GET",
4635
4594
  path: this.base(),
@@ -4638,33 +4597,33 @@ var CustomerAdminService = class {
4638
4597
  });
4639
4598
  }
4640
4599
  /** Search customers (`POST /customers/search`). A built filter in `q` is resolved to a string. */
4641
- async searchCustomers(query, auth2 = SERVICE28) {
4600
+ async searchCustomers(query, auth2 = SERVICE27) {
4642
4601
  const body = query.q !== void 0 ? { ...query, q: resolveQuery(query.q, { compoundLogicalQuery: false }) } : query;
4643
4602
  return this.ctx.http.request({ method: "POST", path: `${this.base()}/search`, auth: auth2, body });
4644
4603
  }
4645
4604
  /** Retrieve a customer profile by number. */
4646
- async getCustomer(customerNumber, auth2 = SERVICE28) {
4605
+ async getCustomer(customerNumber, auth2 = SERVICE27) {
4647
4606
  return this.ctx.http.request({ method: "GET", path: this.customerPath(customerNumber), auth: auth2 });
4648
4607
  }
4649
4608
  /** Create a customer. */
4650
- async createCustomer(input, auth2 = SERVICE28) {
4609
+ async createCustomer(input, auth2 = SERVICE27) {
4651
4610
  return this.ctx.http.request({ method: "POST", path: this.base(), auth: auth2, body: input });
4652
4611
  }
4653
4612
  /** Upsert a customer profile by number (`PUT`). */
4654
- async upsertCustomer(customerNumber, input, auth2 = SERVICE28) {
4613
+ async upsertCustomer(customerNumber, input, auth2 = SERVICE27) {
4655
4614
  return this.ctx.http.request({ method: "PUT", path: this.customerPath(customerNumber), auth: auth2, body: input });
4656
4615
  }
4657
4616
  /** Partially update a customer profile (`PATCH`). */
4658
- async patchCustomer(customerNumber, patch, auth2 = SERVICE28) {
4617
+ async patchCustomer(customerNumber, patch, auth2 = SERVICE27) {
4659
4618
  await this.ctx.http.request({ method: "PATCH", path: this.customerPath(customerNumber), auth: auth2, body: patch });
4660
4619
  }
4661
4620
  /** Delete a customer profile. */
4662
- async deleteCustomer(customerNumber, auth2 = SERVICE28) {
4621
+ async deleteCustomer(customerNumber, auth2 = SERVICE27) {
4663
4622
  await this.ctx.http.request({ method: "DELETE", path: this.customerPath(customerNumber), auth: auth2 });
4664
4623
  }
4665
4624
  // --- Addresses ---
4666
4625
  /** List a customer's addresses. */
4667
- async listAddresses(customerNumber, auth2 = SERVICE28) {
4626
+ async listAddresses(customerNumber, auth2 = SERVICE27) {
4668
4627
  return this.ctx.http.request({
4669
4628
  method: "GET",
4670
4629
  path: `${this.customerPath(customerNumber)}/addresses`,
@@ -4672,11 +4631,11 @@ var CustomerAdminService = class {
4672
4631
  });
4673
4632
  }
4674
4633
  /** Retrieve one address. */
4675
- async getAddress(customerNumber, addressId, auth2 = SERVICE28) {
4634
+ async getAddress(customerNumber, addressId, auth2 = SERVICE27) {
4676
4635
  return this.ctx.http.request({ method: "GET", path: this.addressPath(customerNumber, addressId), auth: auth2 });
4677
4636
  }
4678
4637
  /** Add an address. */
4679
- async addAddress(customerNumber, input, auth2 = SERVICE28) {
4638
+ async addAddress(customerNumber, input, auth2 = SERVICE27) {
4680
4639
  return this.ctx.http.request({
4681
4640
  method: "POST",
4682
4641
  path: `${this.customerPath(customerNumber)}/addresses`,
@@ -4685,19 +4644,19 @@ var CustomerAdminService = class {
4685
4644
  });
4686
4645
  }
4687
4646
  /** Upsert an address by id (`PUT`). */
4688
- async upsertAddress(customerNumber, addressId, input, auth2 = SERVICE28) {
4647
+ async upsertAddress(customerNumber, addressId, input, auth2 = SERVICE27) {
4689
4648
  return this.ctx.http.request({ method: "PUT", path: this.addressPath(customerNumber, addressId), auth: auth2, body: input });
4690
4649
  }
4691
4650
  /** Partially update an address by id (`PATCH`). */
4692
- async patchAddress(customerNumber, addressId, patch, auth2 = SERVICE28) {
4651
+ async patchAddress(customerNumber, addressId, patch, auth2 = SERVICE27) {
4693
4652
  await this.ctx.http.request({ method: "PATCH", path: this.addressPath(customerNumber, addressId), auth: auth2, body: patch });
4694
4653
  }
4695
4654
  /** Delete an address by id. */
4696
- async deleteAddress(customerNumber, addressId, auth2 = SERVICE28) {
4655
+ async deleteAddress(customerNumber, addressId, auth2 = SERVICE27) {
4697
4656
  await this.ctx.http.request({ method: "DELETE", path: this.addressPath(customerNumber, addressId), auth: auth2 });
4698
4657
  }
4699
4658
  /** Add tags to an address (`?tags=` query). */
4700
- async addAddressTags(customerNumber, addressId, tags, auth2 = SERVICE28) {
4659
+ async addAddressTags(customerNumber, addressId, tags, auth2 = SERVICE27) {
4701
4660
  await this.ctx.http.request({
4702
4661
  method: "POST",
4703
4662
  path: `${this.addressPath(customerNumber, addressId)}/tags`,
@@ -4706,7 +4665,7 @@ var CustomerAdminService = class {
4706
4665
  });
4707
4666
  }
4708
4667
  /** Remove tags from an address (`?tags=` query). */
4709
- async removeAddressTags(customerNumber, addressId, tags, auth2 = SERVICE28) {
4668
+ async removeAddressTags(customerNumber, addressId, tags, auth2 = SERVICE27) {
4710
4669
  await this.ctx.http.request({
4711
4670
  method: "DELETE",
4712
4671
  path: `${this.addressPath(customerNumber, addressId)}/tags`,
@@ -4720,7 +4679,7 @@ var CustomerAdminService = class {
4720
4679
  * `customer.import_read` scope. An unconfigured tenant answers with an empty
4721
4680
  * object rather than a 404.
4722
4681
  */
4723
- async getPasswordMigrationRetention(auth2 = SERVICE28) {
4682
+ async getPasswordMigrationRetention(auth2 = SERVICE27) {
4724
4683
  return this.ctx.http.request({
4725
4684
  method: "GET",
4726
4685
  path: this.configPath(),
@@ -4733,7 +4692,7 @@ var CustomerAdminService = class {
4733
4692
  * `legacyAuth`** — that import is rejected without an active config. Re-POST with
4734
4693
  * an earlier `retentionEndDate` to shorten a running window.
4735
4694
  */
4736
- async configurePasswordMigrationRetention(input, auth2 = SERVICE28) {
4695
+ async configurePasswordMigrationRetention(input, auth2 = SERVICE27) {
4737
4696
  return this.ctx.http.request({
4738
4697
  method: "POST",
4739
4698
  path: this.configPath(),
@@ -4746,7 +4705,7 @@ var CustomerAdminService = class {
4746
4705
  * Intended for after the migration window: when the window ends, unmigrated
4747
4706
  * accounts need a password reset and their legacy credentials are cleared.
4748
4707
  */
4749
- async deletePasswordMigrationRetention(auth2 = SERVICE28) {
4708
+ async deletePasswordMigrationRetention(auth2 = SERVICE27) {
4750
4709
  await this.ctx.http.request({ method: "DELETE", path: this.configPath(), auth: auth2 });
4751
4710
  }
4752
4711
  // --- Bulk import ---
@@ -4759,7 +4718,7 @@ var CustomerAdminService = class {
4759
4718
  * `account.legacyAuth`, and importing `legacyAuth` requires an active retention
4760
4719
  * config (see `configurePasswordMigrationRetention`).
4761
4720
  */
4762
- async importCustomers(input, auth2 = SERVICE28) {
4721
+ async importCustomers(input, auth2 = SERVICE27) {
4763
4722
  return this.ctx.http.request({
4764
4723
  method: "POST",
4765
4724
  path: `${this.base()}/import`,
@@ -4770,7 +4729,7 @@ var CustomerAdminService = class {
4770
4729
  };
4771
4730
 
4772
4731
  // src/services/approval.ts
4773
- var SERVICE29 = { kind: "service" };
4732
+ var SERVICE28 = { kind: "service" };
4774
4733
  var ApprovalService = class {
4775
4734
  constructor(ctx) {
4776
4735
  this.ctx = ctx;
@@ -4781,7 +4740,7 @@ var ApprovalService = class {
4781
4740
  return `/approval/${this.ctx.tenant}`;
4782
4741
  }
4783
4742
  /** List approvals (paged via `pageNumber`/`pageSize`/`sort`/`q`). Returns an array. */
4784
- async listApprovals(query = {}, auth2 = SERVICE29) {
4743
+ async listApprovals(query = {}, auth2 = SERVICE28) {
4785
4744
  return this.ctx.http.request({
4786
4745
  method: "GET",
4787
4746
  path: `${this.base()}/approvals`,
@@ -4790,7 +4749,7 @@ var ApprovalService = class {
4790
4749
  });
4791
4750
  }
4792
4751
  /** Retrieve a single approval by id. */
4793
- async getApproval(approvalId, auth2 = SERVICE29) {
4752
+ async getApproval(approvalId, auth2 = SERVICE28) {
4794
4753
  return this.ctx.http.request({
4795
4754
  method: "GET",
4796
4755
  path: `${this.base()}/approvals/${encodeURIComponent(approvalId)}`,
@@ -4798,7 +4757,7 @@ var ApprovalService = class {
4798
4757
  });
4799
4758
  }
4800
4759
  /** Create an approval request (cart or quote). Returns the created `{ id }`. */
4801
- async createApproval(input, auth2 = SERVICE29) {
4760
+ async createApproval(input, auth2 = SERVICE28) {
4802
4761
  return this.ctx.http.request({
4803
4762
  method: "POST",
4804
4763
  path: `${this.base()}/approvals`,
@@ -4807,7 +4766,7 @@ var ApprovalService = class {
4807
4766
  });
4808
4767
  }
4809
4768
  /** Approve/reject/amend an approval via a JSON-Patch op-array (`PATCH`). */
4810
- async updateApproval(approvalId, ops, auth2 = SERVICE29) {
4769
+ async updateApproval(approvalId, ops, auth2 = SERVICE28) {
4811
4770
  await this.ctx.http.request({
4812
4771
  method: "PATCH",
4813
4772
  path: `${this.base()}/approvals/${encodeURIComponent(approvalId)}`,
@@ -4816,7 +4775,7 @@ var ApprovalService = class {
4816
4775
  });
4817
4776
  }
4818
4777
  /** Delete an approval by id. */
4819
- async deleteApproval(approvalId, auth2 = SERVICE29) {
4778
+ async deleteApproval(approvalId, auth2 = SERVICE28) {
4820
4779
  await this.ctx.http.request({
4821
4780
  method: "DELETE",
4822
4781
  path: `${this.base()}/approvals/${encodeURIComponent(approvalId)}`,
@@ -4824,7 +4783,7 @@ var ApprovalService = class {
4824
4783
  });
4825
4784
  }
4826
4785
  /** Check whether an operation on a resource is permitted / needs approval. */
4827
- async checkPermitted(input, auth2 = SERVICE29) {
4786
+ async checkPermitted(input, auth2 = SERVICE28) {
4828
4787
  return this.ctx.http.request({
4829
4788
  method: "POST",
4830
4789
  path: `${this.base()}/approval/permitted`,
@@ -4833,7 +4792,7 @@ var ApprovalService = class {
4833
4792
  });
4834
4793
  }
4835
4794
  /** Search for users eligible to approve a resource. Returns an array. */
4836
- async searchApprovers(input, auth2 = SERVICE29) {
4795
+ async searchApprovers(input, auth2 = SERVICE28) {
4837
4796
  return this.ctx.http.request({
4838
4797
  method: "POST",
4839
4798
  path: `${this.base()}/search/users`,
@@ -4894,7 +4853,6 @@ var EmporixClient = class {
4894
4853
  invoices;
4895
4854
  quotes;
4896
4855
  returns;
4897
- sepaExport;
4898
4856
  indexing;
4899
4857
  imports;
4900
4858
  units;
@@ -4969,7 +4927,6 @@ var EmporixClient = class {
4969
4927
  this.invoices = new InvoiceService(mk(InvoiceService.channel));
4970
4928
  this.quotes = new QuoteService(mk(QuoteService.channel));
4971
4929
  this.returns = new ReturnsService(mk(ReturnsService.channel));
4972
- this.sepaExport = new SepaExportService(mk(SepaExportService.channel));
4973
4930
  this.indexing = new IndexingService(mk(IndexingService.channel));
4974
4931
  this.imports = new ImportService(mk(ImportService.channel));
4975
4932
  this.units = new UnitHandlingService(mk(UnitHandlingService.channel));
@@ -5045,6 +5002,6 @@ function productYrn(tenant, productId) {
5045
5002
  return `urn:yaas:hybris:product:product:${tenant};${productId}`;
5046
5003
  }
5047
5004
 
5048
- export { AiService, ApprovalService, BrandService, CatalogService, ClientConfigService, CloudFunctionsService, CountryService, CouponService, CurrencyService, CustomerAdminService, DEFAULT_HOST, EmporixClient, FeeService, HttpClient, ImportService, IndexingService, InvoiceService, LEVEL, LabelService, LevelResolver, PickPackService, QuoteService, RagIndexerService, ReturnsService, RewardPointsService, STORAGE_KEYS, SchemaService, SepaExportService, SequentialIdService, SessionContextService, ShippingService, ShoppingListService, SiteService, TaxService, TenantConfigService, UnitHandlingService, VendorService, WebhookService, approvalStatusPatch, createConsoleLogger, createCookieBackedStorage, createCore, createEmporixClient, createNoopLogger, createServerStorage, parseAnonymousSession, pickFee, productIdFromYrn, productYrn, redact, resolveZone, serverAuth, validateConfig };
5005
+ export { AiService, ApprovalService, BrandService, CatalogService, ClientConfigService, CloudFunctionsService, CountryService, CouponService, CurrencyService, CustomerAdminService, DEFAULT_HOST, EmporixClient, FeeService, HttpClient, ImportService, IndexingService, InvoiceService, LEVEL, LabelService, LevelResolver, PickPackService, QuoteService, RagIndexerService, ReturnsService, RewardPointsService, STORAGE_KEYS, SchemaService, SequentialIdService, SessionContextService, ShippingService, ShoppingListService, SiteService, TaxService, TenantConfigService, UnitHandlingService, VendorService, WebhookService, approvalStatusPatch, createConsoleLogger, createCookieBackedStorage, createCore, createEmporixClient, createNoopLogger, createServerStorage, parseAnonymousSession, pickFee, productIdFromYrn, productYrn, redact, resolveZone, serverAuth, validateConfig };
5049
5006
  //# sourceMappingURL=index.js.map
5050
5007
  //# sourceMappingURL=index.js.map