From ea2dd52c1273e810f79f550bddaef9c6af986c16 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 24 Sep 2025 04:32:35 +0000 Subject: [PATCH 1/5] chore(internal): change some comment formatting --- .../document/DocumentGetFieldsResponse.kt | 324 ++++++++-------- .../models/document/DocumentListResponse.kt | 20 +- .../document/DocumentRetrieveResponse.kt | 20 +- .../api/models/document/DocumentStatusEnum.kt | 10 +- .../models/document/PdfFieldValidationEnum.kt | 162 ++++---- .../models/signer/SignerRetrieveResponse.kt | 44 +-- .../api/models/signer/SignerStatusEnum.kt | 22 +- .../models/status/StatusRetrieveResponse.kt | 44 +-- .../templatepdf/fields/FieldCreateParams.kt | 354 +++++++++--------- .../templatepdf/fields/FieldListResponse.kt | 354 +++++++++--------- 10 files changed, 677 insertions(+), 677 deletions(-) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt index 25ff35d..cff8680 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt @@ -98,87 +98,87 @@ private constructor( /** * fields types and validations: - * - 1 - Email - * - 2 - yyyy/mm/dd - * - 3 - yy/mm/dd - * - 4 - dd/mm/yyyy - * - 5 - dd/mm/yy - * - 6 - mm/dd/yy - * - 7 - mm/dd/yy - * - 8 - yyyy.mm.dd - * - 9 - yy.mm.dd - * - 10 - dd.mm.yyyy - * - 11 - dd.mm.yy - * - 12 - mm.dd.yyyy - * - 13 - mm.dd.yy - * - 14 - yyyy-mm-dd - * - 15 - yy-mm-dd - * - 16 - dd-mm-yyyy - * - 17 - dd-mm-yy - * - 18 - mm-dd-yyyy - * - 19 - mm-dd-yy - * - 20 - Dropdown list, use options attribute for items - * - 24 - Checkbox tick/cross - * - 25 - Checkbox tick/blank - * - 26 - Checkbox cross/blank - * - 30 - yyyy/mm/dd (automatic) - * - 31 - yy/mm/dd (automatic) - * - 32 - dd/yy/yyyy (automatic) - * - 33 - dd/mm/yy (automatic) - * - 34 - mm/dd/yyyy (automatic) - * - 35 - mm/dd/yy (automatic) - * - 36 - yyyy.mm.dd (automatic) - * - 37 - yy.mm.dd (automatic) - * - 38 - dd.mm.yyyy (automatic) - * - 39 - dd.mm.yy (automatic) - * - 40 - mm.dd.yyyy (automatic) - * - 41 - mm.dd.yy (automatic) - * - 42 - yyyy-mm-dd (automatic) - * - 43 - yy-mm-dd (automatic) - * - 44 - dd-mm-yyyy (automatic) - * - 45 - dd-mm-yy (automatic) - * - 46 - mm-dd-yyyy (automatic) - * - 47 - mm-dd-yy (automatic) - * - 48 - d mmmmm yyyy (automatic) - * - 50 - Whole number - * - 51 - Number - * - 52 - Currency (2 decimals) - * - 53 - 1 number - * - 54 - 2 numbers - * - 55 - 3 numbers - * - 56 - 4 numbers - * - 57 - 5 numbers - * - 58 - 6 numbers - * - 59 - 7 numbers - * - 60 - 8 numbers - * - 61 - 9 numbers - * - 62 - 10 numbers - * - 63 - 11 numbers - * - 64 - 12 numbers - * - 65 - 1 characters (any text) - * - 66 - 2 characters (any text) - * - 67 - 3 characters (any text) - * - 68 - 4 characters (any text) - * - 69 - 5 characters (any text) - * - 70 - 6 characters (any text) - * - 71 - 7 characters (any text) - * - 72 - 8 characters (any text) - * - 73 - secret code, add code in options - * - 74 - file attach, append to email to signer - * - 75 - file attach, append to final PDF - * - 76 - file attach, zip with final PDF for internal use, but not signer - * - 77 - force to title caps - * - 78 - force to uppercase - * - 79 - force to lowercase - * - 80 - mm/yy - * - 81 - mm/yyyy - * - 82 - mm.yy - * - 83 - mm.yyyy - * - 84 - mm-yy - * - 85 - mm-yyyy - * - 90 - drawn field - * - 91 - countries list - * - 92 - honorifics list + * * 1 - Email + * * 2 - yyyy/mm/dd + * * 3 - yy/mm/dd + * * 4 - dd/mm/yyyy + * * 5 - dd/mm/yy + * * 6 - mm/dd/yy + * * 7 - mm/dd/yy + * * 8 - yyyy.mm.dd + * * 9 - yy.mm.dd + * * 10 - dd.mm.yyyy + * * 11 - dd.mm.yy + * * 12 - mm.dd.yyyy + * * 13 - mm.dd.yy + * * 14 - yyyy-mm-dd + * * 15 - yy-mm-dd + * * 16 - dd-mm-yyyy + * * 17 - dd-mm-yy + * * 18 - mm-dd-yyyy + * * 19 - mm-dd-yy + * * 20 - Dropdown list, use options attribute for items + * * 24 - Checkbox tick/cross + * * 25 - Checkbox tick/blank + * * 26 - Checkbox cross/blank + * * 30 - yyyy/mm/dd (automatic) + * * 31 - yy/mm/dd (automatic) + * * 32 - dd/yy/yyyy (automatic) + * * 33 - dd/mm/yy (automatic) + * * 34 - mm/dd/yyyy (automatic) + * * 35 - mm/dd/yy (automatic) + * * 36 - yyyy.mm.dd (automatic) + * * 37 - yy.mm.dd (automatic) + * * 38 - dd.mm.yyyy (automatic) + * * 39 - dd.mm.yy (automatic) + * * 40 - mm.dd.yyyy (automatic) + * * 41 - mm.dd.yy (automatic) + * * 42 - yyyy-mm-dd (automatic) + * * 43 - yy-mm-dd (automatic) + * * 44 - dd-mm-yyyy (automatic) + * * 45 - dd-mm-yy (automatic) + * * 46 - mm-dd-yyyy (automatic) + * * 47 - mm-dd-yy (automatic) + * * 48 - d mmmmm yyyy (automatic) + * * 50 - Whole number + * * 51 - Number + * * 52 - Currency (2 decimals) + * * 53 - 1 number + * * 54 - 2 numbers + * * 55 - 3 numbers + * * 56 - 4 numbers + * * 57 - 5 numbers + * * 58 - 6 numbers + * * 59 - 7 numbers + * * 60 - 8 numbers + * * 61 - 9 numbers + * * 62 - 10 numbers + * * 63 - 11 numbers + * * 64 - 12 numbers + * * 65 - 1 characters (any text) + * * 66 - 2 characters (any text) + * * 67 - 3 characters (any text) + * * 68 - 4 characters (any text) + * * 69 - 5 characters (any text) + * * 70 - 6 characters (any text) + * * 71 - 7 characters (any text) + * * 72 - 8 characters (any text) + * * 73 - secret code, add code in options + * * 74 - file attach, append to email to signer + * * 75 - file attach, append to final PDF + * * 76 - file attach, zip with final PDF for internal use, but not signer + * * 77 - force to title caps + * * 78 - force to uppercase + * * 79 - force to lowercase + * * 80 - mm/yy + * * 81 - mm/yyyy + * * 82 - mm.yy + * * 83 - mm.yyyy + * * 84 - mm-yy + * * 85 - mm-yyyy + * * 90 - drawn field + * * 91 - countries list + * * 92 - honorifics list * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -377,87 +377,87 @@ private constructor( /** * fields types and validations: - * - 1 - Email - * - 2 - yyyy/mm/dd - * - 3 - yy/mm/dd - * - 4 - dd/mm/yyyy - * - 5 - dd/mm/yy - * - 6 - mm/dd/yy - * - 7 - mm/dd/yy - * - 8 - yyyy.mm.dd - * - 9 - yy.mm.dd - * - 10 - dd.mm.yyyy - * - 11 - dd.mm.yy - * - 12 - mm.dd.yyyy - * - 13 - mm.dd.yy - * - 14 - yyyy-mm-dd - * - 15 - yy-mm-dd - * - 16 - dd-mm-yyyy - * - 17 - dd-mm-yy - * - 18 - mm-dd-yyyy - * - 19 - mm-dd-yy - * - 20 - Dropdown list, use options attribute for items - * - 24 - Checkbox tick/cross - * - 25 - Checkbox tick/blank - * - 26 - Checkbox cross/blank - * - 30 - yyyy/mm/dd (automatic) - * - 31 - yy/mm/dd (automatic) - * - 32 - dd/yy/yyyy (automatic) - * - 33 - dd/mm/yy (automatic) - * - 34 - mm/dd/yyyy (automatic) - * - 35 - mm/dd/yy (automatic) - * - 36 - yyyy.mm.dd (automatic) - * - 37 - yy.mm.dd (automatic) - * - 38 - dd.mm.yyyy (automatic) - * - 39 - dd.mm.yy (automatic) - * - 40 - mm.dd.yyyy (automatic) - * - 41 - mm.dd.yy (automatic) - * - 42 - yyyy-mm-dd (automatic) - * - 43 - yy-mm-dd (automatic) - * - 44 - dd-mm-yyyy (automatic) - * - 45 - dd-mm-yy (automatic) - * - 46 - mm-dd-yyyy (automatic) - * - 47 - mm-dd-yy (automatic) - * - 48 - d mmmmm yyyy (automatic) - * - 50 - Whole number - * - 51 - Number - * - 52 - Currency (2 decimals) - * - 53 - 1 number - * - 54 - 2 numbers - * - 55 - 3 numbers - * - 56 - 4 numbers - * - 57 - 5 numbers - * - 58 - 6 numbers - * - 59 - 7 numbers - * - 60 - 8 numbers - * - 61 - 9 numbers - * - 62 - 10 numbers - * - 63 - 11 numbers - * - 64 - 12 numbers - * - 65 - 1 characters (any text) - * - 66 - 2 characters (any text) - * - 67 - 3 characters (any text) - * - 68 - 4 characters (any text) - * - 69 - 5 characters (any text) - * - 70 - 6 characters (any text) - * - 71 - 7 characters (any text) - * - 72 - 8 characters (any text) - * - 73 - secret code, add code in options - * - 74 - file attach, append to email to signer - * - 75 - file attach, append to final PDF - * - 76 - file attach, zip with final PDF for internal use, but not signer - * - 77 - force to title caps - * - 78 - force to uppercase - * - 79 - force to lowercase - * - 80 - mm/yy - * - 81 - mm/yyyy - * - 82 - mm.yy - * - 83 - mm.yyyy - * - 84 - mm-yy - * - 85 - mm-yyyy - * - 90 - drawn field - * - 91 - countries list - * - 92 - honorifics list + * * 1 - Email + * * 2 - yyyy/mm/dd + * * 3 - yy/mm/dd + * * 4 - dd/mm/yyyy + * * 5 - dd/mm/yy + * * 6 - mm/dd/yy + * * 7 - mm/dd/yy + * * 8 - yyyy.mm.dd + * * 9 - yy.mm.dd + * * 10 - dd.mm.yyyy + * * 11 - dd.mm.yy + * * 12 - mm.dd.yyyy + * * 13 - mm.dd.yy + * * 14 - yyyy-mm-dd + * * 15 - yy-mm-dd + * * 16 - dd-mm-yyyy + * * 17 - dd-mm-yy + * * 18 - mm-dd-yyyy + * * 19 - mm-dd-yy + * * 20 - Dropdown list, use options attribute for items + * * 24 - Checkbox tick/cross + * * 25 - Checkbox tick/blank + * * 26 - Checkbox cross/blank + * * 30 - yyyy/mm/dd (automatic) + * * 31 - yy/mm/dd (automatic) + * * 32 - dd/yy/yyyy (automatic) + * * 33 - dd/mm/yy (automatic) + * * 34 - mm/dd/yyyy (automatic) + * * 35 - mm/dd/yy (automatic) + * * 36 - yyyy.mm.dd (automatic) + * * 37 - yy.mm.dd (automatic) + * * 38 - dd.mm.yyyy (automatic) + * * 39 - dd.mm.yy (automatic) + * * 40 - mm.dd.yyyy (automatic) + * * 41 - mm.dd.yy (automatic) + * * 42 - yyyy-mm-dd (automatic) + * * 43 - yy-mm-dd (automatic) + * * 44 - dd-mm-yyyy (automatic) + * * 45 - dd-mm-yy (automatic) + * * 46 - mm-dd-yyyy (automatic) + * * 47 - mm-dd-yy (automatic) + * * 48 - d mmmmm yyyy (automatic) + * * 50 - Whole number + * * 51 - Number + * * 52 - Currency (2 decimals) + * * 53 - 1 number + * * 54 - 2 numbers + * * 55 - 3 numbers + * * 56 - 4 numbers + * * 57 - 5 numbers + * * 58 - 6 numbers + * * 59 - 7 numbers + * * 60 - 8 numbers + * * 61 - 9 numbers + * * 62 - 10 numbers + * * 63 - 11 numbers + * * 64 - 12 numbers + * * 65 - 1 characters (any text) + * * 66 - 2 characters (any text) + * * 67 - 3 characters (any text) + * * 68 - 4 characters (any text) + * * 69 - 5 characters (any text) + * * 70 - 6 characters (any text) + * * 71 - 7 characters (any text) + * * 72 - 8 characters (any text) + * * 73 - secret code, add code in options + * * 74 - file attach, append to email to signer + * * 75 - file attach, append to final PDF + * * 76 - file attach, zip with final PDF for internal use, but not signer + * * 77 - force to title caps + * * 78 - force to uppercase + * * 79 - force to lowercase + * * 80 - mm/yy + * * 81 - mm/yyyy + * * 82 - mm.yy + * * 83 - mm.yyyy + * * 84 - mm-yy + * * 85 - mm-yyyy + * * 90 - drawn field + * * 91 - countries list + * * 92 - honorifics list */ fun validation(validation: PdfFieldValidationEnum?) = validation(JsonField.ofNullable(validation)) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt index b895878..9c11a3a 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt @@ -397,11 +397,11 @@ private constructor( /** * Document status options: - * - 10 - Initial state, check signer status for sent/unsent - * - 20 - Fields completed - * - 30 - Signed - * - 40 - Removed (before signing) - * - 50 - Rejected + * * 10 - Initial state, check signer status for sent/unsent + * * 20 - Fields completed + * * 30 - Signed + * * 40 - Removed (before signing) + * * 50 - Rejected * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. * if the server responded with an unexpected value). @@ -915,11 +915,11 @@ private constructor( /** * Document status options: - * - 10 - Initial state, check signer status for sent/unsent - * - 20 - Fields completed - * - 30 - Signed - * - 40 - Removed (before signing) - * - 50 - Rejected + * * 10 - Initial state, check signer status for sent/unsent + * * 20 - Fields completed + * * 30 - Signed + * * 40 - Removed (before signing) + * * 50 - Rejected */ fun status(status: DocumentStatusEnum) = status(JsonField.of(status)) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt index 2557284..9f9827e 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt @@ -401,11 +401,11 @@ private constructor( /** * Document status options: - * - 10 - Initial state, check signer status for sent/unsent - * - 20 - Fields completed - * - 30 - Signed - * - 40 - Removed (before signing) - * - 50 - Rejected + * * 10 - Initial state, check signer status for sent/unsent + * * 20 - Fields completed + * * 30 - Signed + * * 40 - Removed (before signing) + * * 50 - Rejected * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -1226,11 +1226,11 @@ private constructor( /** * Document status options: - * - 10 - Initial state, check signer status for sent/unsent - * - 20 - Fields completed - * - 30 - Signed - * - 40 - Removed (before signing) - * - 50 - Rejected + * * 10 - Initial state, check signer status for sent/unsent + * * 20 - Fields completed + * * 30 - Signed + * * 40 - Removed (before signing) + * * 50 - Rejected */ fun status(status: DocumentStatusEnum) = status(JsonField.of(status)) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentStatusEnum.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentStatusEnum.kt index 26bf9d8..0fb64fe 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentStatusEnum.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentStatusEnum.kt @@ -10,11 +10,11 @@ import kotlin.jvm.optionals.getOrNull /** * Document status options: - * - 10 - Initial state, check signer status for sent/unsent - * - 20 - Fields completed - * - 30 - Signed - * - 40 - Removed (before signing) - * - 50 - Rejected + * * 10 - Initial state, check signer status for sent/unsent + * * 20 - Fields completed + * * 30 - Signed + * * 40 - Removed (before signing) + * * 50 - Rejected */ class DocumentStatusEnum @JsonCreator private constructor(private val value: JsonField) : Enum { diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/PdfFieldValidationEnum.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/PdfFieldValidationEnum.kt index d9d434e..b62ca4c 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/PdfFieldValidationEnum.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/PdfFieldValidationEnum.kt @@ -10,87 +10,87 @@ import kotlin.jvm.optionals.getOrNull /** * fields types and validations: - * - 1 - Email - * - 2 - yyyy/mm/dd - * - 3 - yy/mm/dd - * - 4 - dd/mm/yyyy - * - 5 - dd/mm/yy - * - 6 - mm/dd/yy - * - 7 - mm/dd/yy - * - 8 - yyyy.mm.dd - * - 9 - yy.mm.dd - * - 10 - dd.mm.yyyy - * - 11 - dd.mm.yy - * - 12 - mm.dd.yyyy - * - 13 - mm.dd.yy - * - 14 - yyyy-mm-dd - * - 15 - yy-mm-dd - * - 16 - dd-mm-yyyy - * - 17 - dd-mm-yy - * - 18 - mm-dd-yyyy - * - 19 - mm-dd-yy - * - 20 - Dropdown list, use options attribute for items - * - 24 - Checkbox tick/cross - * - 25 - Checkbox tick/blank - * - 26 - Checkbox cross/blank - * - 30 - yyyy/mm/dd (automatic) - * - 31 - yy/mm/dd (automatic) - * - 32 - dd/yy/yyyy (automatic) - * - 33 - dd/mm/yy (automatic) - * - 34 - mm/dd/yyyy (automatic) - * - 35 - mm/dd/yy (automatic) - * - 36 - yyyy.mm.dd (automatic) - * - 37 - yy.mm.dd (automatic) - * - 38 - dd.mm.yyyy (automatic) - * - 39 - dd.mm.yy (automatic) - * - 40 - mm.dd.yyyy (automatic) - * - 41 - mm.dd.yy (automatic) - * - 42 - yyyy-mm-dd (automatic) - * - 43 - yy-mm-dd (automatic) - * - 44 - dd-mm-yyyy (automatic) - * - 45 - dd-mm-yy (automatic) - * - 46 - mm-dd-yyyy (automatic) - * - 47 - mm-dd-yy (automatic) - * - 48 - d mmmmm yyyy (automatic) - * - 50 - Whole number - * - 51 - Number - * - 52 - Currency (2 decimals) - * - 53 - 1 number - * - 54 - 2 numbers - * - 55 - 3 numbers - * - 56 - 4 numbers - * - 57 - 5 numbers - * - 58 - 6 numbers - * - 59 - 7 numbers - * - 60 - 8 numbers - * - 61 - 9 numbers - * - 62 - 10 numbers - * - 63 - 11 numbers - * - 64 - 12 numbers - * - 65 - 1 characters (any text) - * - 66 - 2 characters (any text) - * - 67 - 3 characters (any text) - * - 68 - 4 characters (any text) - * - 69 - 5 characters (any text) - * - 70 - 6 characters (any text) - * - 71 - 7 characters (any text) - * - 72 - 8 characters (any text) - * - 73 - secret code, add code in options - * - 74 - file attach, append to email to signer - * - 75 - file attach, append to final PDF - * - 76 - file attach, zip with final PDF for internal use, but not signer - * - 77 - force to title caps - * - 78 - force to uppercase - * - 79 - force to lowercase - * - 80 - mm/yy - * - 81 - mm/yyyy - * - 82 - mm.yy - * - 83 - mm.yyyy - * - 84 - mm-yy - * - 85 - mm-yyyy - * - 90 - drawn field - * - 91 - countries list - * - 92 - honorifics list + * * 1 - Email + * * 2 - yyyy/mm/dd + * * 3 - yy/mm/dd + * * 4 - dd/mm/yyyy + * * 5 - dd/mm/yy + * * 6 - mm/dd/yy + * * 7 - mm/dd/yy + * * 8 - yyyy.mm.dd + * * 9 - yy.mm.dd + * * 10 - dd.mm.yyyy + * * 11 - dd.mm.yy + * * 12 - mm.dd.yyyy + * * 13 - mm.dd.yy + * * 14 - yyyy-mm-dd + * * 15 - yy-mm-dd + * * 16 - dd-mm-yyyy + * * 17 - dd-mm-yy + * * 18 - mm-dd-yyyy + * * 19 - mm-dd-yy + * * 20 - Dropdown list, use options attribute for items + * * 24 - Checkbox tick/cross + * * 25 - Checkbox tick/blank + * * 26 - Checkbox cross/blank + * * 30 - yyyy/mm/dd (automatic) + * * 31 - yy/mm/dd (automatic) + * * 32 - dd/yy/yyyy (automatic) + * * 33 - dd/mm/yy (automatic) + * * 34 - mm/dd/yyyy (automatic) + * * 35 - mm/dd/yy (automatic) + * * 36 - yyyy.mm.dd (automatic) + * * 37 - yy.mm.dd (automatic) + * * 38 - dd.mm.yyyy (automatic) + * * 39 - dd.mm.yy (automatic) + * * 40 - mm.dd.yyyy (automatic) + * * 41 - mm.dd.yy (automatic) + * * 42 - yyyy-mm-dd (automatic) + * * 43 - yy-mm-dd (automatic) + * * 44 - dd-mm-yyyy (automatic) + * * 45 - dd-mm-yy (automatic) + * * 46 - mm-dd-yyyy (automatic) + * * 47 - mm-dd-yy (automatic) + * * 48 - d mmmmm yyyy (automatic) + * * 50 - Whole number + * * 51 - Number + * * 52 - Currency (2 decimals) + * * 53 - 1 number + * * 54 - 2 numbers + * * 55 - 3 numbers + * * 56 - 4 numbers + * * 57 - 5 numbers + * * 58 - 6 numbers + * * 59 - 7 numbers + * * 60 - 8 numbers + * * 61 - 9 numbers + * * 62 - 10 numbers + * * 63 - 11 numbers + * * 64 - 12 numbers + * * 65 - 1 characters (any text) + * * 66 - 2 characters (any text) + * * 67 - 3 characters (any text) + * * 68 - 4 characters (any text) + * * 69 - 5 characters (any text) + * * 70 - 6 characters (any text) + * * 71 - 7 characters (any text) + * * 72 - 8 characters (any text) + * * 73 - secret code, add code in options + * * 74 - file attach, append to email to signer + * * 75 - file attach, append to final PDF + * * 76 - file attach, zip with final PDF for internal use, but not signer + * * 77 - force to title caps + * * 78 - force to uppercase + * * 79 - force to lowercase + * * 80 - mm/yy + * * 81 - mm/yyyy + * * 82 - mm.yy + * * 83 - mm.yyyy + * * 84 - mm-yy + * * 85 - mm-yyyy + * * 90 - drawn field + * * 91 - countries list + * * 92 - honorifics list */ class PdfFieldValidationEnum @JsonCreator private constructor(private val value: JsonField) : Enum { diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt index 21944b6..887610a 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt @@ -101,17 +101,17 @@ private constructor( /** * Signer status options: - * - 4 - unsent - * - 5 - scheduled to be sent - * - 10 - sent - * - 15 - email opened - * - 20 - visited - * - 30 - fields complete - * - 35 - fields complete ex signature - * - 39 - waiting for witness to complete - * - 40 - signed - * - 50 - downloaded - * - 60 - rejected + * * 4 - unsent + * * 5 - scheduled to be sent + * * 10 - sent + * * 15 - email opened + * * 20 - visited + * * 30 - fields complete + * * 35 - fields complete ex signature + * * 39 - waiting for witness to complete + * * 40 - signed + * * 50 - downloaded + * * 60 - rejected * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -295,17 +295,17 @@ private constructor( /** * Signer status options: - * - 4 - unsent - * - 5 - scheduled to be sent - * - 10 - sent - * - 15 - email opened - * - 20 - visited - * - 30 - fields complete - * - 35 - fields complete ex signature - * - 39 - waiting for witness to complete - * - 40 - signed - * - 50 - downloaded - * - 60 - rejected + * * 4 - unsent + * * 5 - scheduled to be sent + * * 10 - sent + * * 15 - email opened + * * 20 - visited + * * 30 - fields complete + * * 35 - fields complete ex signature + * * 39 - waiting for witness to complete + * * 40 - signed + * * 50 - downloaded + * * 60 - rejected */ fun status(status: SignerStatusEnum) = status(JsonField.of(status)) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerStatusEnum.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerStatusEnum.kt index 284dabd..bb091b9 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerStatusEnum.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerStatusEnum.kt @@ -10,17 +10,17 @@ import kotlin.jvm.optionals.getOrNull /** * Signer status options: - * - 4 - unsent - * - 5 - scheduled to be sent - * - 10 - sent - * - 15 - email opened - * - 20 - visited - * - 30 - fields complete - * - 35 - fields complete ex signature - * - 39 - waiting for witness to complete - * - 40 - signed - * - 50 - downloaded - * - 60 - rejected + * * 4 - unsent + * * 5 - scheduled to be sent + * * 10 - sent + * * 15 - email opened + * * 20 - visited + * * 30 - fields complete + * * 35 - fields complete ex signature + * * 39 - waiting for witness to complete + * * 40 - signed + * * 50 - downloaded + * * 60 - rejected */ class SignerStatusEnum @JsonCreator private constructor(private val value: JsonField) : Enum { diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt index 9e99039..42bfdd5 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt @@ -66,17 +66,17 @@ private constructor( /** * Signer status options: - * - 4 - unsent - * - 5 - scheduled to be sent - * - 10 - sent - * - 15 - email opened - * - 20 - visited - * - 30 - fields complete - * - 35 - fields complete ex signature - * - 39 - waiting for witness to complete - * - 40 - signed - * - 50 - downloaded - * - 60 - rejected + * * 4 - unsent + * * 5 - scheduled to be sent + * * 10 - sent + * * 15 - email opened + * * 20 - visited + * * 30 - fields complete + * * 35 - fields complete ex signature + * * 39 - waiting for witness to complete + * * 40 - signed + * * 50 - downloaded + * * 60 - rejected * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. if * the server responded with an unexpected value). @@ -233,17 +233,17 @@ private constructor( /** * Signer status options: - * - 4 - unsent - * - 5 - scheduled to be sent - * - 10 - sent - * - 15 - email opened - * - 20 - visited - * - 30 - fields complete - * - 35 - fields complete ex signature - * - 39 - waiting for witness to complete - * - 40 - signed - * - 50 - downloaded - * - 60 - rejected + * * 4 - unsent + * * 5 - scheduled to be sent + * * 10 - sent + * * 15 - email opened + * * 20 - visited + * * 30 - fields complete + * * 35 - fields complete ex signature + * * 39 - waiting for witness to complete + * * 40 - signed + * * 50 - downloaded + * * 60 - rejected */ fun status(status: SignerStatusEnum) = status(JsonField.of(status)) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt index c61cf12..ea58da4 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt @@ -282,8 +282,8 @@ private constructor( fun by(): Float = by.getRequired("by") /** - * Must be one of the following: _ signature - signature field _ initials - initials field _ - * text - signer field (field for signer to complete) _ admin - sender field (field to + * Must be one of the following: * signature - signature field * initials - initials field * + * text - signer field (field for signer to complete) * admin - sender field (field to * complete by admin user when sending, use pdftext) * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type or is @@ -309,9 +309,9 @@ private constructor( /** * one of the following: - * - 1 - left - * - 2 - middle - * - 3 - right + * * 1 - left + * * 2 - middle + * * 3 - right * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. * if the server responded with an unexpected value). @@ -413,87 +413,87 @@ private constructor( /** * fields types and validations: - * - 1 - Email - * - 2 - yyyy/mm/dd - * - 3 - yy/mm/dd - * - 4 - dd/mm/yyyy - * - 5 - dd/mm/yy - * - 6 - mm/dd/yy - * - 7 - mm/dd/yy - * - 8 - yyyy.mm.dd - * - 9 - yy.mm.dd - * - 10 - dd.mm.yyyy - * - 11 - dd.mm.yy - * - 12 - mm.dd.yyyy - * - 13 - mm.dd.yy - * - 14 - yyyy-mm-dd - * - 15 - yy-mm-dd - * - 16 - dd-mm-yyyy - * - 17 - dd-mm-yy - * - 18 - mm-dd-yyyy - * - 19 - mm-dd-yy - * - 20 - Dropdown list, use options attribute for items - * - 24 - Checkbox tick/cross - * - 25 - Checkbox tick/blank - * - 26 - Checkbox cross/blank - * - 30 - yyyy/mm/dd (automatic) - * - 31 - yy/mm/dd (automatic) - * - 32 - dd/yy/yyyy (automatic) - * - 33 - dd/mm/yy (automatic) - * - 34 - mm/dd/yyyy (automatic) - * - 35 - mm/dd/yy (automatic) - * - 36 - yyyy.mm.dd (automatic) - * - 37 - yy.mm.dd (automatic) - * - 38 - dd.mm.yyyy (automatic) - * - 39 - dd.mm.yy (automatic) - * - 40 - mm.dd.yyyy (automatic) - * - 41 - mm.dd.yy (automatic) - * - 42 - yyyy-mm-dd (automatic) - * - 43 - yy-mm-dd (automatic) - * - 44 - dd-mm-yyyy (automatic) - * - 45 - dd-mm-yy (automatic) - * - 46 - mm-dd-yyyy (automatic) - * - 47 - mm-dd-yy (automatic) - * - 48 - d mmmmm yyyy (automatic) - * - 50 - Whole number - * - 51 - Number - * - 52 - Currency (2 decimals) - * - 53 - 1 number - * - 54 - 2 numbers - * - 55 - 3 numbers - * - 56 - 4 numbers - * - 57 - 5 numbers - * - 58 - 6 numbers - * - 59 - 7 numbers - * - 60 - 8 numbers - * - 61 - 9 numbers - * - 62 - 10 numbers - * - 63 - 11 numbers - * - 64 - 12 numbers - * - 65 - 1 characters (any text) - * - 66 - 2 characters (any text) - * - 67 - 3 characters (any text) - * - 68 - 4 characters (any text) - * - 69 - 5 characters (any text) - * - 70 - 6 characters (any text) - * - 71 - 7 characters (any text) - * - 72 - 8 characters (any text) - * - 73 - secret code, add code in options - * - 74 - file attach, append to email to signer - * - 75 - file attach, append to final PDF - * - 76 - file attach, zip with final PDF for internal use, but not signer - * - 77 - force to title caps - * - 78 - force to uppercase - * - 79 - force to lowercase - * - 80 - mm/yy - * - 81 - mm/yyyy - * - 82 - mm.yy - * - 83 - mm.yyyy - * - 84 - mm-yy - * - 85 - mm-yyyy - * - 90 - drawn field - * - 91 - countries list - * - 92 - honorifics list + * * 1 - Email + * * 2 - yyyy/mm/dd + * * 3 - yy/mm/dd + * * 4 - dd/mm/yyyy + * * 5 - dd/mm/yy + * * 6 - mm/dd/yy + * * 7 - mm/dd/yy + * * 8 - yyyy.mm.dd + * * 9 - yy.mm.dd + * * 10 - dd.mm.yyyy + * * 11 - dd.mm.yy + * * 12 - mm.dd.yyyy + * * 13 - mm.dd.yy + * * 14 - yyyy-mm-dd + * * 15 - yy-mm-dd + * * 16 - dd-mm-yyyy + * * 17 - dd-mm-yy + * * 18 - mm-dd-yyyy + * * 19 - mm-dd-yy + * * 20 - Dropdown list, use options attribute for items + * * 24 - Checkbox tick/cross + * * 25 - Checkbox tick/blank + * * 26 - Checkbox cross/blank + * * 30 - yyyy/mm/dd (automatic) + * * 31 - yy/mm/dd (automatic) + * * 32 - dd/yy/yyyy (automatic) + * * 33 - dd/mm/yy (automatic) + * * 34 - mm/dd/yyyy (automatic) + * * 35 - mm/dd/yy (automatic) + * * 36 - yyyy.mm.dd (automatic) + * * 37 - yy.mm.dd (automatic) + * * 38 - dd.mm.yyyy (automatic) + * * 39 - dd.mm.yy (automatic) + * * 40 - mm.dd.yyyy (automatic) + * * 41 - mm.dd.yy (automatic) + * * 42 - yyyy-mm-dd (automatic) + * * 43 - yy-mm-dd (automatic) + * * 44 - dd-mm-yyyy (automatic) + * * 45 - dd-mm-yy (automatic) + * * 46 - mm-dd-yyyy (automatic) + * * 47 - mm-dd-yy (automatic) + * * 48 - d mmmmm yyyy (automatic) + * * 50 - Whole number + * * 51 - Number + * * 52 - Currency (2 decimals) + * * 53 - 1 number + * * 54 - 2 numbers + * * 55 - 3 numbers + * * 56 - 4 numbers + * * 57 - 5 numbers + * * 58 - 6 numbers + * * 59 - 7 numbers + * * 60 - 8 numbers + * * 61 - 9 numbers + * * 62 - 10 numbers + * * 63 - 11 numbers + * * 64 - 12 numbers + * * 65 - 1 characters (any text) + * * 66 - 2 characters (any text) + * * 67 - 3 characters (any text) + * * 68 - 4 characters (any text) + * * 69 - 5 characters (any text) + * * 70 - 6 characters (any text) + * * 71 - 7 characters (any text) + * * 72 - 8 characters (any text) + * * 73 - secret code, add code in options + * * 74 - file attach, append to email to signer + * * 75 - file attach, append to final PDF + * * 76 - file attach, zip with final PDF for internal use, but not signer + * * 77 - force to title caps + * * 78 - force to uppercase + * * 79 - force to lowercase + * * 80 - mm/yy + * * 81 - mm/yyyy + * * 82 - mm.yy + * * 83 - mm.yyyy + * * 84 - mm-yy + * * 85 - mm-yyyy + * * 90 - drawn field + * * 91 - countries list + * * 92 - honorifics list * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. * if the server responded with an unexpected value). @@ -797,8 +797,8 @@ private constructor( fun by(by: JsonField) = apply { this.by = by } /** - * Must be one of the following: _ signature - signature field _ initials - initials - * field _ text - signer field (field for signer to complete) _ admin - sender field + * Must be one of the following: * signature - signature field * initials - initials + * field * text - signer field (field for signer to complete) * admin - sender field * (field to complete by admin user when sending, use pdftext) */ fun elementType(elementType: ElementType) = elementType(JsonField.of(elementType)) @@ -840,9 +840,9 @@ private constructor( /** * one of the following: - * - 1 - left - * - 2 - middle - * - 3 - right + * * 1 - left + * * 2 - middle + * * 3 - right */ fun align(align: Align?) = align(JsonField.ofNullable(align)) @@ -1023,87 +1023,87 @@ private constructor( /** * fields types and validations: - * - 1 - Email - * - 2 - yyyy/mm/dd - * - 3 - yy/mm/dd - * - 4 - dd/mm/yyyy - * - 5 - dd/mm/yy - * - 6 - mm/dd/yy - * - 7 - mm/dd/yy - * - 8 - yyyy.mm.dd - * - 9 - yy.mm.dd - * - 10 - dd.mm.yyyy - * - 11 - dd.mm.yy - * - 12 - mm.dd.yyyy - * - 13 - mm.dd.yy - * - 14 - yyyy-mm-dd - * - 15 - yy-mm-dd - * - 16 - dd-mm-yyyy - * - 17 - dd-mm-yy - * - 18 - mm-dd-yyyy - * - 19 - mm-dd-yy - * - 20 - Dropdown list, use options attribute for items - * - 24 - Checkbox tick/cross - * - 25 - Checkbox tick/blank - * - 26 - Checkbox cross/blank - * - 30 - yyyy/mm/dd (automatic) - * - 31 - yy/mm/dd (automatic) - * - 32 - dd/yy/yyyy (automatic) - * - 33 - dd/mm/yy (automatic) - * - 34 - mm/dd/yyyy (automatic) - * - 35 - mm/dd/yy (automatic) - * - 36 - yyyy.mm.dd (automatic) - * - 37 - yy.mm.dd (automatic) - * - 38 - dd.mm.yyyy (automatic) - * - 39 - dd.mm.yy (automatic) - * - 40 - mm.dd.yyyy (automatic) - * - 41 - mm.dd.yy (automatic) - * - 42 - yyyy-mm-dd (automatic) - * - 43 - yy-mm-dd (automatic) - * - 44 - dd-mm-yyyy (automatic) - * - 45 - dd-mm-yy (automatic) - * - 46 - mm-dd-yyyy (automatic) - * - 47 - mm-dd-yy (automatic) - * - 48 - d mmmmm yyyy (automatic) - * - 50 - Whole number - * - 51 - Number - * - 52 - Currency (2 decimals) - * - 53 - 1 number - * - 54 - 2 numbers - * - 55 - 3 numbers - * - 56 - 4 numbers - * - 57 - 5 numbers - * - 58 - 6 numbers - * - 59 - 7 numbers - * - 60 - 8 numbers - * - 61 - 9 numbers - * - 62 - 10 numbers - * - 63 - 11 numbers - * - 64 - 12 numbers - * - 65 - 1 characters (any text) - * - 66 - 2 characters (any text) - * - 67 - 3 characters (any text) - * - 68 - 4 characters (any text) - * - 69 - 5 characters (any text) - * - 70 - 6 characters (any text) - * - 71 - 7 characters (any text) - * - 72 - 8 characters (any text) - * - 73 - secret code, add code in options - * - 74 - file attach, append to email to signer - * - 75 - file attach, append to final PDF - * - 76 - file attach, zip with final PDF for internal use, but not signer - * - 77 - force to title caps - * - 78 - force to uppercase - * - 79 - force to lowercase - * - 80 - mm/yy - * - 81 - mm/yyyy - * - 82 - mm.yy - * - 83 - mm.yyyy - * - 84 - mm-yy - * - 85 - mm-yyyy - * - 90 - drawn field - * - 91 - countries list - * - 92 - honorifics list + * * 1 - Email + * * 2 - yyyy/mm/dd + * * 3 - yy/mm/dd + * * 4 - dd/mm/yyyy + * * 5 - dd/mm/yy + * * 6 - mm/dd/yy + * * 7 - mm/dd/yy + * * 8 - yyyy.mm.dd + * * 9 - yy.mm.dd + * * 10 - dd.mm.yyyy + * * 11 - dd.mm.yy + * * 12 - mm.dd.yyyy + * * 13 - mm.dd.yy + * * 14 - yyyy-mm-dd + * * 15 - yy-mm-dd + * * 16 - dd-mm-yyyy + * * 17 - dd-mm-yy + * * 18 - mm-dd-yyyy + * * 19 - mm-dd-yy + * * 20 - Dropdown list, use options attribute for items + * * 24 - Checkbox tick/cross + * * 25 - Checkbox tick/blank + * * 26 - Checkbox cross/blank + * * 30 - yyyy/mm/dd (automatic) + * * 31 - yy/mm/dd (automatic) + * * 32 - dd/yy/yyyy (automatic) + * * 33 - dd/mm/yy (automatic) + * * 34 - mm/dd/yyyy (automatic) + * * 35 - mm/dd/yy (automatic) + * * 36 - yyyy.mm.dd (automatic) + * * 37 - yy.mm.dd (automatic) + * * 38 - dd.mm.yyyy (automatic) + * * 39 - dd.mm.yy (automatic) + * * 40 - mm.dd.yyyy (automatic) + * * 41 - mm.dd.yy (automatic) + * * 42 - yyyy-mm-dd (automatic) + * * 43 - yy-mm-dd (automatic) + * * 44 - dd-mm-yyyy (automatic) + * * 45 - dd-mm-yy (automatic) + * * 46 - mm-dd-yyyy (automatic) + * * 47 - mm-dd-yy (automatic) + * * 48 - d mmmmm yyyy (automatic) + * * 50 - Whole number + * * 51 - Number + * * 52 - Currency (2 decimals) + * * 53 - 1 number + * * 54 - 2 numbers + * * 55 - 3 numbers + * * 56 - 4 numbers + * * 57 - 5 numbers + * * 58 - 6 numbers + * * 59 - 7 numbers + * * 60 - 8 numbers + * * 61 - 9 numbers + * * 62 - 10 numbers + * * 63 - 11 numbers + * * 64 - 12 numbers + * * 65 - 1 characters (any text) + * * 66 - 2 characters (any text) + * * 67 - 3 characters (any text) + * * 68 - 4 characters (any text) + * * 69 - 5 characters (any text) + * * 70 - 6 characters (any text) + * * 71 - 7 characters (any text) + * * 72 - 8 characters (any text) + * * 73 - secret code, add code in options + * * 74 - file attach, append to email to signer + * * 75 - file attach, append to final PDF + * * 76 - file attach, zip with final PDF for internal use, but not signer + * * 77 - force to title caps + * * 78 - force to uppercase + * * 79 - force to lowercase + * * 80 - mm/yy + * * 81 - mm/yyyy + * * 82 - mm.yy + * * 83 - mm.yyyy + * * 84 - mm-yy + * * 85 - mm-yyyy + * * 90 - drawn field + * * 91 - countries list + * * 92 - honorifics list */ fun validation(validation: PdfFieldValidationEnum?) = validation(JsonField.ofNullable(validation)) @@ -1251,8 +1251,8 @@ private constructor( (if (value.asKnown().isPresent) 1 else 0) /** - * Must be one of the following: _ signature - signature field _ initials - initials field _ - * text - signer field (field for signer to complete) _ admin - sender field (field to + * Must be one of the following: * signature - signature field * initials - initials field * + * text - signer field (field for signer to complete) * admin - sender field (field to * complete by admin user when sending, use pdftext) */ class ElementType @JsonCreator private constructor(private val value: JsonField) : @@ -1400,9 +1400,9 @@ private constructor( /** * one of the following: - * - 1 - left - * - 2 - middle - * - 3 - right + * * 1 - left + * * 2 - middle + * * 3 - right */ class Align @JsonCreator private constructor(private val value: JsonField) : Enum { diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt index ac6bfe4..58e0d66 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt @@ -320,8 +320,8 @@ private constructor( fun by(): Float = by.getRequired("by") /** - * Must be one of the following: _ signature - signature field _ initials - initials field _ - * text - signer field (field for signer to complete) _ admin - sender field (field to + * Must be one of the following: * signature - signature field * initials - initials field * + * text - signer field (field for signer to complete) * admin - sender field (field to * complete by admin user when sending) * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type or is @@ -347,9 +347,9 @@ private constructor( /** * one of the following: - * - 1 - left - * - 2 - middle - * - 3 - right + * * 1 - left + * * 2 - middle + * * 3 - right * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. * if the server responded with an unexpected value). @@ -450,87 +450,87 @@ private constructor( /** * fields types and validations: - * - 1 - Email - * - 2 - yyyy/mm/dd - * - 3 - yy/mm/dd - * - 4 - dd/mm/yyyy - * - 5 - dd/mm/yy - * - 6 - mm/dd/yy - * - 7 - mm/dd/yy - * - 8 - yyyy.mm.dd - * - 9 - yy.mm.dd - * - 10 - dd.mm.yyyy - * - 11 - dd.mm.yy - * - 12 - mm.dd.yyyy - * - 13 - mm.dd.yy - * - 14 - yyyy-mm-dd - * - 15 - yy-mm-dd - * - 16 - dd-mm-yyyy - * - 17 - dd-mm-yy - * - 18 - mm-dd-yyyy - * - 19 - mm-dd-yy - * - 20 - Dropdown list, use options attribute for items - * - 24 - Checkbox tick/cross - * - 25 - Checkbox tick/blank - * - 26 - Checkbox cross/blank - * - 30 - yyyy/mm/dd (automatic) - * - 31 - yy/mm/dd (automatic) - * - 32 - dd/yy/yyyy (automatic) - * - 33 - dd/mm/yy (automatic) - * - 34 - mm/dd/yyyy (automatic) - * - 35 - mm/dd/yy (automatic) - * - 36 - yyyy.mm.dd (automatic) - * - 37 - yy.mm.dd (automatic) - * - 38 - dd.mm.yyyy (automatic) - * - 39 - dd.mm.yy (automatic) - * - 40 - mm.dd.yyyy (automatic) - * - 41 - mm.dd.yy (automatic) - * - 42 - yyyy-mm-dd (automatic) - * - 43 - yy-mm-dd (automatic) - * - 44 - dd-mm-yyyy (automatic) - * - 45 - dd-mm-yy (automatic) - * - 46 - mm-dd-yyyy (automatic) - * - 47 - mm-dd-yy (automatic) - * - 48 - d mmmmm yyyy (automatic) - * - 50 - Whole number - * - 51 - Number - * - 52 - Currency (2 decimals) - * - 53 - 1 number - * - 54 - 2 numbers - * - 55 - 3 numbers - * - 56 - 4 numbers - * - 57 - 5 numbers - * - 58 - 6 numbers - * - 59 - 7 numbers - * - 60 - 8 numbers - * - 61 - 9 numbers - * - 62 - 10 numbers - * - 63 - 11 numbers - * - 64 - 12 numbers - * - 65 - 1 characters (any text) - * - 66 - 2 characters (any text) - * - 67 - 3 characters (any text) - * - 68 - 4 characters (any text) - * - 69 - 5 characters (any text) - * - 70 - 6 characters (any text) - * - 71 - 7 characters (any text) - * - 72 - 8 characters (any text) - * - 73 - secret code, add code in options - * - 74 - file attach, append to email to signer - * - 75 - file attach, append to final PDF - * - 76 - file attach, zip with final PDF for internal use, but not signer - * - 77 - force to title caps - * - 78 - force to uppercase - * - 79 - force to lowercase - * - 80 - mm/yy - * - 81 - mm/yyyy - * - 82 - mm.yy - * - 83 - mm.yyyy - * - 84 - mm-yy - * - 85 - mm-yyyy - * - 90 - drawn field - * - 91 - countries list - * - 92 - honorifics list + * * 1 - Email + * * 2 - yyyy/mm/dd + * * 3 - yy/mm/dd + * * 4 - dd/mm/yyyy + * * 5 - dd/mm/yy + * * 6 - mm/dd/yy + * * 7 - mm/dd/yy + * * 8 - yyyy.mm.dd + * * 9 - yy.mm.dd + * * 10 - dd.mm.yyyy + * * 11 - dd.mm.yy + * * 12 - mm.dd.yyyy + * * 13 - mm.dd.yy + * * 14 - yyyy-mm-dd + * * 15 - yy-mm-dd + * * 16 - dd-mm-yyyy + * * 17 - dd-mm-yy + * * 18 - mm-dd-yyyy + * * 19 - mm-dd-yy + * * 20 - Dropdown list, use options attribute for items + * * 24 - Checkbox tick/cross + * * 25 - Checkbox tick/blank + * * 26 - Checkbox cross/blank + * * 30 - yyyy/mm/dd (automatic) + * * 31 - yy/mm/dd (automatic) + * * 32 - dd/yy/yyyy (automatic) + * * 33 - dd/mm/yy (automatic) + * * 34 - mm/dd/yyyy (automatic) + * * 35 - mm/dd/yy (automatic) + * * 36 - yyyy.mm.dd (automatic) + * * 37 - yy.mm.dd (automatic) + * * 38 - dd.mm.yyyy (automatic) + * * 39 - dd.mm.yy (automatic) + * * 40 - mm.dd.yyyy (automatic) + * * 41 - mm.dd.yy (automatic) + * * 42 - yyyy-mm-dd (automatic) + * * 43 - yy-mm-dd (automatic) + * * 44 - dd-mm-yyyy (automatic) + * * 45 - dd-mm-yy (automatic) + * * 46 - mm-dd-yyyy (automatic) + * * 47 - mm-dd-yy (automatic) + * * 48 - d mmmmm yyyy (automatic) + * * 50 - Whole number + * * 51 - Number + * * 52 - Currency (2 decimals) + * * 53 - 1 number + * * 54 - 2 numbers + * * 55 - 3 numbers + * * 56 - 4 numbers + * * 57 - 5 numbers + * * 58 - 6 numbers + * * 59 - 7 numbers + * * 60 - 8 numbers + * * 61 - 9 numbers + * * 62 - 10 numbers + * * 63 - 11 numbers + * * 64 - 12 numbers + * * 65 - 1 characters (any text) + * * 66 - 2 characters (any text) + * * 67 - 3 characters (any text) + * * 68 - 4 characters (any text) + * * 69 - 5 characters (any text) + * * 70 - 6 characters (any text) + * * 71 - 7 characters (any text) + * * 72 - 8 characters (any text) + * * 73 - secret code, add code in options + * * 74 - file attach, append to email to signer + * * 75 - file attach, append to final PDF + * * 76 - file attach, zip with final PDF for internal use, but not signer + * * 77 - force to title caps + * * 78 - force to uppercase + * * 79 - force to lowercase + * * 80 - mm/yy + * * 81 - mm/yyyy + * * 82 - mm.yy + * * 83 - mm.yyyy + * * 84 - mm-yy + * * 85 - mm-yyyy + * * 90 - drawn field + * * 91 - countries list + * * 92 - honorifics list * * @throws LegalesignSdkInvalidDataException if the JSON field has an unexpected type (e.g. * if the server responded with an unexpected value). @@ -847,8 +847,8 @@ private constructor( fun by(by: JsonField) = apply { this.by = by } /** - * Must be one of the following: _ signature - signature field _ initials - initials - * field _ text - signer field (field for signer to complete) _ admin - sender field + * Must be one of the following: * signature - signature field * initials - initials + * field * text - signer field (field for signer to complete) * admin - sender field * (field to complete by admin user when sending) */ fun elementType(elementType: ElementType) = elementType(JsonField.of(elementType)) @@ -900,9 +900,9 @@ private constructor( /** * one of the following: - * - 1 - left - * - 2 - middle - * - 3 - right + * * 1 - left + * * 2 - middle + * * 3 - right */ fun align(align: Align?) = align(JsonField.ofNullable(align)) @@ -1074,87 +1074,87 @@ private constructor( /** * fields types and validations: - * - 1 - Email - * - 2 - yyyy/mm/dd - * - 3 - yy/mm/dd - * - 4 - dd/mm/yyyy - * - 5 - dd/mm/yy - * - 6 - mm/dd/yy - * - 7 - mm/dd/yy - * - 8 - yyyy.mm.dd - * - 9 - yy.mm.dd - * - 10 - dd.mm.yyyy - * - 11 - dd.mm.yy - * - 12 - mm.dd.yyyy - * - 13 - mm.dd.yy - * - 14 - yyyy-mm-dd - * - 15 - yy-mm-dd - * - 16 - dd-mm-yyyy - * - 17 - dd-mm-yy - * - 18 - mm-dd-yyyy - * - 19 - mm-dd-yy - * - 20 - Dropdown list, use options attribute for items - * - 24 - Checkbox tick/cross - * - 25 - Checkbox tick/blank - * - 26 - Checkbox cross/blank - * - 30 - yyyy/mm/dd (automatic) - * - 31 - yy/mm/dd (automatic) - * - 32 - dd/yy/yyyy (automatic) - * - 33 - dd/mm/yy (automatic) - * - 34 - mm/dd/yyyy (automatic) - * - 35 - mm/dd/yy (automatic) - * - 36 - yyyy.mm.dd (automatic) - * - 37 - yy.mm.dd (automatic) - * - 38 - dd.mm.yyyy (automatic) - * - 39 - dd.mm.yy (automatic) - * - 40 - mm.dd.yyyy (automatic) - * - 41 - mm.dd.yy (automatic) - * - 42 - yyyy-mm-dd (automatic) - * - 43 - yy-mm-dd (automatic) - * - 44 - dd-mm-yyyy (automatic) - * - 45 - dd-mm-yy (automatic) - * - 46 - mm-dd-yyyy (automatic) - * - 47 - mm-dd-yy (automatic) - * - 48 - d mmmmm yyyy (automatic) - * - 50 - Whole number - * - 51 - Number - * - 52 - Currency (2 decimals) - * - 53 - 1 number - * - 54 - 2 numbers - * - 55 - 3 numbers - * - 56 - 4 numbers - * - 57 - 5 numbers - * - 58 - 6 numbers - * - 59 - 7 numbers - * - 60 - 8 numbers - * - 61 - 9 numbers - * - 62 - 10 numbers - * - 63 - 11 numbers - * - 64 - 12 numbers - * - 65 - 1 characters (any text) - * - 66 - 2 characters (any text) - * - 67 - 3 characters (any text) - * - 68 - 4 characters (any text) - * - 69 - 5 characters (any text) - * - 70 - 6 characters (any text) - * - 71 - 7 characters (any text) - * - 72 - 8 characters (any text) - * - 73 - secret code, add code in options - * - 74 - file attach, append to email to signer - * - 75 - file attach, append to final PDF - * - 76 - file attach, zip with final PDF for internal use, but not signer - * - 77 - force to title caps - * - 78 - force to uppercase - * - 79 - force to lowercase - * - 80 - mm/yy - * - 81 - mm/yyyy - * - 82 - mm.yy - * - 83 - mm.yyyy - * - 84 - mm-yy - * - 85 - mm-yyyy - * - 90 - drawn field - * - 91 - countries list - * - 92 - honorifics list + * * 1 - Email + * * 2 - yyyy/mm/dd + * * 3 - yy/mm/dd + * * 4 - dd/mm/yyyy + * * 5 - dd/mm/yy + * * 6 - mm/dd/yy + * * 7 - mm/dd/yy + * * 8 - yyyy.mm.dd + * * 9 - yy.mm.dd + * * 10 - dd.mm.yyyy + * * 11 - dd.mm.yy + * * 12 - mm.dd.yyyy + * * 13 - mm.dd.yy + * * 14 - yyyy-mm-dd + * * 15 - yy-mm-dd + * * 16 - dd-mm-yyyy + * * 17 - dd-mm-yy + * * 18 - mm-dd-yyyy + * * 19 - mm-dd-yy + * * 20 - Dropdown list, use options attribute for items + * * 24 - Checkbox tick/cross + * * 25 - Checkbox tick/blank + * * 26 - Checkbox cross/blank + * * 30 - yyyy/mm/dd (automatic) + * * 31 - yy/mm/dd (automatic) + * * 32 - dd/yy/yyyy (automatic) + * * 33 - dd/mm/yy (automatic) + * * 34 - mm/dd/yyyy (automatic) + * * 35 - mm/dd/yy (automatic) + * * 36 - yyyy.mm.dd (automatic) + * * 37 - yy.mm.dd (automatic) + * * 38 - dd.mm.yyyy (automatic) + * * 39 - dd.mm.yy (automatic) + * * 40 - mm.dd.yyyy (automatic) + * * 41 - mm.dd.yy (automatic) + * * 42 - yyyy-mm-dd (automatic) + * * 43 - yy-mm-dd (automatic) + * * 44 - dd-mm-yyyy (automatic) + * * 45 - dd-mm-yy (automatic) + * * 46 - mm-dd-yyyy (automatic) + * * 47 - mm-dd-yy (automatic) + * * 48 - d mmmmm yyyy (automatic) + * * 50 - Whole number + * * 51 - Number + * * 52 - Currency (2 decimals) + * * 53 - 1 number + * * 54 - 2 numbers + * * 55 - 3 numbers + * * 56 - 4 numbers + * * 57 - 5 numbers + * * 58 - 6 numbers + * * 59 - 7 numbers + * * 60 - 8 numbers + * * 61 - 9 numbers + * * 62 - 10 numbers + * * 63 - 11 numbers + * * 64 - 12 numbers + * * 65 - 1 characters (any text) + * * 66 - 2 characters (any text) + * * 67 - 3 characters (any text) + * * 68 - 4 characters (any text) + * * 69 - 5 characters (any text) + * * 70 - 6 characters (any text) + * * 71 - 7 characters (any text) + * * 72 - 8 characters (any text) + * * 73 - secret code, add code in options + * * 74 - file attach, append to email to signer + * * 75 - file attach, append to final PDF + * * 76 - file attach, zip with final PDF for internal use, but not signer + * * 77 - force to title caps + * * 78 - force to uppercase + * * 79 - force to lowercase + * * 80 - mm/yy + * * 81 - mm/yyyy + * * 82 - mm.yy + * * 83 - mm.yyyy + * * 84 - mm-yy + * * 85 - mm-yyyy + * * 90 - drawn field + * * 91 - countries list + * * 92 - honorifics list */ fun validation(validation: PdfFieldValidationEnum?) = validation(JsonField.ofNullable(validation)) @@ -1322,8 +1322,8 @@ private constructor( (if (value.asKnown().isPresent) 1 else 0) /** - * Must be one of the following: _ signature - signature field _ initials - initials field _ - * text - signer field (field for signer to complete) _ admin - sender field (field to + * Must be one of the following: * signature - signature field * initials - initials field * + * text - signer field (field for signer to complete) * admin - sender field (field to * complete by admin user when sending) */ class ElementType @JsonCreator private constructor(private val value: JsonField) : @@ -1471,9 +1471,9 @@ private constructor( /** * one of the following: - * - 1 - left - * - 2 - middle - * - 3 - right + * * 1 - left + * * 2 - middle + * * 3 - right */ class Align @JsonCreator private constructor(private val value: JsonField) : Enum { From 3b9a3913bb707b72133b4fe387af702b670490b4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 02:59:01 +0000 Subject: [PATCH 2/5] fix(client): deserialization of empty objects --- .../legalesign_sdk/api/models/document/DocumentCreateParams.kt | 3 +++ .../api/models/document/DocumentCreateResponse.kt | 1 + .../api/models/document/DocumentGetFieldsResponse.kt | 1 + .../legalesign_sdk/api/models/document/DocumentListResponse.kt | 2 ++ .../api/models/document/DocumentRetrieveResponse.kt | 1 + .../kotlin/com/legalesign_sdk/api/models/document/ListMeta.kt | 1 + .../com/legalesign_sdk/api/models/group/GroupCreateParams.kt | 1 + .../com/legalesign_sdk/api/models/group/GroupListResponse.kt | 2 ++ .../legalesign_sdk/api/models/group/GroupRetrieveResponse.kt | 1 + .../api/models/signer/SignerRetrieveFieldsResponse.kt | 1 + .../legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt | 1 + .../api/models/signer/SignerSendReminderParams.kt | 1 + .../legalesign_sdk/api/models/status/StatusRetrieveResponse.kt | 1 + .../legalesign_sdk/api/models/template/TemplateCreateParams.kt | 1 + .../legalesign_sdk/api/models/template/TemplateListResponse.kt | 2 ++ .../api/models/template/TemplateRetrieveResponse.kt | 1 + .../com/legalesign_sdk/api/models/templatepdf/TemplatePdf.kt | 1 + .../api/models/templatepdf/TemplatepdfCreateParams.kt | 1 + .../api/models/templatepdf/TemplatepdfListResponse.kt | 1 + .../api/models/templatepdf/fields/FieldListResponse.kt | 2 ++ 20 files changed, 26 insertions(+) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateParams.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateParams.kt index 86e7e86..84d6dcb 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateParams.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateParams.kt @@ -1062,6 +1062,7 @@ private constructor( * pdf). Also recommended - do_email, auto_archive and pdftext (if using pdf). */ class Body + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val group: JsonField, private val name: JsonField, @@ -2422,6 +2423,7 @@ private constructor( } class Signer + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val email: JsonField, private val firstname: JsonField, @@ -3119,6 +3121,7 @@ private constructor( * case to send a document to a group of people where the first who signs, signs. */ class Reviewer + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val email: JsonField, private val firstname: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateResponse.kt index b29c1ae..0c1b1a4 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentCreateResponse.kt @@ -16,6 +16,7 @@ import java.util.Objects import java.util.Optional class DocumentCreateResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val signer1: JsonField, private val additionalProperties: MutableMap, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt index cff8680..0320809 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentGetFieldsResponse.kt @@ -18,6 +18,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class DocumentGetFieldsResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val elementType: JsonField, private val fieldorder: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt index 9c11a3a..0b7073b 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentListResponse.kt @@ -21,6 +21,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class DocumentListResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val meta: JsonField, private val objects: JsonField>, @@ -189,6 +190,7 @@ private constructor( (objects.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) class Object + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val archived: JsonField, private val autoArchive: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt index 9f9827e..878917b 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/DocumentRetrieveResponse.kt @@ -20,6 +20,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class DocumentRetrieveResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val archived: JsonField, private val autoArchive: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/ListMeta.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/ListMeta.kt index e1c5698..28ebd8c 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/ListMeta.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/document/ListMeta.kt @@ -17,6 +17,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class ListMeta +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val limit: JsonField, private val next: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupCreateParams.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupCreateParams.kt index 6339578..a510f31 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupCreateParams.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupCreateParams.kt @@ -268,6 +268,7 @@ private constructor( override fun _queryParams(): QueryParams = additionalQueryParams class Body + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val name: JsonField, private val xframeAllow: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupListResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupListResponse.kt index 5694188..1ee4cf7 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupListResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupListResponse.kt @@ -21,6 +21,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class GroupListResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val meta: JsonField, private val objects: JsonField>, @@ -189,6 +190,7 @@ private constructor( (objects.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) class Object + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val created: JsonField, private val isActive: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupRetrieveResponse.kt index f519fb7..596fee3 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/group/GroupRetrieveResponse.kt @@ -20,6 +20,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class GroupRetrieveResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val created: JsonField, private val defaultEmail: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveFieldsResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveFieldsResponse.kt index 4e70920..8fbee27 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveFieldsResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveFieldsResponse.kt @@ -17,6 +17,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class SignerRetrieveFieldsResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val fieldorder: JsonField, private val label: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt index 887610a..a7a9693 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerRetrieveResponse.kt @@ -17,6 +17,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class SignerRetrieveResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val document: JsonField, private val email: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerSendReminderParams.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerSendReminderParams.kt index 6750289..9990279 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerSendReminderParams.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/signer/SignerSendReminderParams.kt @@ -248,6 +248,7 @@ private constructor( override fun _queryParams(): QueryParams = additionalQueryParams class Body + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val text: JsonField, private val additionalProperties: MutableMap, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt index 42bfdd5..e9c40f3 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/status/StatusRetrieveResponse.kt @@ -18,6 +18,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class StatusRetrieveResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val archived: JsonField, private val downloadFinal: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateCreateParams.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateCreateParams.kt index e2c43c7..d54ca30 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateCreateParams.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateCreateParams.kt @@ -327,6 +327,7 @@ private constructor( override fun _queryParams(): QueryParams = additionalQueryParams class Body + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val group: JsonField, private val latestText: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateListResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateListResponse.kt index bf73432..f95a02e 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateListResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateListResponse.kt @@ -21,6 +21,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class TemplateListResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val meta: JsonField, private val objects: JsonField>, @@ -189,6 +190,7 @@ private constructor( (objects.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) class Object + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val archive: JsonField, private val created: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateRetrieveResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateRetrieveResponse.kt index 5bd05a2..4b24ff1 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateRetrieveResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/template/TemplateRetrieveResponse.kt @@ -17,6 +17,7 @@ import java.util.Objects import java.util.Optional class TemplateRetrieveResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val archive: JsonField, private val created: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatePdf.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatePdf.kt index 2872a61..48f9044 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatePdf.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatePdf.kt @@ -17,6 +17,7 @@ import java.util.Objects import java.util.Optional class TemplatePdf +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val created: JsonField, private val group: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfCreateParams.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfCreateParams.kt index 328cc70..4571b1c 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfCreateParams.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfCreateParams.kt @@ -377,6 +377,7 @@ private constructor( override fun _queryParams(): QueryParams = additionalQueryParams class Body + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val group: JsonField, private val pdfFile: JsonField, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfListResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfListResponse.kt index 98fa259..7fead19 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfListResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/TemplatepdfListResponse.kt @@ -20,6 +20,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class TemplatepdfListResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val meta: JsonField, private val objects: JsonField>, diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt index 58e0d66..86d2309 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldListResponse.kt @@ -23,6 +23,7 @@ import java.util.Optional import kotlin.jvm.optionals.getOrNull class FieldListResponse +@JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val meta: JsonField, private val objects: JsonField>, @@ -191,6 +192,7 @@ private constructor( (objects.asKnown().getOrNull()?.sumOf { it.validity().toInt() } ?: 0) class Object + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( private val ax: JsonField, private val ay: JsonField, From 3b40c1c3964a0d5cdf1c02232e8af829d80711cd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 18 Oct 2025 02:24:43 +0000 Subject: [PATCH 3/5] fix(client): add missing additional properties fields --- .../templatepdf/fields/FieldCreateParams.kt | 159 +++++++++++++++--- 1 file changed, 131 insertions(+), 28 deletions(-) diff --git a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt index ea58da4..3d4b437 100644 --- a/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt +++ b/legalesign-sdk-java-core/src/main/kotlin/com/legalesign_sdk/api/models/templatepdf/fields/FieldCreateParams.kt @@ -2,12 +2,15 @@ package com.legalesign_sdk.api.models.templatepdf.fields +import com.fasterxml.jackson.annotation.JsonAnyGetter +import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonProperty import com.legalesign_sdk.api.core.Enum import com.legalesign_sdk.api.core.ExcludeMissing import com.legalesign_sdk.api.core.JsonField import com.legalesign_sdk.api.core.JsonMissing +import com.legalesign_sdk.api.core.JsonValue import com.legalesign_sdk.api.core.Params import com.legalesign_sdk.api.core.checkRequired import com.legalesign_sdk.api.core.http.Headers @@ -15,6 +18,7 @@ import com.legalesign_sdk.api.core.http.QueryParams import com.legalesign_sdk.api.core.toImmutable import com.legalesign_sdk.api.errors.LegalesignSdkInvalidDataException import com.legalesign_sdk.api.models.document.PdfFieldValidationEnum +import java.util.Collections import java.util.Objects import java.util.Optional import kotlin.jvm.optionals.getOrNull @@ -217,38 +221,103 @@ private constructor( override fun _queryParams(): QueryParams = additionalQueryParams class Body - @JsonCreator + @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor( - @JsonProperty("ax") @ExcludeMissing private val ax: JsonField, - @JsonProperty("ay") @ExcludeMissing private val ay: JsonField, - @JsonProperty("bx") @ExcludeMissing private val bx: JsonField, - @JsonProperty("by") @ExcludeMissing private val by: JsonField, - @JsonProperty("element_type") - @ExcludeMissing + private val ax: JsonField, + private val ay: JsonField, + private val bx: JsonField, + private val by: JsonField, private val elementType: JsonField, - @JsonProperty("page") @ExcludeMissing private val page: JsonField, - @JsonProperty("signer") @ExcludeMissing private val signer: JsonField, - @JsonProperty("align") @ExcludeMissing private val align: JsonField, - @JsonProperty("fieldorder") @ExcludeMissing private val fieldorder: JsonField, - @JsonProperty("font_name") @ExcludeMissing private val fontName: JsonField, - @JsonProperty("font_size") @ExcludeMissing private val fontSize: JsonField, - @JsonProperty("hide_border") @ExcludeMissing private val hideBorder: JsonField, - @JsonProperty("label") @ExcludeMissing private val label: JsonField, - @JsonProperty("label_extra") @ExcludeMissing private val labelExtra: JsonField, - @JsonProperty("logic_action") - @ExcludeMissing + private val page: JsonField, + private val signer: JsonField, + private val align: JsonField, + private val fieldorder: JsonField, + private val fontName: JsonField, + private val fontSize: JsonField, + private val hideBorder: JsonField, + private val label: JsonField, + private val labelExtra: JsonField, private val logicAction: JsonField, - @JsonProperty("logic_group") @ExcludeMissing private val logicGroup: JsonField, - @JsonProperty("map_to") @ExcludeMissing private val mapTo: JsonField, - @JsonProperty("optional") @ExcludeMissing private val optional: JsonField, - @JsonProperty("options") @ExcludeMissing private val options: JsonField, - @JsonProperty("substantive") @ExcludeMissing private val substantive: JsonField, - @JsonProperty("validation") - @ExcludeMissing + private val logicGroup: JsonField, + private val mapTo: JsonField, + private val optional: JsonField, + private val options: JsonField, + private val substantive: JsonField, private val validation: JsonField, - @JsonProperty("value") @ExcludeMissing private val value: JsonField, + private val value: JsonField, + private val additionalProperties: MutableMap, ) { + @JsonCreator + private constructor( + @JsonProperty("ax") @ExcludeMissing ax: JsonField = JsonMissing.of(), + @JsonProperty("ay") @ExcludeMissing ay: JsonField = JsonMissing.of(), + @JsonProperty("bx") @ExcludeMissing bx: JsonField = JsonMissing.of(), + @JsonProperty("by") @ExcludeMissing by: JsonField = JsonMissing.of(), + @JsonProperty("element_type") + @ExcludeMissing + elementType: JsonField = JsonMissing.of(), + @JsonProperty("page") @ExcludeMissing page: JsonField = JsonMissing.of(), + @JsonProperty("signer") @ExcludeMissing signer: JsonField = JsonMissing.of(), + @JsonProperty("align") @ExcludeMissing align: JsonField = JsonMissing.of(), + @JsonProperty("fieldorder") + @ExcludeMissing + fieldorder: JsonField = JsonMissing.of(), + @JsonProperty("font_name") + @ExcludeMissing + fontName: JsonField = JsonMissing.of(), + @JsonProperty("font_size") @ExcludeMissing fontSize: JsonField = JsonMissing.of(), + @JsonProperty("hide_border") + @ExcludeMissing + hideBorder: JsonField = JsonMissing.of(), + @JsonProperty("label") @ExcludeMissing label: JsonField = JsonMissing.of(), + @JsonProperty("label_extra") + @ExcludeMissing + labelExtra: JsonField = JsonMissing.of(), + @JsonProperty("logic_action") + @ExcludeMissing + logicAction: JsonField = JsonMissing.of(), + @JsonProperty("logic_group") + @ExcludeMissing + logicGroup: JsonField = JsonMissing.of(), + @JsonProperty("map_to") @ExcludeMissing mapTo: JsonField = JsonMissing.of(), + @JsonProperty("optional") + @ExcludeMissing + optional: JsonField = JsonMissing.of(), + @JsonProperty("options") @ExcludeMissing options: JsonField = JsonMissing.of(), + @JsonProperty("substantive") + @ExcludeMissing + substantive: JsonField = JsonMissing.of(), + @JsonProperty("validation") + @ExcludeMissing + validation: JsonField = JsonMissing.of(), + @JsonProperty("value") @ExcludeMissing value: JsonField = JsonMissing.of(), + ) : this( + ax, + ay, + bx, + by, + elementType, + page, + signer, + align, + fieldorder, + fontName, + fontSize, + hideBorder, + label, + labelExtra, + logicAction, + logicGroup, + mapTo, + optional, + options, + substantive, + validation, + value, + mutableMapOf(), + ) + /** * % of page width - left vertical: 0 = left page edge, 1 = right page edge * @@ -675,6 +744,16 @@ private constructor( */ @JsonProperty("value") @ExcludeMissing fun _value(): JsonField = value + @JsonAnySetter + private fun putAdditionalProperty(key: String, value: JsonValue) { + additionalProperties.put(key, value) + } + + @JsonAnyGetter + @ExcludeMissing + fun _additionalProperties(): Map = + Collections.unmodifiableMap(additionalProperties) + fun toBuilder() = Builder().from(this) companion object { @@ -721,6 +800,7 @@ private constructor( private var substantive: JsonField = JsonMissing.of() private var validation: JsonField = JsonMissing.of() private var value: JsonField = JsonMissing.of() + private var additionalProperties: MutableMap = mutableMapOf() @JvmSynthetic internal fun from(body: Body) = apply { @@ -746,6 +826,7 @@ private constructor( substantive = body.substantive validation = body.validation value = body.value + additionalProperties = body.additionalProperties.toMutableMap() } /** % of page width - left vertical: 0 = left page edge, 1 = right page edge */ @@ -1134,6 +1215,25 @@ private constructor( */ fun value(value: JsonField) = apply { this.value = value } + fun additionalProperties(additionalProperties: Map) = apply { + this.additionalProperties.clear() + putAllAdditionalProperties(additionalProperties) + } + + fun putAdditionalProperty(key: String, value: JsonValue) = apply { + additionalProperties.put(key, value) + } + + fun putAllAdditionalProperties(additionalProperties: Map) = apply { + this.additionalProperties.putAll(additionalProperties) + } + + fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) } + + fun removeAllAdditionalProperties(keys: Set) = apply { + keys.forEach(::removeAdditionalProperty) + } + /** * Returns an immutable instance of [Body]. * @@ -1176,6 +1276,7 @@ private constructor( substantive, validation, value, + additionalProperties.toMutableMap(), ) } @@ -1855,7 +1956,8 @@ private constructor( options == other.options && substantive == other.substantive && validation == other.validation && - value == other.value + value == other.value && + additionalProperties == other.additionalProperties } private val hashCode: Int by lazy { @@ -1882,13 +1984,14 @@ private constructor( substantive, validation, value, + additionalProperties, ) } override fun hashCode(): Int = hashCode override fun toString() = - "Body{ax=$ax, ay=$ay, bx=$bx, by=$by, elementType=$elementType, page=$page, signer=$signer, align=$align, fieldorder=$fieldorder, fontName=$fontName, fontSize=$fontSize, hideBorder=$hideBorder, label=$label, labelExtra=$labelExtra, logicAction=$logicAction, logicGroup=$logicGroup, mapTo=$mapTo, optional=$optional, options=$options, substantive=$substantive, validation=$validation, value=$value}" + "Body{ax=$ax, ay=$ay, bx=$bx, by=$by, elementType=$elementType, page=$page, signer=$signer, align=$align, fieldorder=$fieldorder, fontName=$fontName, fontSize=$fontSize, hideBorder=$hideBorder, label=$label, labelExtra=$labelExtra, logicAction=$logicAction, logicGroup=$logicGroup, mapTo=$mapTo, optional=$optional, options=$options, substantive=$substantive, validation=$validation, value=$value, additionalProperties=$additionalProperties}" } override fun equals(other: Any?): Boolean { From eed465e514d181f85b2217b7710a761ba9391741 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 05:37:44 +0000 Subject: [PATCH 4/5] fix(client): multi-value header serialization --- .../com/legalesign_sdk/api/client/okhttp/OkHttpClient.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/legalesign-sdk-java-client-okhttp/src/main/kotlin/com/legalesign_sdk/api/client/okhttp/OkHttpClient.kt b/legalesign-sdk-java-client-okhttp/src/main/kotlin/com/legalesign_sdk/api/client/okhttp/OkHttpClient.kt index a4b3615..f53ad95 100644 --- a/legalesign-sdk-java-client-okhttp/src/main/kotlin/com/legalesign_sdk/api/client/okhttp/OkHttpClient.kt +++ b/legalesign-sdk-java-client-okhttp/src/main/kotlin/com/legalesign_sdk/api/client/okhttp/OkHttpClient.kt @@ -109,19 +109,19 @@ class OkHttpClient private constructor(private val okHttpClient: okhttp3.OkHttpC val builder = Request.Builder().url(toUrl()).method(method.name, body) headers.names().forEach { name -> - headers.values(name).forEach { builder.header(name, it) } + headers.values(name).forEach { builder.addHeader(name, it) } } if ( !headers.names().contains("X-Stainless-Read-Timeout") && client.readTimeoutMillis != 0 ) { - builder.header( + builder.addHeader( "X-Stainless-Read-Timeout", Duration.ofMillis(client.readTimeoutMillis.toLong()).seconds.toString(), ) } if (!headers.names().contains("X-Stainless-Timeout") && client.callTimeoutMillis != 0) { - builder.header( + builder.addHeader( "X-Stainless-Timeout", Duration.ofMillis(client.callTimeoutMillis.toLong()).seconds.toString(), ) From c819f0eb36a71eaad4689eea9541cc18bcc0a321 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 05:37:58 +0000 Subject: [PATCH 5/5] release: 0.0.3 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ README.md | 10 +++++----- build.gradle.kts | 2 +- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c7159c1..28e831b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.2" + ".": "0.0.3" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b057cd..db774d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.0.3 (2025-11-14) + +Full Changelog: [v0.0.2...v0.0.3](https://github.com/legalesign/legalesign-rest-java/compare/v0.0.2...v0.0.3) + +### Bug Fixes + +* **client:** add missing additional properties fields ([3b40c1c](https://github.com/legalesign/legalesign-rest-java/commit/3b40c1c3964a0d5cdf1c02232e8af829d80711cd)) +* **client:** deserialization of empty objects ([3b9a391](https://github.com/legalesign/legalesign-rest-java/commit/3b9a3913bb707b72133b4fe387af702b670490b4)) +* **client:** multi-value header serialization ([eed465e](https://github.com/legalesign/legalesign-rest-java/commit/eed465e514d181f85b2217b7710a761ba9391741)) + + +### Chores + +* **internal:** change some comment formatting ([ea2dd52](https://github.com/legalesign/legalesign-rest-java/commit/ea2dd52c1273e810f79f550bddaef9c6af986c16)) + ## 0.0.2 (2025-09-23) Full Changelog: [v0.0.1...v0.0.2](https://github.com/legalesign/legalesign-rest-java/compare/v0.0.1...v0.0.2) diff --git a/README.md b/README.md index 95a69b7..5fcd9d8 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.legalesign_sdk.api/legalesign-sdk-java)](https://central.sonatype.com/artifact/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2) -[![javadoc](https://javadoc.io/badge2/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2/javadoc.svg)](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2) +[![Maven Central](https://img.shields.io/maven-central/v/com.legalesign_sdk.api/legalesign-sdk-java)](https://central.sonatype.com/artifact/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3) +[![javadoc](https://javadoc.io/badge2/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3/javadoc.svg)](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3) @@ -13,7 +13,7 @@ It is generated with [Stainless](https://www.stainless.com/). -The REST API documentation can be found on [legalesign.com](https://legalesign.com/contact/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.2). +The REST API documentation can be found on [legalesign.com](https://legalesign.com/contact/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.legalesign_sdk.api/legalesign-sdk-java/0.0.3). @@ -24,7 +24,7 @@ The REST API documentation can be found on [legalesign.com](https://legalesign.c ### Gradle ```kotlin -implementation("com.legalesign_sdk.api:legalesign-sdk-java:0.0.2") +implementation("com.legalesign_sdk.api:legalesign-sdk-java:0.0.3") ``` ### Maven @@ -33,7 +33,7 @@ implementation("com.legalesign_sdk.api:legalesign-sdk-java:0.0.2") com.legalesign_sdk.api legalesign-sdk-java - 0.0.2 + 0.0.3 ``` diff --git a/build.gradle.kts b/build.gradle.kts index c54fc4c..786232c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ repositories { allprojects { group = "com.legalesign_sdk.api" - version = "0.0.2" // x-release-please-version + version = "0.0.3" // x-release-please-version } subprojects {