@createiq/backend 1.0.72 → 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
  });
@@ -328,6 +328,8 @@ export type ExtractedFieldMetadataDto = {
328
328
  spans?: unknown;
329
329
  };
330
330
 
331
+ export type SignerRole = 'main' | 'witness';
332
+
331
333
  export type ValidInvitationResponseDto = {
332
334
  email: string;
333
335
  accountName?: string;
@@ -1820,6 +1822,30 @@ export type OneLinkInvitationDetailsDto = {
1820
1822
 
1821
1823
  export type PresetHealthIssue = 'approvalrulesbroken' | 'schemaupgraderequired';
1822
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
+
1823
1849
  export type NegotiationStubbedPartyDto = {
1824
1850
  position: UIPartyPosition;
1825
1851
  account?: AccountIdAndNameDto;
@@ -6831,26 +6857,7 @@ export type cancelExtractionResponses = {
6831
6857
  export type cancelExtractionResponse = cancelExtractionResponses[keyof cancelExtractionResponses];
6832
6858
 
6833
6859
  export type patchAnswersData = {
6834
- body: Array<{
6835
- /**
6836
- * The operation to be performed
6837
- */
6838
- op: 'add' | 'remove' | 'replace' | 'move' | 'copy' | 'test';
6839
- /**
6840
- * A JSON-Pointer
6841
- */
6842
- path: string;
6843
- /**
6844
- * The value to be used within the operations.
6845
- */
6846
- value?: {
6847
- [key: string]: unknown;
6848
- };
6849
- /**
6850
- * A string containing a JSON Pointer value.
6851
- */
6852
- from?: string;
6853
- }>;
6860
+ body: PartyAnswersPatchDto;
6854
6861
  path: {
6855
6862
  subAccountId: string;
6856
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
  });