@extrahorizon/javascript-sdk 8.9.0-feat-134-c0f5b9d → 8.9.0-feat-142-7066b40

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 (34) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/build/index.cjs.js +70 -117
  3. package/build/index.mjs +70 -118
  4. package/build/types/errors.d.ts +3 -0
  5. package/build/types/mockType.d.ts +30 -24
  6. package/build/types/services/auth/oidc/providers/types.d.ts +4 -0
  7. package/build/types/services/events/index.d.ts +1 -2
  8. package/build/types/services/events/types.d.ts +5 -0
  9. package/build/types/services/localizations/index.d.ts +1 -2
  10. package/build/types/services/localizations/types.d.ts +5 -0
  11. package/build/types/services/notifications/index.d.ts +1 -2
  12. package/build/types/services/notifications/types.d.ts +5 -0
  13. package/build/types/services/notificationsV2/index.d.ts +1 -2
  14. package/build/types/services/notificationsV2/types.d.ts +5 -0
  15. package/build/types/services/profiles/index.d.ts +1 -2
  16. package/build/types/services/profiles/types.d.ts +5 -0
  17. package/build/types/services/tasks/functions/types.d.ts +1 -1
  18. package/build/types/services/tasks/schedules/types.d.ts +4 -0
  19. package/build/types/services/tasks/types.d.ts +11 -0
  20. package/build/types/services/templates/types.d.ts +70 -32
  21. package/build/types/services/templatesV2/index.d.ts +1 -2
  22. package/build/types/services/templatesV2/types.d.ts +16 -5
  23. package/build/types/services/users/index.d.ts +2 -4
  24. package/build/types/services/users/types.d.ts +5 -0
  25. package/build/types/types.d.ts +1 -0
  26. package/build/types/version.d.ts +1 -1
  27. package/package.json +1 -1
  28. package/build/types/services/events/health.d.ts +0 -9
  29. package/build/types/services/localizations/health.d.ts +0 -9
  30. package/build/types/services/notifications/health.d.ts +0 -9
  31. package/build/types/services/notificationsV2/health.d.ts +0 -9
  32. package/build/types/services/profiles/health.d.ts +0 -9
  33. package/build/types/services/templatesV2/health.d.ts +0 -9
  34. package/build/types/services/users/health.d.ts +0 -9
package/build/index.mjs CHANGED
@@ -723,6 +723,8 @@ class NotFoundError extends ApiError {
723
723
  }
724
724
  class ResourceUnknownError extends NotFoundError {
725
725
  }
726
+ class ServiceNotFoundError extends NotFoundError {
727
+ }
726
728
  class NoConfiguredAppStoreProduct extends NotFoundError {
727
729
  }
728
730
  // 500 Server Error
@@ -897,6 +899,7 @@ const ErrorClassMap = {
897
899
  414: StatusInUseError,
898
900
  415: LockedDocumentError,
899
901
  801: DefaultLocalizationMissingError,
902
+ 903: ServiceNotFoundError,
900
903
  1002: LocalizationKeyMissingError,
901
904
  1003: TemplateFillingError,
902
905
  1004: TemplateSyntaxError,
@@ -985,6 +988,7 @@ var TaskStatus;
985
988
  TaskStatus["IN_PROGRESS"] = "inProgress";
986
989
  TaskStatus["COMPLETE"] = "complete";
987
990
  TaskStatus["FAILED"] = "failed";
991
+ TaskStatus["RETRIED"] = "retried";
988
992
  TaskStatus["CANCELED"] = "canceled";
989
993
  })(TaskStatus || (TaskStatus = {}));
990
994
 
@@ -1233,15 +1237,6 @@ var QueuedMailStatus;
1233
1237
  QueuedMailStatus["FAILED"] = "failed";
1234
1238
  })(QueuedMailStatus || (QueuedMailStatus = {}));
1235
1239
 
1236
- var ObjectMinBytesOptionType;
1237
- (function (ObjectMinBytesOptionType) {
1238
- ObjectMinBytesOptionType["MIN_BYTES"] = "min_bytes";
1239
- })(ObjectMinBytesOptionType || (ObjectMinBytesOptionType = {}));
1240
- var ObjectMaxBytesOptionType;
1241
- (function (ObjectMaxBytesOptionType) {
1242
- ObjectMaxBytesOptionType["MAX_BYTES"] = "max_bytes";
1243
- })(ObjectMaxBytesOptionType || (ObjectMaxBytesOptionType = {}));
1244
-
1245
1240
  var ActionType;
