@compilot/js-sdk 2.101.0-dev → 2.102.0-dev

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.
@@ -391,7 +391,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
391
391
  break;
392
392
  }
393
393
  _context.next = 3;
394
- return compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByExternalCustomerId({
394
+ return compilotApiClient.customers.internalCustomerRouterGetCustomerByExternalCustomerId({
395
395
  externalCustomerId: externalCustomerId
396
396
  });
397
397
  case 3:
@@ -428,7 +428,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
428
428
  customerId: customerId
429
429
  });
430
430
  _context2.next = 7;
431
- return compilotApiClient.customers.publicRouterCustomerRouterEmailsGetCustomerEmails({
431
+ return compilotApiClient.customers.internalCustomerRouterEmailsGetCustomerEmails({
432
432
  customerId: customerId
433
433
  });
434
434
  case 7:
@@ -445,7 +445,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
445
445
  customerId: customerId
446
446
  });
447
447
  _context2.next = 13;
448
- return compilotApiClient.customers.publicRouterCustomerRouterEmailsCreateCustomerEmail({
448
+ return compilotApiClient.customers.internalCustomerRouterEmailsCreateCustomerEmail({
449
449
  customerId: customerId,
450
450
  requestBody: {
451
451
  email: params.information.email
@@ -465,7 +465,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
465
465
  customerId: _customerId
466
466
  });
467
467
  _context2.next = 20;
468
- return compilotApiClient.customers.publicRouterCustomerRouterPhoneNumbersGetCustomerPhoneNumbers({
468
+ return compilotApiClient.customers.internalCustomerRouterPhoneNumbersGetCustomerPhoneNumbers({
469
469
  customerId: _customerId
470
470
  });
471
471
  case 20:
@@ -482,7 +482,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
482
482
  customerId: _customerId
483
483
  });
484
484
  _context2.next = 26;
485
- return compilotApiClient.customers.publicRouterCustomerRouterPhoneNumbersCreateCustomerPhoneNumber({
485
+ return compilotApiClient.customers.internalCustomerRouterPhoneNumbersCreateCustomerPhoneNumber({
486
486
  customerId: _customerId,
487
487
  requestBody: {
488
488
  phoneNumber: params.information.phone
@@ -503,7 +503,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
503
503
  });
504
504
  wallet = params.information.wallet;
505
505
  _context2.next = 34;
506
- return compilotApiClient.customers.publicRouterCustomerRouterWalletsGetCustomerWallets({
506
+ return compilotApiClient.customers.internalCustomerRouterWalletsGetCustomerWallets({
507
507
  customerId: _customerId2
508
508
  });
509
509
  case 34:
@@ -519,7 +519,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
519
519
  customerId: _customerId2
520
520
  });
521
521
  _context2.next = 40;
522
- return compilotApiClient.customers.publicRouterCustomerRouterWalletsCreateCustomerWallet({
522
+ return compilotApiClient.customers.internalCustomerRouterWalletsCreateCustomerWallet({
523
523
  customerId: _customerId2,
524
524
  requestBody: {
525
525
  wallet: wallet.address,
@@ -781,7 +781,7 @@ var getCustomerStatusByCustomerIdFactory = function getCustomerStatusByCustomerI
781
781
  while (1) switch (_context.prev = _context.next) {
782
782
  case 0:
783
783
  _context.next = 2;
784
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerDetails({
784
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerDetails({
785
785
  id: params.customerId
786
786
  });
787
787
  case 2:
@@ -829,7 +829,7 @@ var getCustomerStatusByExternalCustomerIdFactory = function getCustomerStatusByE
829
829
  while (1) switch (_context.prev = _context.next) {
830
830
  case 0:
831
831
  _context.next = 2;
832
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByExternalCustomerId(params);
832
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerByExternalCustomerId(params);
833
833
  case 2:
834
834
  customer = _context.sent;
835
835
  return _context.abrupt("return", customer.status);
@@ -874,7 +874,7 @@ var getCustomerStatusByWalletFactory = function getCustomerStatusByWalletFactory
874
874
  while (1) switch (_context.prev = _context.next) {
875
875
  case 0:
876
876
  _context.next = 2;
877
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByProjectAndWalletAddress({
877
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerByProjectAndWalletAddress({
878
878
  address: params.walletAddress,
879
879
  cmsProjectId: params.workspaceId,
880
880
  type: params.type
@@ -923,7 +923,7 @@ var getCustomerWalletsFactory = function getCustomerWalletsFactory(deps) {
923
923
  while (1) switch (_context.prev = _context.next) {
924
924
  case 0:
925
925
  _context.next = 2;
926
- return deps.compilotApiClient.customers.publicRouterCustomerRouterWalletsGetCustomerWallets({
926
+ return deps.compilotApiClient.customers.internalCustomerRouterWalletsGetCustomerWallets({
927
927
  customerId: params.customerId
928
928
  });
929
929
  case 2:
@@ -391,7 +391,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
391
391
  break;
392
392
  }
393
393
  _context.next = 3;
394
- return compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByExternalCustomerId({
394
+ return compilotApiClient.customers.internalCustomerRouterGetCustomerByExternalCustomerId({
395
395
  externalCustomerId: externalCustomerId
396
396
  });
397
397
  case 3:
@@ -428,7 +428,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
428
428
  customerId: customerId
429
429
  });
430
430
  _context2.next = 7;
431
- return compilotApiClient.customers.publicRouterCustomerRouterEmailsGetCustomerEmails({
431
+ return compilotApiClient.customers.internalCustomerRouterEmailsGetCustomerEmails({
432
432
  customerId: customerId
433
433
  });
434
434
  case 7:
@@ -445,7 +445,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
445
445
  customerId: customerId
446
446
  });
447
447
  _context2.next = 13;
448
- return compilotApiClient.customers.publicRouterCustomerRouterEmailsCreateCustomerEmail({
448
+ return compilotApiClient.customers.internalCustomerRouterEmailsCreateCustomerEmail({
449
449
  customerId: customerId,
450
450
  requestBody: {
451
451
  email: params.information.email
@@ -465,7 +465,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
465
465
  customerId: _customerId
466
466
  });
467
467
  _context2.next = 20;
468
- return compilotApiClient.customers.publicRouterCustomerRouterPhoneNumbersGetCustomerPhoneNumbers({
468
+ return compilotApiClient.customers.internalCustomerRouterPhoneNumbersGetCustomerPhoneNumbers({
469
469
  customerId: _customerId
470
470
  });
471
471
  case 20:
@@ -482,7 +482,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
482
482
  customerId: _customerId
483
483
  });
484
484
  _context2.next = 26;
485
- return compilotApiClient.customers.publicRouterCustomerRouterPhoneNumbersCreateCustomerPhoneNumber({
485
+ return compilotApiClient.customers.internalCustomerRouterPhoneNumbersCreateCustomerPhoneNumber({
486
486
  customerId: _customerId,
487
487
  requestBody: {
488
488
  phoneNumber: params.information.phone
@@ -503,7 +503,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
503
503
  });
504
504
  wallet = params.information.wallet;
505
505
  _context2.next = 34;
506
- return compilotApiClient.customers.publicRouterCustomerRouterWalletsGetCustomerWallets({
506
+ return compilotApiClient.customers.internalCustomerRouterWalletsGetCustomerWallets({
507
507
  customerId: _customerId2
508
508
  });
509
509
  case 34:
@@ -519,7 +519,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
519
519
  customerId: _customerId2
520
520
  });
521
521
  _context2.next = 40;
522
- return compilotApiClient.customers.publicRouterCustomerRouterWalletsCreateCustomerWallet({
522
+ return compilotApiClient.customers.internalCustomerRouterWalletsCreateCustomerWallet({
523
523
  customerId: _customerId2,
524
524
  requestBody: {
525
525
  wallet: wallet.address,
@@ -781,7 +781,7 @@ var getCustomerStatusByCustomerIdFactory = function getCustomerStatusByCustomerI
781
781
  while (1) switch (_context.prev = _context.next) {
782
782
  case 0:
783
783
  _context.next = 2;
784
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerDetails({
784
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerDetails({
785
785
  id: params.customerId
786
786
  });
787
787
  case 2:
@@ -829,7 +829,7 @@ var getCustomerStatusByExternalCustomerIdFactory = function getCustomerStatusByE
829
829
  while (1) switch (_context.prev = _context.next) {
830
830
  case 0:
831
831
  _context.next = 2;
832
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByExternalCustomerId(params);
832
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerByExternalCustomerId(params);
833
833
  case 2:
834
834
  customer = _context.sent;
835
835
  return _context.abrupt("return", customer.status);
@@ -874,7 +874,7 @@ var getCustomerStatusByWalletFactory = function getCustomerStatusByWalletFactory
874
874
  while (1) switch (_context.prev = _context.next) {
875
875
  case 0:
876
876
  _context.next = 2;
877
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByProjectAndWalletAddress({
877
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerByProjectAndWalletAddress({
878
878
  address: params.walletAddress,
879
879
  cmsProjectId: params.workspaceId,
880
880
  type: params.type
@@ -923,7 +923,7 @@ var getCustomerWalletsFactory = function getCustomerWalletsFactory(deps) {
923
923
  while (1) switch (_context.prev = _context.next) {
924
924
  case 0:
925
925
  _context.next = 2;
926
- return deps.compilotApiClient.customers.publicRouterCustomerRouterWalletsGetCustomerWallets({
926
+ return deps.compilotApiClient.customers.internalCustomerRouterWalletsGetCustomerWallets({
927
927
  customerId: params.customerId
928
928
  });
929
929
  case 2:
@@ -389,7 +389,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
389
389
  break;
390
390
  }
391
391
  _context.next = 3;
392
- return compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByExternalCustomerId({
392
+ return compilotApiClient.customers.internalCustomerRouterGetCustomerByExternalCustomerId({
393
393
  externalCustomerId: externalCustomerId
394
394
  });
395
395
  case 3:
@@ -426,7 +426,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
426
426
  customerId: customerId
427
427
  });
428
428
  _context2.next = 7;
429
- return compilotApiClient.customers.publicRouterCustomerRouterEmailsGetCustomerEmails({
429
+ return compilotApiClient.customers.internalCustomerRouterEmailsGetCustomerEmails({
430
430
  customerId: customerId
431
431
  });
432
432
  case 7:
@@ -443,7 +443,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
443
443
  customerId: customerId
444
444
  });
445
445
  _context2.next = 13;
446
- return compilotApiClient.customers.publicRouterCustomerRouterEmailsCreateCustomerEmail({
446
+ return compilotApiClient.customers.internalCustomerRouterEmailsCreateCustomerEmail({
447
447
  customerId: customerId,
448
448
  requestBody: {
449
449
  email: params.information.email
@@ -463,7 +463,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
463
463
  customerId: _customerId
464
464
  });
465
465
  _context2.next = 20;
466
- return compilotApiClient.customers.publicRouterCustomerRouterPhoneNumbersGetCustomerPhoneNumbers({
466
+ return compilotApiClient.customers.internalCustomerRouterPhoneNumbersGetCustomerPhoneNumbers({
467
467
  customerId: _customerId
468
468
  });
469
469
  case 20:
@@ -480,7 +480,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
480
480
  customerId: _customerId
481
481
  });
482
482
  _context2.next = 26;
483
- return compilotApiClient.customers.publicRouterCustomerRouterPhoneNumbersCreateCustomerPhoneNumber({
483
+ return compilotApiClient.customers.internalCustomerRouterPhoneNumbersCreateCustomerPhoneNumber({
484
484
  customerId: _customerId,
485
485
  requestBody: {
486
486
  phoneNumber: params.information.phone
@@ -501,7 +501,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
501
501
  });
502
502
  wallet = params.information.wallet;
503
503
  _context2.next = 34;
504
- return compilotApiClient.customers.publicRouterCustomerRouterWalletsGetCustomerWallets({
504
+ return compilotApiClient.customers.internalCustomerRouterWalletsGetCustomerWallets({
505
505
  customerId: _customerId2
506
506
  });
507
507
  case 34:
@@ -517,7 +517,7 @@ var attachCustomerInformationFactory = function attachCustomerInformationFactory
517
517
  customerId: _customerId2
518
518
  });
519
519
  _context2.next = 40;
520
- return compilotApiClient.customers.publicRouterCustomerRouterWalletsCreateCustomerWallet({
520
+ return compilotApiClient.customers.internalCustomerRouterWalletsCreateCustomerWallet({
521
521
  customerId: _customerId2,
522
522
  requestBody: {
523
523
  wallet: wallet.address,
@@ -779,7 +779,7 @@ var getCustomerStatusByCustomerIdFactory = function getCustomerStatusByCustomerI
779
779
  while (1) switch (_context.prev = _context.next) {
780
780
  case 0:
781
781
  _context.next = 2;
782
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerDetails({
782
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerDetails({
783
783
  id: params.customerId
784
784
  });
785
785
  case 2:
@@ -827,7 +827,7 @@ var getCustomerStatusByExternalCustomerIdFactory = function getCustomerStatusByE
827
827
  while (1) switch (_context.prev = _context.next) {
828
828
  case 0:
829
829
  _context.next = 2;
830
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByExternalCustomerId(params);
830
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerByExternalCustomerId(params);
831
831
  case 2:
832
832
  customer = _context.sent;
833
833
  return _context.abrupt("return", customer.status);
@@ -872,7 +872,7 @@ var getCustomerStatusByWalletFactory = function getCustomerStatusByWalletFactory
872
872
  while (1) switch (_context.prev = _context.next) {
873
873
  case 0:
874
874
  _context.next = 2;
875
- return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByProjectAndWalletAddress({
875
+ return deps.compilotApiClient.customers.internalCustomerRouterGetCustomerByProjectAndWalletAddress({
876
876
  address: params.walletAddress,
877
877
  cmsProjectId: params.workspaceId,
878
878
  type: params.type
@@ -921,7 +921,7 @@ var getCustomerWalletsFactory = function getCustomerWalletsFactory(deps) {
921
921
  while (1) switch (_context.prev = _context.next) {
922
922
  case 0:
923
923
  _context.next = 2;
924
- return deps.compilotApiClient.customers.publicRouterCustomerRouterWalletsGetCustomerWallets({
924
+ return deps.compilotApiClient.customers.internalCustomerRouterWalletsGetCustomerWallets({
925
925
  customerId: params.customerId
926
926
  });
927
927
  case 2:
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/js-sdk",
3
- "version": "2.101.0",
3
+ "version": "2.102.0",
4
4
  "description": "ComPilot JS SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilot/js-sdk",
3
- "version": "2.101.0-dev",
3
+ "version": "2.102.0-dev",
4
4
  "description": "ComPilot JS SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -36,8 +36,8 @@
36
36
  "svix": "1.21.0",
37
37
  "zod": "^3.24.2",
38
38
  "@nexeraid/api-client": "2.35.1-dev",
39
- "@nexeraid/identity-api-client": "2.35.1-dev",
40
39
  "@nexeraid/identity-schemas": "2.121.0-dev",
40
+ "@nexeraid/identity-api-client": "2.35.1-dev",
41
41
  "@nexeraid/logger": "2.35.1-dev"
42
42
  },
43
43
  "devDependencies": {