Skip to content

Commit 57677db

Browse files
committed
feat(compare-comply): add ContractCurrentcies model
1 parent 7282cf6 commit 57677db

27 files changed

+134
-314
lines changed

Scripts/Services/CompareComply/V1/CompareComplyService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,9 +592,9 @@ private void OnAddFeedbackResponse(RESTConnector.Request req, RESTConnector.Resp
592592
/// `model_id`. The only permitted value is `contracts`. (optional)</param>
593593
/// <param name="modelVersion">An optional string that filters the output to include only feedback with the
594594
/// specified `model_version`. (optional)</param>
595-
/// <param name="categoryRemoved">An optional string in the form of a comma-separated list of categories. If
596-
/// this is specified, the service filters the output to include only feedback that has at least one category
597-
/// from the list removed. (optional)</param>
595+
/// <param name="categoryRemoved">An optional string in the form of a comma-separated list of categories. If it
596+
/// is specified, the service filters the output to include only feedback that has at least one category from
597+
/// the list removed. (optional)</param>
598598
/// <param name="categoryAdded">An optional string in the form of a comma-separated list of categories. If this
599599
/// is specified, the service filters the output to include only feedback that has at least one category from
600600
/// the list added. (optional)</param>

Scripts/Services/CompareComply/V1/Model/AlignedElement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class AlignedElement
3838
[JsonProperty("identical_text", NullValueHandling = NullValueHandling.Ignore)]
3939
public bool? IdenticalText { get; set; }
4040
/// <summary>
41-
/// One or more hashed values that you can send to IBM to provide feedback or receive support.
41+
/// Hashed values that you can send to IBM to provide feedback or receive support.
4242
/// </summary>
4343
[JsonProperty("provenance_ids", NullValueHandling = NullValueHandling.Ignore)]
4444
public List<string> ProvenanceIds { get; set; }

Scripts/Services/CompareComply/V1/Model/BodyCells.cs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,35 +62,37 @@ public class BodyCells
6262
[JsonProperty("column_index_end", NullValueHandling = NullValueHandling.Ignore)]
6363
public long? ColumnIndexEnd { get; set; }
6464
/// <summary>
65-
/// Gets or Sets RowHeaderIds
65+
/// An array that contains the `id` value of a row header that is applicable to this body cell.
6666
/// </summary>
6767
[JsonProperty("row_header_ids", NullValueHandling = NullValueHandling.Ignore)]
68-
public List<RowHeaderIds> RowHeaderIds { get; set; }
68+
public List<string> RowHeaderIds { get; set; }
6969
/// <summary>
70-
/// Gets or Sets RowHeaderTexts
70+
/// An array that contains the `text` value of a row header that is applicable to this body cell.
7171
/// </summary>
7272
[JsonProperty("row_header_texts", NullValueHandling = NullValueHandling.Ignore)]
73-
public List<RowHeaderTexts> RowHeaderTexts { get; set; }
73+
public List<string> RowHeaderTexts { get; set; }
7474
/// <summary>
75-
/// Gets or Sets RowHeaderTextsNormalized
75+
/// If you provide customization input, the normalized version of the row header texts according to the
76+
/// customization; otherwise, the same value as `row_header_texts`.
7677
/// </summary>
7778
[JsonProperty("row_header_texts_normalized", NullValueHandling = NullValueHandling.Ignore)]
78-
public List<RowHeaderTextsNormalized> RowHeaderTextsNormalized { get; set; }
79+
public List<string> RowHeaderTextsNormalized { get; set; }
7980
/// <summary>
80-
/// Gets or Sets ColumnHeaderIds
81+
/// An array that contains the `id` value of a column header that is applicable to the current cell.
8182
/// </summary>
8283
[JsonProperty("column_header_ids", NullValueHandling = NullValueHandling.Ignore)]
83-
public List<ColumnHeaderIds> ColumnHeaderIds { get; set; }
84+
public List<string> ColumnHeaderIds { get; set; }
8485
/// <summary>
85-
/// Gets or Sets ColumnHeaderTexts
86+
/// An array that contains the `text` value of a column header that is applicable to the current cell.
8687
/// </summary>
8788
[JsonProperty("column_header_texts", NullValueHandling = NullValueHandling.Ignore)]
88-
public List<ColumnHeaderTexts> ColumnHeaderTexts { get; set; }
89+
public List<string> ColumnHeaderTexts { get; set; }
8990
/// <summary>
90-
/// Gets or Sets ColumnHeaderTextsNormalized
91+
/// If you provide customization input, the normalized version of the column header texts according to the
92+
/// customization; otherwise, the same value as `column_header_texts`.
9193
/// </summary>
9294
[JsonProperty("column_header_texts_normalized", NullValueHandling = NullValueHandling.Ignore)]
93-
public List<ColumnHeaderTextsNormalized> ColumnHeaderTextsNormalized { get; set; }
95+
public List<string> ColumnHeaderTextsNormalized { get; set; }
9496
/// <summary>
9597
/// Gets or Sets Attributes
9698
/// </summary>

Scripts/Services/CompareComply/V1/Model/Category.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public class LabelValue
140140
[JsonProperty("label", NullValueHandling = NullValueHandling.Ignore)]
141141
public string Label { get; set; }
142142
/// <summary>
143-
/// One or more hashed values that you can send to IBM to provide feedback or receive support.
143+
/// Hashed values that you can send to IBM to provide feedback or receive support.
144144
/// </summary>
145145
[JsonProperty("provenance_ids", NullValueHandling = NullValueHandling.Ignore)]
146146
public List<string> ProvenanceIds { get; set; }

Scripts/Services/CompareComply/V1/Model/ClassifyReturn.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,31 @@ public class ClassifyReturn
5858
[JsonProperty("contract_amounts", NullValueHandling = NullValueHandling.Ignore)]
5959
public List<ContractAmts> ContractAmounts { get; set; }
6060
/// <summary>
61-
/// The date or dates on which the document is to be terminated.
61+
/// The dates on which the document is to be terminated.
6262
/// </summary>
6363
[JsonProperty("termination_dates", NullValueHandling = NullValueHandling.Ignore)]
6464
public List<TerminationDates> TerminationDates { get; set; }
6565
/// <summary>
66-
/// The document's contract type or types as declared in the document.
66+
/// The contract type as declared in the document.
6767
/// </summary>
6868
[JsonProperty("contract_types", NullValueHandling = NullValueHandling.Ignore)]
6969
public List<ContractTypes> ContractTypes { get; set; }
7070
/// <summary>
71-
/// The duration or durations of the contract.
71+
/// The durations of the contract.
7272
/// </summary>
7373
[JsonProperty("contract_terms", NullValueHandling = NullValueHandling.Ignore)]
7474
public List<ContractTerms> ContractTerms { get; set; }
7575
/// <summary>
76-
/// The document's payment duration or durations.
76+
/// The document's payment durations.
7777
/// </summary>
7878
[JsonProperty("payment_terms", NullValueHandling = NullValueHandling.Ignore)]
7979
public List<PaymentTerms> PaymentTerms { get; set; }
8080
/// <summary>
81+
/// The contract currencies as declared in the document.
82+
/// </summary>
83+
[JsonProperty("contract_currencies", NullValueHandling = NullValueHandling.Ignore)]
84+
public List<ContractCurrencies> ContractCurrencies { get; set; }
85+
/// <summary>
8186
/// Definition of tables identified in the input document.
8287
/// </summary>
8388
[JsonProperty("tables", NullValueHandling = NullValueHandling.Ignore)]

Scripts/Services/CompareComply/V1/Model/ColumnHeaderIds.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

Scripts/Services/CompareComply/V1/Model/ColumnHeaderIds.cs.meta

Lines changed: 0 additions & 11 deletions
This file was deleted.

Scripts/Services/CompareComply/V1/Model/ColumnHeaderTexts.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

Scripts/Services/CompareComply/V1/Model/ColumnHeaderTexts.cs.meta

Lines changed: 0 additions & 11 deletions
This file was deleted.

Scripts/Services/CompareComply/V1/Model/ColumnHeaderTextsNormalized.cs

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)