1246
1241
  (function (ActionType) {
1247
1242
  ActionType["MAIL"] = "mail";
@@ -3453,10 +3448,13 @@ var providers = (oidcClient, httpWithAuth) => {
3453
3448
  const { data } = await oidcClient.post(httpWithAuth, `/oidc/providers/${providerId}/disable`, {});
3454
3449
  return data;
3455
3450
  },
3456
- async delete(providerId) {
3451
+ async remove(providerId) {
3457
3452
  const { data } = await oidcClient.delete(httpWithAuth, `/oidc/providers/${providerId}`);
3458
3453
  return data;
3459
3454
  },
3455
+ delete(providerId) {
3456
+ return this.remove(providerId);
3457
+ },
3460
3458
  };
3461
3459
  };
3462
3460
 
@@ -4025,7 +4023,7 @@ var functions = (client, httpAuth) => ({
4025
4023
  });
4026
4024
  return response.data;
4027
4025
  },
4028
- async delete(name, options) {
4026
+ async remove(name, options) {
4029
4027
  const response = await client.delete(httpAuth, `/functions/${name}`, options);
4030
4028
  return response.data;
4031
4029
  },
@@ -4076,10 +4074,13 @@ var schedules = (client, httpAuth) => {
4076
4074
  });
4077
4075
  return data;
4078
4076
  },
