@createiq/backend 1.0.176 → 1.0.178

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.mjs CHANGED
@@ -4672,7 +4672,7 @@ const sendPackageToCounterparty = (options) => (options.client ?? client).put({
4672
4672
  /**
4673
4673
  * Set the owner entity and counterparty details for every negotiation in a package
4674
4674
  *
4675
- * Set the owner entity and counterparty details for every negotiation in a package. Equivalent to calling the negotiation owner and counterparties endpoints on each member. Both fields are optional, but at least one must be supplied. Supplying a counterparty overwrites all counterparty data on each member, including any reference IDs and external attachments already set on it. Negotiations that cannot accept the change are reported individually in the failures list, unless no negotiation could accept it, in which case the whole request fails with that reason.
4675
+ * Set the owner entity and counterparty details for every negotiation in a package. Equivalent to calling the negotiation owner and counterparties endpoints on each member. Both fields are optional, but at least one must be supplied. Supplying a counterparty overwrites external attachments already set on the existing counterparty member. Negotiations that cannot accept the change are reported individually in the failures list, unless no negotiation could accept it, in which case the whole request fails with that reason.
4676
4676
  */
4677
4677
  const setPackageParties = (options) => (options.client ?? client).put({
4678
4678
  security: [{
@@ -4739,50 +4739,6 @@ const extendWindow = (options) => (options?.client ?? client).put({
4739
4739
  ...options
4740
4740
  });
4741
4741
  /**
4742
- * Delete an offline negotiated document from a negotiation
4743
- *
4744
- * Delete an offline negotiated document from a negotiation.
4745
- */
4746
- const deleteOfflineNegotiatedDocument = (options) => (options.client ?? client).delete({
4747
- security: [{
4748
- name: "Authorization",
4749
- type: "apiKey"
4750
- }],
4751
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4752
- ...options
4753
- });
4754
- /**
4755
- * Download an uploaded offline negotiated document for a negotiation
4756
- *
4757
- * Download an uploaded offline negotiated document for a negotiation.
4758
- */
4759
- const getOfflineNegotiatedDocument = (options) => (options.client ?? client).get({
4760
- security: [{
4761
- name: "Authorization",
4762
- type: "apiKey"
4763
- }],
4764
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4765
- ...options
4766
- });
4767
- /**
4768
- * Upload an offline negotiated document for a negotiation
4769
- *
4770
- * Upload an offline negotiated document for a negotiation.
4771
- */
4772
- const setOfflineNegotiatedDocument = (options) => (options.client ?? client).put({
4773
- bodySerializer: null,
4774
- security: [{
4775
- name: "Authorization",
4776
- type: "apiKey"
4777
- }],
4778
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4779
- ...options,
4780
- headers: {
4781
- "Content-Type": "application/pdf",
4782
- ...options.headers
4783
- }
4784
- });
4785
- /**
4786
4742
  * Delete an executed version from a negotiation
4787
4743
  *
4788
4744
  * Delete an executed version from a negotiation.
@@ -4917,6 +4873,50 @@ const upgradePresetSchema = (options) => (options.client ?? client).put({
4917
4873
  ...options
4918
4874
  });
4919
4875
  /**
4876
+ * Delete an offline negotiated document from a negotiation
4877
+ *
4878
+ * Delete an offline negotiated document from a negotiation.
4879
+ */
4880
+ const deleteOfflineNegotiatedDocument = (options) => (options.client ?? client).delete({
4881
+ security: [{
4882
+ name: "Authorization",
4883
+ type: "apiKey"
4884
+ }],
4885
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4886
+ ...options
4887
+ });
4888
+ /**
4889
+ * Download an uploaded offline negotiated document for a negotiation
4890
+ *
4891
+ * Download an uploaded offline negotiated document for a negotiation.
4892
+ */
4893
+ const getOfflineNegotiatedDocument = (options) => (options.client ?? client).get({
4894
+ security: [{
4895
+ name: "Authorization",
4896
+ type: "apiKey"
4897
+ }],
4898
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4899
+ ...options
4900
+ });
4901
+ /**
4902
+ * Upload an offline negotiated document for a negotiation
4903
+ *
4904
+ * Upload an offline negotiated document for a negotiation.
4905
+ */
4906
+ const setOfflineNegotiatedDocument = (options) => (options.client ?? client).put({
4907
+ bodySerializer: null,
4908
+ security: [{
4909
+ name: "Authorization",
4910
+ type: "apiKey"
4911
+ }],
4912
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/offline_negotiated_document",
4913
+ ...options,
4914
+ headers: {
4915
+ "Content-Type": "application/pdf",
4916
+ ...options.headers
4917
+ }
4918
+ });
4919
+ /**
4920
4920
  * Send a negotiation to all counterparties for the first time
4921
4921
  *
4922
4922
  * Send a negotiation to all counterparties for the first time.