@createiq/backend 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -977,18 +977,6 @@ var getElectionAnswer = (options) => {
977
977
  ...options
978
978
  });
979
979
  };
980
- var presetSendForApproval = (options) => {
981
- return (options.client ?? client).put({
982
- security: [
983
- {
984
- name: "Authorization",
985
- type: "apiKey"
986
- }
987
- ],
988
- url: "/api/v1/presets/{presetId}/approvals/sendForApproval",
989
- ...options
990
- });
991
- };
992
980
  var createAuditTrailJson = (options) => {
993
981
  return (options.client ?? client).get({
994
982
  security: [
@@ -1057,6 +1045,34 @@ var editDefaultAnswers = (options) => {
1057
1045
  }
1058
1046
  });
1059
1047
  };
1048
+ var presetSendForApproval = (options) => {
1049
+ return (options.client ?? client).put({
1050
+ security: [
1051
+ {
1052
+ name: "Authorization",
1053
+ type: "apiKey"
1054
+ }
1055
+ ],
1056
+ url: "/api/v1/presets/{presetId}/approvals/sendForApproval",
1057
+ ...options
1058
+ });
1059
+ };
1060
+ var fixApprovalRules = (options) => {
1061
+ return (options.client ?? client).put({
1062
+ security: [
1063
+ {
1064
+ name: "Authorization",
1065
+ type: "apiKey"
1066
+ }
1067
+ ],
1068
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/fix",
1069
+ ...options,
1070
+ headers: {
1071
+ "Content-Type": "application/json",
1072
+ ...options?.headers
1073
+ }
1074
+ });
1075
+ };
1060
1076
  var getSubscribedPublishers = (options) => {
1061
1077
  return (options?.client ?? client).get({
1062
1078
  security: [
@@ -2550,30 +2566,6 @@ var setMultipleNestedAnswers = (options) => {
2550
2566
  }
2551
2567
  });
2552
2568
  };
2553
- var deleteBulkSetAttachment = (options) => {
2554
- return (options.client ?? client).delete({
2555
- security: [
2556
- {
2557
- name: "Authorization",
2558
- type: "apiKey"
2559
- }
2560
- ],
2561
- url: "/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}",
2562
- ...options
2563
- });
2564
- };
2565
- var getBulkSetAttachment = (options) => {
2566
- return (options.client ?? client).get({
2567
- security: [
2568
- {
2569
- name: "Authorization",
2570
- type: "apiKey"
2571
- }
2572
- ],
2573
- url: "/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}",
2574
- ...options
2575
- });
2576
- };
2577
2569
  var getDocument = (options) => {
2578
2570
  return (options.client ?? client).get({
2579
2571
  security: [
@@ -2682,6 +2674,42 @@ var setPreset = (options) => {
2682
2674
  }
2683
2675
  });
2684
2676
  };
2677
+ var checkForBrokenApprovers = (options) => {
2678
+ return (options.client ?? client).get({
2679
+ security: [
2680
+ {
2681
+ name: "Authorization",
2682
+ type: "apiKey"
2683
+ }
2684
+ ],
2685
+ url: "/api/v1/account/checkForBrokenApprovers/{existingApproverId}",
2686
+ ...options
2687
+ });
2688
+ };
2689
+ var deleteBulkSetAttachment = (options) => {
2690
+ return (options.client ?? client).delete({
2691
+ security: [
2692
+ {
2693
+ name: "Authorization",
2694
+ type: "apiKey"
2695
+ }
2696
+ ],
2697
+ url: "/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}",
2698
+ ...options
2699
+ });
2700
+ };
2701
+ var getBulkSetAttachment = (options) => {
2702
+ return (options.client ?? client).get({
2703
+ security: [
2704
+ {
2705
+ name: "Authorization",
2706
+ type: "apiKey"
2707
+ }
2708
+ ],
2709
+ url: "/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}",
2710
+ ...options
2711
+ });
2712
+ };
2685
2713
  var usersWithNegotiationAccess = (options) => {
2686
2714
  return (options.client ?? client).get({
2687
2715
  security: [
@@ -3540,6 +3568,7 @@ export {
3540
3568
  cancelNegotiationsJobCount,
3541
3569
  changeSigningMode,
3542
3570
  checkAuxiliaryDocument,
3571
+ checkForBrokenApprovers,
3543
3572
  checkOfflineNegotiatedDocument,
3544
3573
  checkSignedExecutedVersion,
3545
3574
  checkSignedSignaturePagePdf,
@@ -3588,6 +3617,7 @@ export {
3588
3617
  editDefaultAnswers,
3589
3618
  emailPreferences,
3590
3619
  extendWindow,
3620
+ fixApprovalRules,
3591
3621
  forkNegotiation,
3592
3622
  generateAndMaybeSendEnvelope,
3593
3623
  getAccessibleNegotiation,