4079
- async delete(scheduleId, options) {
4077
+ async remove(scheduleId, options) {
4080
4078
  const { data } = await client.delete(httpAuth, `/schedules/${scheduleId}`, options);
4081
4079
  return data;
4082
4080
  },
4081
+ delete(scheduleId, options) {
4082
+ return this.remove(scheduleId, options);
4083
+ },
4083
4084
  async find(options) {
4084
4085
  const result = await query(options);
4085
4086
  return addPagersFn(query, options, result);
@@ -4287,17 +4288,6 @@ var groupRoles = (client, httpWithAuth) => ({
4287
4288
  },
4288
4289
  });
4289
4290
 
4290
- var health$7 = (userClient, http) => ({
4291
- /**
4292
- * Perform a health check
4293
- * @returns {boolean} success
4294
- */
4295
- async health() {
4296
- const result = await userClient.get(http, '/health');
4297
- return result.status === Results.Success;
4298
- },
4299
- });
4300
-
4301
4291
  const settingsService = (client, httpWithAuth) => ({
4302
4292
  async getVerificationSettings(options) {
4303
4293
  const response = await client.get(httpWithAuth, '/settings/verification', options);
@@ -4480,6 +4470,10 @@ var users$1 = (userClient, httpWithAuth, http) => {
4480
4470
  const { data } = await userClient.put(httpWithAuth, '/email_templates', templates);
4481
4471
  return data;
4482
4472
  },
4473
+ async health() {
4474
+ const result = await userClient.get(http, '/health');
4475
+ return result.status === 200;
4476
+ },
4483
4477
  };
4484
4478
  };
4485
4479
 
@@ -4488,7 +4482,6 @@ const usersService = (httpWithAuth, http) => {
4488
4482
  basePath: USER_BASE,
4489
4483
  transformRequestData: decamelizeRequestData,
4490
4484
  });
4491
- const healthMethods = health$7(userClient, httpWithAuth);
4492
4485
  const usersMethods = users$1(userClient, httpWithAuth, http);
4493
4486
  const groupRolesMethods = groupRoles(userClient, httpWithAuth);
4494
4487
  const globalRolesMethods = globalRoles(userClient, httpWithAuth);
@@ -4496,7 +4489,6 @@ const usersService = (httpWithAuth, http) => {
4496
4489
  const forgotPasswordRequestsMethods = forgotPasswordRequestsService(userClient, httpWithAuth);
4497
4490
  const settingsMethods = settingsService(userClient, httpWithAuth);
4498
4491
  return {
4499
- ...healthMethods,
4500
4492
  ...usersMethods,
4501
4493
  groupRoles: groupRolesMethods,
4502
4494
  globalRoles: globalRolesMethods,
@@ -4605,10 +4597,11 @@ var templates = (client, httpAuth) => ({
4605
4597
  return result.status === Results.Success;
4606
4598
  },
4607
4599
  async find(options) {
4608
- return (await client.get(httpAuth, `/${(options === null || options === void 0 ? void 0 : options.rql) || ''}`, {
4600
+ const result = await client.get(httpAuth, `/${(options === null || options === void 0 ? void 0 : options.rql) || ''}`, {
4609
4601
  ...options,
4610
4602
  customResponseKeys: ['data.schema.fields', 'data.fields'],
4611
- })).data;
4603
+ });
4604
+ return result.data;
4612
4605
  },
4613
4606
  async findAll(options) {
4614
4607
  return findAllGeneric(this.find, options);
@@ -4629,47 +4622,54 @@ var templates = (client, httpAuth) => ({
4629
4622
  return res.data[0];
4630
4623
  },
4631
4624
  async create(requestBody, options) {
4632
- return (await client.post(httpAuth, '/', requestBody, {
4625
+ const result = await client.post(httpAuth, '/', requestBody, {
4633
4626
  ...options,
4634
4627
  customKeys: ['schema.fields', 'fields'],
4635
- })).data;
4628
+ });
4629
+ return result.data;
4636
4630
  },
4637
4631
  async update(templateId, requestBody, options) {
4638
- return (await client.put(httpAuth, `/${templateId}`, requestBody, {
4632
+ const result = await client.put(httpAuth, `/${templateId}`, requestBody, {
4639
4633
  ...options,
4640
4634
  customKeys: ['schema.fields', 'fields'],
4641
- })).data;
4635
+ });
4636
+ return result.data;
4642
4637
  },
4643
4638
  async remove(templateId, options) {
4644
- return (await client.delete(httpAuth, `/${templateId}`, options)).data;
4639
+ const result = await client.delete(httpAuth, `/${templateId}`, options);
4640
+ return result.data;
4645
4641
  },
4646
4642
  async resolveAsPdf(templateId, requestBody, options) {
4647
- return (await client.post(httpAuth, `/${templateId}/pdf`, requestBody, {
4643
+ const result = await client.post(httpAuth, `/${templateId}/pdf`, requestBody, {
4648
4644
  ...options,
4649
4645
  customRequestKeys: ['content'],
4650
4646
  responseType: 'arraybuffer',
4651
- })).data;
4647
+ });
4648
+ return result.data;
4652
4649
  },
4653
4650
  async resolveAsPdfUsingCode(templateId, localizationCode, requestBody, options) {
4654
- return (await client.post(httpAuth, `/${templateId}/pdf/${localizationCode}`, requestBody, {
4651
+ const result = await client.post(httpAuth, `/${templateId}/pdf/${localizationCode}`, requestBody, {
4655
4652
  ...options,
4656
4653
  customRequestKeys: ['content'],
4657
4654
  responseType: 'arraybuffer',
4658
- })).data;
4655
+ });
4656
+ return result.data;
4659
4657
  },
4660
4658
  async resolveAsJson(templateId, requestBody, options) {
4661
- return (await client.post(httpAuth, `/${templateId}/resolve`, requestBody, {
4659
+ const result = await client.post(httpAuth, `/${templateId}/resolve`, requestBody, {
4662
4660
  ...options,
4663
4661
  customRequestKeys: ['content'],
4664
4662
  customResponseKeys: ['*'],
4665
- })).data;
4663
+ });
4664
+ return result.data;
4666
4665
  },
4667
4666
  async resolveAsJsonUsingCode(templateId, localizationCode, requestBody, options) {
4668
- return (await client.post(httpAuth, `/${templateId}/resolve/${localizationCode}`, requestBody, {
4667
+ const result = await client.post(httpAuth, `/${templateId}/resolve/${localizationCode}`, requestBody, {
4669
4668
  ...options,
4670
4669
  customRequestKeys: ['content'],
4671
4670
  customResponseKeys: ['*'],
4672
- })).data;
4671
+ });
4672
+ return result.data;
4673
4673
  },
4674
4674
  });
4675
4675
 
@@ -4870,7 +4870,7 @@ var appStoreSubscriptions = (client, httpAuth) => ({
4870
4870
  },
4871
4871
  });
4872
4872
 
4873
- var health$6 = (client, httpAuth) => ({
4873
+ var health = (client, httpAuth) => ({
4874
4874
  /**
4875
4875
  * Check if the service is available
4876
4876
  * @returns true if service is up and running
@@ -5074,7 +5074,7 @@ const paymentsService = (httpWithAuth) => {
5074
5074
  basePath: PAYMENTS_BASE,
5075
5075
  });
5076
5076
  return {
5077
- ...health$6(client, httpWithAuth),
5077
+ ...health(client, httpWithAuth),
5078
5078
  products: products(client, httpWithAuth),
5079
5079
  orders: orders(client, httpWithAuth),
5080
5080
  subscriptions: subscriptions$1(client, httpWithAuth),
@@ -5096,17 +5096,6 @@ var countries = (client, httpAuth) => ({
5096
5096
  },
5097
5097
  });
5098
5098
 
5099
- var health$5 = (client, http) => ({
5100
- /**
5101
- * Perform a health check
5102
- * @returns {boolean} success
5103
- */
5104
- async health() {
5105
- const result = await client.get(http, '/health');
5106
- return result.status === Results.Success;
5107
- },
5108
- });
5109
-
5110
5099
  var languages = (client, httpAuth) => ({
5111
5100
  async getLanguages(options) {
5112
5101
  return (await client.get(httpAuth, '/languages', options)).data.data;
@@ -5140,6 +5129,10 @@ var localizations = (client, httpAuth) => ({
5140
5129
  customResponseKeys: ['*'],
5141
5130
  })).data;
5142
5131
  },
5132
+ async health() {
5133
+ const result = await client.get(httpAuth, '/health');
5134
+ return result.status === 200;
5135
+ },
5143
5136
  });
5144
5137
 
5145
5138
  const localizationsService = (httpWithAuth) => {
@@ -5148,7 +5141,6 @@ const localizationsService = (httpWithAuth) => {
5148
5141
  basePath: LOCALIZATIONS_BASE,
5149
5142
  });
5150
5143
  return {
5151
- ...health$5(client, httpWithAuth),
5152
5144
  ...localizations(client, httpWithAuth),
5153
5145
  ...countries(client, httpWithAuth),
5154
5146
  ...languages(client, httpWithAuth),
@@ -5173,17 +5165,6 @@ var groups = (client, httpAuth) => ({
5173
5165
  },
5174
5166
  });
5175
5167
 
5176
- var health$4 = (client, httpAuth) => ({
5177
- /**
5178
- * Perform a health check for profiles service
5179
- * @returns {boolean} success
5180
- */
5181
- async health() {
5182
- const result = await client.get(httpAuth, '/health');
5183
- return result.status === Results.Success;
5184
- },
5185
- });
5186
-
5187
5168
  var logs = (client, httpAuth) => {
5188
5169
  function partialApplyFind(profileId, groupId) {
5189
5170
  return async (options) => (await client.get(httpAuth, `/${profileId}/groups/${groupId}/logs/${(options === null || options === void 0 ? void 0 : options.rql) || ''}`, options)).data;
@@ -5254,6 +5235,10 @@ var profiles = (client, httpAuth) => ({
5254
5235
  async getImpediments(options) {
5255
5236
  return (await client.get(httpAuth, '/impediments', options)).data;
5256
5237
  },
5238
+ async health() {
5239
+ const result = await client.get(httpAuth, '/health');
5240
+ return result.status === 200;
5241
+ },
5257
5242
  });
5258
5243
 
5259
5244
  const profilesService = (httpWithAuth) => {
@@ -5262,24 +5247,12 @@ const profilesService = (httpWithAuth) => {
5262
5247
  basePath: PROFILES_BASE,
5263
5248
  });
5264
5249
  return {
5265
- ...health$4(client, httpWithAuth),
5266
5250
  ...profiles(client, httpWithAuth),
5267
5251
  groups: groups(client, httpWithAuth),
5268
5252
  logs: logs(client, httpWithAuth),
5269
5253
  };
5270
5254
  };
5271
5255
 
5272
- var health$3 = (client, http) => ({
5273
- /**
5274
- * Perform a health check
5275
- * @returns {boolean} success
5276
- */
5277
- async health() {
5278
- const result = await client.get(http, '/health');
5279
- return result.status === Results.Success;
5280
- },
5281
- });
5282
-
5283
5256
  var notifications = (client, httpAuth) => {
5284
5257
  async function find(options) {
5285
5258
  return (await client.get(httpAuth, `/notifications${(options === null || options === void 0 ? void 0 : options.rql) || ''}`, options)).data;
@@ -5325,6 +5298,10 @@ var notifications = (client, httpAuth) => {
5325
5298
  async getTypes(options) {
5326
5299
  return (await client.get(httpAuth, '/types', options)).data;
5327
5300
  },
5301
+ async health() {
5302
+ const result = await client.get(httpAuth, '/health');
5303
+ return result.status === 200;
5304
+ },
5328
5305
  };
5329
5306
  };
5330
5307
 
@@ -5354,23 +5331,11 @@ const notificationsService = (httpWithAuth) => {
5354
5331
  transformRequestData: decamelizeRequestData,
5355
5332
  });
5356
5333
  return {
5357
- ...health$3(client, httpWithAuth),
5358
5334
  ...notifications(client, httpWithAuth),
5359
5335
  settings: settings(client, httpWithAuth),
5360
5336
  };
5361
5337
  };
5362
5338
 
5363
- var health$2 = (client, http) => ({
5364
- /**
5365
- * Perform a health check
5366
- * @returns {boolean} success
5367
- */
5368
- async health() {
5369
- const result = await client.get(http, '/health');
5370
- return result.status === Results.Success;
5371
- },
5372
- });
5373
-
5374
5339
  var notificationsV2 = (client, httpWithAuth) => {
5375
5340
  async function find(options) {
5376
5341
  const result = await client.get(httpWithAuth, `/${(options === null || options === void 0 ? void 0 : options.rql) || ''}`, {
@@ -5407,6 +5372,10 @@ var notificationsV2 = (client, httpWithAuth) => {
5407
5372
  const rqlWithNotificationId = rqlBuilder().eq('id', notificationId).build();
5408
5373
  return await this.findFirst({ ...options, rql: rqlWithNotificationId });
5409
5374
  },
5375
+ async health() {
5376
+ const result = await client.get(httpWithAuth, '/health');
5377
+ return result.status === 200;
5378
+ },
5410
5379
  };
5411
5380
  };
5412
5381
 
@@ -5455,7 +5424,6 @@ const notificationsV2Service = (httpWithAuth) => {
5455
5424
  basePath: NOTIFICATIONS_V2_BASE,
5456
5425
  });
5457
5426
  return {
5458
- ...health$2(client, httpWithAuth),
5459
5427
  ...notificationsV2(client, httpWithAuth),
5460
5428
  userSettings: notificationV2UserSettings(client, httpWithAuth),
5461
5429
  };
@@ -5481,16 +5449,9 @@ var events = (client, httpAuth) => ({
5481
5449
  }
5482
5450
  return (await client.post(httpAuth, '/', requestBody, requestOptions)).data;
5483
5451
  },
5484
- });
5485
-
5486
- var health$1 = (client, http) => ({
5487
- /**
5488
- * Perform a health check
5489
- * @returns {boolean} success
5490
- */
5491
5452
  async health() {
5492
- const result = await client.get(http, '/health');
5493
- return result.status === Results.Success;
5453
+ const result = await client.get(httpAuth, '/health');
5454
+ return result.status === 200;
5494
5455
  },
5495
5456
  });
5496
5457
 
@@ -5519,7 +5480,6 @@ const eventsService = (httpWithAuth) => {
5519
5480
  transformRequestData: decamelizeRequestData,
5520
5481
  });
5521
5482
  return {
5522
- ...health$1(client, httpWithAuth),
5523
5483
  ...events(client, httpWithAuth),
5524
5484
  subscriptions: subscriptions(client, httpWithAuth),
5525
5485
  };
@@ -5551,22 +5511,11 @@ const logsService = (httpWithAuth) => {
5551
5511
  };
5552
5512
  };
5553
5513
 
5554
- var health = (client, http) => ({
5555
- /**
5556
- * Perform a health check
5557
- * @returns {boolean} success
5558
- */
5559
- async health() {
5560
- const result = await client.get(http, '/health');
5561
- return result.status === Results.Success;
5562
- },
5563
- });
5564
-
5565
5514
  var templatesV2 = (client, httpWithAuth) => {
5566
5515
  async function find(options) {
5567
5516
  const result = await client.get(httpWithAuth, `/${(options === null || options === void 0 ? void 0 : options.rql) || ''}`, {
5568
5517
  ...options,
5569
- customResponseKeys: ['data.properties', 'data.outputs'],
5518
+ customResponseKeys: ['data.inputs', 'data.outputs'],
5570
5519
  });
5571
5520
  return result.data;
5572
5521
  }
@@ -5574,14 +5523,14 @@ var templatesV2 = (client, httpWithAuth) => {
5574
5523
  async create(requestBody, options) {
5575
5524
  const result = (await client.post(httpWithAuth, '/', requestBody, {
5576
5525
  ...options,
5577
- customKeys: ['properties', 'outputs'],
5526
+ customKeys: ['inputs', 'outputs'],
5578
5527
  }));
5579
5528
  return result.data;
5580
5529
  },
5581
5530
  async update(templateId, requestBody, options) {
5582
5531
  const result = (await client.put(httpWithAuth, `/${templateId}`, requestBody, {
5583
5532
  ...options,
5584
- customKeys: ['properties', 'outputs'],
5533
+ customKeys: ['inputs', 'outputs'],
5585
5534
  }));
5586
5535
  return result.data;
5587
5536
  },
@@ -5592,7 +5541,7 @@ var templatesV2 = (client, httpWithAuth) => {
5592
5541
  async resolve(templateId, requestBody, options) {
5593
5542
  const result = (await client.post(httpWithAuth, `/${templateId}/resolve`, requestBody, {
5594
5543
  ...options,
5595
- customRequestKeys: ['data'],
5544
+ customRequestKeys: ['inputs'],
5596
5545
  customResponseKeys: ['*'],
5597
5546
  }));
5598
5547
  return result.data;
@@ -5618,6 +5567,10 @@ var templatesV2 = (client, httpWithAuth) => {
5618
5567
  const result = await find(options);
5619
5568
  return result.data[0];
5620
5569
  },
5570
+ async health() {
5571
+ const result = await client.get(httpWithAuth, '/health');
5572
+ return result.status === 200;
5573
+ },
5621
5574
  };
5622
5575
  };
5623
5576
 
@@ -5626,12 +5579,11 @@ const templatesV2Service = (httpWithAuth) => {
5626
5579
  basePath: TEMPLATES_V2_BASE,
5627
5580
  });
5628
5581
  return {
5629
- ...health(client, httpWithAuth),
5630
5582
  ...templatesV2(client, httpWithAuth),
5631
5583
  };
5632
5584
  };
5633
5585
 
5634
- const version = '8.9.0-feat-134-c0f5b9d';
5586
+ const version = '8.9.0-feat-142-7066b40';
5635
5587
 
5636
5588
  /**
5637
5589
  * Create ExtraHorizon client.
@@ -5811,4 +5763,4 @@ const parseStoredCredentials = (fileContent) => exhCredentialsDecoder(fileConten
5811
5763
  .filter(line => line.length === 2)
5812
5764
  .reduce((memo, [key, value]) => ({ ...memo, [key]: value }), {}));
5813
5765
 
5814
- export { AccessTokenExpiredError, AccessTokenUnknownError, ActionType, ActivationRequestLimitError, ActivationRequestTimeoutError, ActivationUnknownError, AlreadyActivatedError, ApiError, ApiFunctionRequestMethod, ApiRequestErrorType, AppStoreTransactionAlreadyLinked, ApplicationNotAuthenticatedError, ApplicationType, ApplicationUnknownError, AuthenticationError, AuthorizationCodeExpiredError, AuthorizationUnknownError, BadGatewayServerError, BadRequestError, BodyFormatError, CallbackNotValidError, Comorbidities, DefaultLocalizationMissingError, DisabledForOidcUsersError, DuplicateRequestError, EmailUnknownError, EmailUsedError, EmptyBodyError, ErrorClassMap, FieldFormatError, FieldType, FileTooLargeError, FirebaseConnectionError, FirebaseInvalidPlatformDataError, ForbiddenError, ForgotPasswordRequestLimitError, ForgotPasswordRequestTimeoutError, FunctionPermissionMode, Gender, GlobalPermissionName, IDFormatError, IllegalArgumentError, IllegalStateError, Impediments, IncorrectPinCodeError, InvalidClientError, InvalidCurrencyForProductPrice, InvalidGrantError, InvalidMfaCodeError, InvalidMfaTokenError, InvalidNonceError, InvalidPKCEError, InvalidPresenceTokenError, InvalidReceiptDataError, InvalidRequestError, InvalidTokenError, JSONSchemaType, LocalizationKeyMissingError, LockedDocumentError, LoginAttemptStatus, LoginFreezeError, LoginTimeoutError, MedicationFrequency, MedicationUnit, MfaReattemptDelayError, MfaRequiredError, MissingPKCEVerifierError, MissingRequiredFieldsError, NewMFARequiredError, NewPasswordHashUnknownError, NewPasswordPinCodeUnknownError, NoConfiguredAppStoreProduct, NoConfiguredPlayStoreProduct, NoMatchingPlayStoreLinkedSubscription, NoPermissionError, NotActivatedError, NotEnoughMfaMethodsError, NotFoundError, OAuth2ClientIdError, OAuth2ClientSecretError, OAuth2ErrorClassMap, OAuth2LoginError, OAuth2MissingClientCredentialsError, OauthKeyError, OauthSignatureError, OauthTokenError, ObjectMaxBytesOptionType, ObjectMinBytesOptionType, OidcIdTokenError, OidcInvalidAuthorizationCodeError, OidcProviderResponseError, OrderSchemaStatus, PasswordError, PaymentIntentCreationSchemaPaymentMethodType, PaymentIntentCreationSchemaSetupPaymentMethodReuse, PinCodesNotEnabledError, PlayStoreTransactionAlreadyLinked, ProfileActivity, ProfileAlreadyExistsError, QueuedMailStatus, RefreshTokenExpiredError, RefreshTokenUnknownError, RemoveFieldError, RequestAbortedError, ResourceAlreadyExistsError, ResourceUnknownError, Results, ServerError, ServiceUnavailableError, StatusInUseError, StripePaymentMethodError, StripeRequestError, SubscriptionEntitlementSource, SubscriptionEntitlementStatus, SubscriptionEntitlementStatusCategory, SubscriptionEventSource, SubscriptionEventType, SupportedLanguageCodes, TaskStatus, TemplateFillingError, TemplateResolvingError, TemplateSyntaxError, TokenNotDeleteableError, TokenPermission, TooManyFailedAttemptsError, UnauthorizedClientError, UnauthorizedError, UnauthorizedTokenError, UnknownReceiptTransactionError, UnsupportedGrantError, UnsupportedGrantTypeError, UnsupportedResponseTypeError, UserNotAuthenticatedError, createClient, createOAuth1Client, createOAuth2Client, createProxyClient, findAllGeneric, findAllIterator, getMockSdkOAuth2 as getMockSdk, getMockSdkOAuth1, getMockSdkOAuth2, getMockSdkProxy, parseGlobalPermissions, parseStoredCredentials, recursiveMap, rqlBuilder, rqlParser };
5766
+ export { AccessTokenExpiredError, AccessTokenUnknownError, ActionType, ActivationRequestLimitError, ActivationRequestTimeoutError, ActivationUnknownError, AlreadyActivatedError, ApiError, ApiFunctionRequestMethod, ApiRequestErrorType, AppStoreTransactionAlreadyLinked, ApplicationNotAuthenticatedError, ApplicationType, ApplicationUnknownError, AuthenticationError, AuthorizationCodeExpiredError, AuthorizationUnknownError, BadGatewayServerError, BadRequestError, BodyFormatError, CallbackNotValidError, Comorbidities, DefaultLocalizationMissingError, DisabledForOidcUsersError, DuplicateRequestError, EmailUnknownError, EmailUsedError, EmptyBodyError, ErrorClassMap, FieldFormatError, FieldType, FileTooLargeError, FirebaseConnectionError, FirebaseInvalidPlatformDataError, ForbiddenError, ForgotPasswordRequestLimitError, ForgotPasswordRequestTimeoutError, FunctionPermissionMode, Gender, GlobalPermissionName, IDFormatError, IllegalArgumentError, IllegalStateError, Impediments, IncorrectPinCodeError, InvalidClientError, InvalidCurrencyForProductPrice, InvalidGrantError, InvalidMfaCodeError, InvalidMfaTokenError, InvalidNonceError, InvalidPKCEError, InvalidPresenceTokenError, InvalidReceiptDataError, InvalidRequestError, InvalidTokenError, JSONSchemaType, LocalizationKeyMissingError, LockedDocumentError, LoginAttemptStatus, LoginFreezeError, LoginTimeoutError, MedicationFrequency, MedicationUnit, MfaReattemptDelayError, MfaRequiredError, MissingPKCEVerifierError, MissingRequiredFieldsError, NewMFARequiredError, NewPasswordHashUnknownError, NewPasswordPinCodeUnknownError, NoConfiguredAppStoreProduct, NoConfiguredPlayStoreProduct, NoMatchingPlayStoreLinkedSubscription, NoPermissionError, NotActivatedError, NotEnoughMfaMethodsError, NotFoundError, OAuth2ClientIdError, OAuth2ClientSecretError, OAuth2ErrorClassMap, OAuth2LoginError, OAuth2MissingClientCredentialsError, OauthKeyError, OauthSignatureError, OauthTokenError, OidcIdTokenError, OidcInvalidAuthorizationCodeError, OidcProviderResponseError, OrderSchemaStatus, PasswordError, PaymentIntentCreationSchemaPaymentMethodType, PaymentIntentCreationSchemaSetupPaymentMethodReuse, PinCodesNotEnabledError, PlayStoreTransactionAlreadyLinked, ProfileActivity, ProfileAlreadyExistsError, QueuedMailStatus, RefreshTokenExpiredError, RefreshTokenUnknownError, RemoveFieldError, RequestAbortedError, ResourceAlreadyExistsError, ResourceUnknownError, Results, ServerError, ServiceNotFoundError, ServiceUnavailableError, StatusInUseError, StripePaymentMethodError, StripeRequestError, SubscriptionEntitlementSource, SubscriptionEntitlementStatus, SubscriptionEntitlementStatusCategory, SubscriptionEventSource, SubscriptionEventType, SupportedLanguageCodes, TaskStatus, TemplateFillingError, TemplateResolvingError, TemplateSyntaxError, TokenNotDeleteableError, TokenPermission, TooManyFailedAttemptsError, UnauthorizedClientError, UnauthorizedError, UnauthorizedTokenError, UnknownReceiptTransactionError, UnsupportedGrantError, UnsupportedGrantTypeError, UnsupportedResponseTypeError, UserNotAuthenticatedError, createClient, createOAuth1Client, createOAuth2Client, createProxyClient, findAllGeneric, findAllIterator, getMockSdkOAuth2 as getMockSdk, getMockSdkOAuth1, getMockSdkOAuth2, getMockSdkProxy, parseGlobalPermissions, parseStoredCredentials, recursiveMap, rqlBuilder, rqlParser };
@@ -219,6 +219,8 @@ export declare class NotFoundError extends ApiError {
219
219
  }
220
220
  export declare class ResourceUnknownError extends NotFoundError {
221
221
  }
222
+ export declare class ServiceNotFoundError extends NotFoundError {
223
+ }
222
224
  export declare class NoConfiguredAppStoreProduct extends NotFoundError {
223
225
  }
224
226
  export declare class ServerError extends ApiError {
@@ -331,6 +333,7 @@ export declare const ErrorClassMap: {
331
333
  414: typeof StatusInUseError;
332
334
  415: typeof LockedDocumentError;
333
335
  801: typeof DefaultLocalizationMissingError;
336
+ 903: typeof ServiceNotFoundError;
334
337
  1002: typeof LocalizationKeyMissingError;
335
338
  1003: typeof TemplateFillingError;
336
339
  1004: typeof TemplateSyntaxError;