@createiq/backend 1.0.73 → 1.0.74

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/client/sdk.gen.ts CHANGED
@@ -2161,7 +2161,7 @@ export const patchAnswers = <ThrowOnError extends boolean = false>(options: Opti
2161
2161
  url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers',
2162
2162
  ...options,
2163
2163
  headers: {
2164
- 'Content-Type': 'application/json-patch+json',
2164
+ 'Content-Type': 'application/json',
2165
2165
  ...options.headers
2166
2166
  }
2167
2167
  });
@@ -1822,6 +1822,30 @@ export type OneLinkInvitationDetailsDto = {
1822
1822
 
1823
1823
  export type PresetHealthIssue = 'approvalrulesbroken' | 'schemaupgraderequired';
1824
1824
 
1825
+ export type PartyAnswersPatchDto = {
1826
+ answersLastModified?: string;
1827
+ patch: Array<{
1828
+ /**
1829
+ * The operation to be performed
1830
+ */
1831
+ op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test';
1832
+ /**
1833
+ * A JSON-Pointer
1834
+ */
1835
+ path: string;
1836
+ /**
1837
+ * The value to be used within the operations.
1838
+ */
1839
+ value?: {
1840
+ [key: string]: unknown;
1841
+ };
1842
+ /**
1843
+ * A string containing a JSON Pointer value.
1844
+ */
1845
+ from?: string;
1846
+ }>;
1847
+ };
1848
+
1825
1849
  export type NegotiationStubbedPartyDto = {
1826
1850
  position: UIPartyPosition;
1827
1851
  account?: AccountIdAndNameDto;
@@ -6833,26 +6857,7 @@ export type cancelExtractionResponses = {
6833
6857
  export type cancelExtractionResponse = cancelExtractionResponses[keyof cancelExtractionResponses];
6834
6858
 
6835
6859
  export type patchAnswersData = {
6836
- body: Array<{
6837
- /**
6838
- * The operation to be performed
6839
- */
6840
- op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test';
6841
- /**
6842
- * A JSON-Pointer
6843
- */
6844
- path: string;
6845
- /**
6846
- * The value to be used within the operations.
6847
- */
6848
- value?: {
6849
- [key: string]: unknown;
6850
- };
6851
- /**
6852
- * A string containing a JSON Pointer value.
6853
- */
6854
- from?: string;
6855
- }>;
6860
+ body: PartyAnswersPatchDto;
6856
6861
  path: {
6857
6862
  subAccountId: string;
6858
6863
  negotiationId: string;
package/dist/index.cjs CHANGED
@@ -2621,7 +2621,7 @@ var patchAnswers = (options) => {
2621
2621
  url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/answers",
2622
2622
  ...options,
2623
2623
  headers: {
2624
- "Content-Type": "application/json-patch+json",
2624
+ "Content-Type": "application/json",
2625
2625
  ...options.headers
2626
2626
  }
2627
2627
  });