From af73564d709b19d0048931b7d741169dc1c9791b Mon Sep 17 00:00:00 2001 From: "konfig-bot[bot]" <121480725+konfig-bot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:08:06 +0000 Subject: [PATCH] Update OpenAPI Specification (#29) * Update OpenAPI Specification (swagger.json) * Regenerate SDKs * Update submodule references --------- Co-authored-by: konfig-bot[bot] <121480725+konfig-bot[bot]@users.noreply.github.com> Co-authored-by: konfig-publisher --- .konfig/changesets/itchy-carpets-press.md | 11 +++++ STATISTICS.md | 16 +++---- csharp/.konfig/generate-id.txt | 2 +- csharp/Splitit.Web.Net.sln | 10 ++--- .../EligibilityTermsAndConditionResponse.md | 1 + ...igibilityTermsAndConditionResponseTests.cs | 8 ++++ .../EligibilityTermsAndConditionResponse.cs | 20 ++++++++- go/.konfig/generate-id.txt | 2 +- go/api/openapi.yaml | 3 ++ .../EligibilityTermsAndConditionResponse.md | 26 +++++++++++ go/docs/InstallmentPlanApi.md | 1 + ...ligibility_terms_and_condition_response.go | 36 ++++++++++++++++ java/.konfig/generate-id.txt | 2 +- java/api/openapi.yaml | 3 ++ .../EligibilityTermsAndConditionResponse.md | 1 + java/docs/InstallmentPlanApi.md | 1 + .../EligibilityTermsAndConditionResponse.java | 43 ++++++++++++++++++- ...gibilityTermsAndConditionResponseTest.java | 8 ++++ php | 2 +- phpGuzzle6 | 2 +- python/.konfig/generate-id.txt | 2 +- ...ligibility_terms_and_condition_response.py | 14 +++++- ...igibility_terms_and_condition_response.pyi | 14 +++++- ...ligibility_terms_and_condition_response.py | 2 + swagger-fixed.json | 3 ++ swagger.json | 3 ++ typescript/.konfig/generate-id.txt | 2 +- ...ligibility-terms-and-condition-response.ts | 6 +++ 28 files changed, 217 insertions(+), 27 deletions(-) create mode 100644 .konfig/changesets/itchy-carpets-press.md diff --git a/.konfig/changesets/itchy-carpets-press.md b/.konfig/changesets/itchy-carpets-press.md new file mode 100644 index 0000000..eb77693 --- /dev/null +++ b/.konfig/changesets/itchy-carpets-press.md @@ -0,0 +1,11 @@ +--- +java: patch +python: patch +typescript: patch +csharp: patch +php: patch +go: patch +phpGuzzle6: patch +--- + +Regenerate SDKs diff --git a/STATISTICS.md b/STATISTICS.md index 12a519c..85b3c57 100644 --- a/STATISTICS.md +++ b/STATISTICS.md @@ -2,11 +2,11 @@ | SDK Name | Lines of Code | | -------- | ------------- | -| java | 43364 | -| python | 41809 | -| typescript | 12437 | -| csharp | 26536 | -| php | 44007 | -| go | 31085 | -| phpGuzzle6 | 44007 | -| **Total** | 243245 | +| java | 43416 | +| python | 41831 | +| typescript | 12443 | +| csharp | 26563 | +| php | 44052 | +| go | 31151 | +| phpGuzzle6 | 44052 | +| **Total** | 243508 | diff --git a/csharp/.konfig/generate-id.txt b/csharp/.konfig/generate-id.txt index bc4e03a..2000693 100644 --- a/csharp/.konfig/generate-id.txt +++ b/csharp/.konfig/generate-id.txt @@ -1 +1 @@ -c663a463-aac9-4e89-8b5c-373fb6660ebf \ No newline at end of file +d4610359-5cb3-4ad4-9ab3-a67496595958 \ No newline at end of file diff --git a/csharp/Splitit.Web.Net.sln b/csharp/Splitit.Web.Net.sln index 349f484..170b490 100644 --- a/csharp/Splitit.Web.Net.sln +++ b/csharp/Splitit.Web.Net.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{D67C956C-9989-42B7-BFA6-19F1C61D6B49}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{83E4C341-D3B3-4F98-9729-25BC841A5766}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net.Test", "src\Splitit.Web.Net.Test\Splitit.Web.Net.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D67C956C-9989-42B7-BFA6-19F1C61D6B49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D67C956C-9989-42B7-BFA6-19F1C61D6B49}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D67C956C-9989-42B7-BFA6-19F1C61D6B49}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D67C956C-9989-42B7-BFA6-19F1C61D6B49}.Release|Any CPU.Build.0 = Release|Any CPU + {83E4C341-D3B3-4F98-9729-25BC841A5766}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {83E4C341-D3B3-4F98-9729-25BC841A5766}.Debug|Any CPU.Build.0 = Debug|Any CPU + {83E4C341-D3B3-4F98-9729-25BC841A5766}.Release|Any CPU.ActiveCfg = Release|Any CPU + {83E4C341-D3B3-4F98-9729-25BC841A5766}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/csharp/docs/EligibilityTermsAndConditionResponse.md b/csharp/docs/EligibilityTermsAndConditionResponse.md index 8e9acc8..5031cd3 100644 --- a/csharp/docs/EligibilityTermsAndConditionResponse.md +++ b/csharp/docs/EligibilityTermsAndConditionResponse.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TermsAndConditions** | **string** | | [optional] **PrivacyPolicy** | **string** | | [optional] +**Provider** | **string** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/csharp/src/Splitit.Web.Net.Test/Model/EligibilityTermsAndConditionResponseTests.cs b/csharp/src/Splitit.Web.Net.Test/Model/EligibilityTermsAndConditionResponseTests.cs index 8c91799..d061aba 100644 --- a/csharp/src/Splitit.Web.Net.Test/Model/EligibilityTermsAndConditionResponseTests.cs +++ b/csharp/src/Splitit.Web.Net.Test/Model/EligibilityTermsAndConditionResponseTests.cs @@ -72,6 +72,14 @@ public void PrivacyPolicyTest() { // TODO unit test for the property 'PrivacyPolicy' } + /// + /// Test the property 'Provider' + /// + [Fact] + public void ProviderTest() + { + // TODO unit test for the property 'Provider' + } } diff --git a/csharp/src/Splitit.Web.Net/Model/EligibilityTermsAndConditionResponse.cs b/csharp/src/Splitit.Web.Net/Model/EligibilityTermsAndConditionResponse.cs index dd2de0c..c33b76d 100644 --- a/csharp/src/Splitit.Web.Net/Model/EligibilityTermsAndConditionResponse.cs +++ b/csharp/src/Splitit.Web.Net/Model/EligibilityTermsAndConditionResponse.cs @@ -36,10 +36,12 @@ public partial class EligibilityTermsAndConditionResponse : IEquatable /// termsAndConditions. /// privacyPolicy. - public EligibilityTermsAndConditionResponse(string termsAndConditions = default(string), string privacyPolicy = default(string)) + /// provider. + public EligibilityTermsAndConditionResponse(string termsAndConditions = default(string), string privacyPolicy = default(string), string provider = default(string)) { this.TermsAndConditions = termsAndConditions; this.PrivacyPolicy = privacyPolicy; + this.Provider = provider; } /// @@ -54,6 +56,12 @@ public partial class EligibilityTermsAndConditionResponse : IEquatable + /// Gets or Sets Provider + /// + [DataMember(Name = "Provider", EmitDefaultValue = false)] + public string Provider { get; set; } + /// /// Returns the string presentation of the object /// @@ -64,6 +72,7 @@ public override string ToString() sb.Append("class EligibilityTermsAndConditionResponse {\n"); sb.Append(" TermsAndConditions: ").Append(TermsAndConditions).Append("\n"); sb.Append(" PrivacyPolicy: ").Append(PrivacyPolicy).Append("\n"); + sb.Append(" Provider: ").Append(Provider).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -108,6 +117,11 @@ public bool Equals(EligibilityTermsAndConditionResponse input) this.PrivacyPolicy == input.PrivacyPolicy || (this.PrivacyPolicy != null && this.PrivacyPolicy.Equals(input.PrivacyPolicy)) + ) && + ( + this.Provider == input.Provider || + (this.Provider != null && + this.Provider.Equals(input.Provider)) ); } @@ -128,6 +142,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.PrivacyPolicy.GetHashCode(); } + if (this.Provider != null) + { + hashCode = (hashCode * 59) + this.Provider.GetHashCode(); + } return hashCode; } } diff --git a/go/.konfig/generate-id.txt b/go/.konfig/generate-id.txt index bc4e03a..2000693 100644 --- a/go/.konfig/generate-id.txt +++ b/go/.konfig/generate-id.txt @@ -1 +1 @@ -c663a463-aac9-4e89-8b5c-373fb6660ebf \ No newline at end of file +d4610359-5cb3-4ad4-9ab3-a67496595958 \ No newline at end of file diff --git a/go/api/openapi.yaml b/go/api/openapi.yaml index 1e4362e..1855124 100644 --- a/go/api/openapi.yaml +++ b/go/api/openapi.yaml @@ -3042,11 +3042,14 @@ components: example: TermsAndConditions: TermsAndConditions PrivacyPolicy: PrivacyPolicy + Provider: Provider properties: TermsAndConditions: type: string PrivacyPolicy: type: string + Provider: + type: string type: object konfig-generated-schema-paths--api-installmentplans-installmentPlanNumber-get-parameters-2-schema: example: "" diff --git a/go/docs/EligibilityTermsAndConditionResponse.md b/go/docs/EligibilityTermsAndConditionResponse.md index 01af1c5..6b9ee38 100644 --- a/go/docs/EligibilityTermsAndConditionResponse.md +++ b/go/docs/EligibilityTermsAndConditionResponse.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TermsAndConditions** | Pointer to **string** | | [optional] **PrivacyPolicy** | Pointer to **string** | | [optional] +**Provider** | Pointer to **string** | | [optional] ## Methods @@ -76,6 +77,31 @@ SetPrivacyPolicy sets PrivacyPolicy field to given value. HasPrivacyPolicy returns a boolean if a field has been set. +### GetProvider + +`func (o *EligibilityTermsAndConditionResponse) GetProvider() string` + +GetProvider returns the Provider field if non-nil, zero value otherwise. + +### GetProviderOk + +`func (o *EligibilityTermsAndConditionResponse) GetProviderOk() (*string, bool)` + +GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvider + +`func (o *EligibilityTermsAndConditionResponse) SetProvider(v string)` + +SetProvider sets Provider field to given value. + +### HasProvider + +`func (o *EligibilityTermsAndConditionResponse) HasProvider() bool` + +HasProvider returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go/docs/InstallmentPlanApi.md b/go/docs/InstallmentPlanApi.md index c1d77b3..3115ff6 100644 --- a/go/docs/InstallmentPlanApi.md +++ b/go/docs/InstallmentPlanApi.md @@ -162,6 +162,7 @@ func main() { fmt.Fprintf(os.Stdout, "Response from `InstallmentPlanApi.GetEligibilityTermsAndCondition`: %v\n", resp) fmt.Fprintf(os.Stdout, "Response from `EligibilityTermsAndConditionResponse.GetEligibilityTermsAndCondition.TermsAndConditions`: %v\n", *resp.TermsAndConditions) fmt.Fprintf(os.Stdout, "Response from `EligibilityTermsAndConditionResponse.GetEligibilityTermsAndCondition.PrivacyPolicy`: %v\n", *resp.PrivacyPolicy) + fmt.Fprintf(os.Stdout, "Response from `EligibilityTermsAndConditionResponse.GetEligibilityTermsAndCondition.Provider`: %v\n", *resp.Provider) } ``` diff --git a/go/model_eligibility_terms_and_condition_response.go b/go/model_eligibility_terms_and_condition_response.go index 33259c1..c4dc692 100644 --- a/go/model_eligibility_terms_and_condition_response.go +++ b/go/model_eligibility_terms_and_condition_response.go @@ -18,6 +18,7 @@ import ( type EligibilityTermsAndConditionResponse struct { TermsAndConditions *string `json:"TermsAndConditions,omitempty"` PrivacyPolicy *string `json:"PrivacyPolicy,omitempty"` + Provider *string `json:"Provider,omitempty"` } // NewEligibilityTermsAndConditionResponse instantiates a new EligibilityTermsAndConditionResponse object @@ -101,6 +102,38 @@ func (o *EligibilityTermsAndConditionResponse) SetPrivacyPolicy(v string) { o.PrivacyPolicy = &v } +// GetProvider returns the Provider field value if set, zero value otherwise. +func (o *EligibilityTermsAndConditionResponse) GetProvider() string { + if o == nil || isNil(o.Provider) { + var ret string + return ret + } + return *o.Provider +} + +// GetProviderOk returns a tuple with the Provider field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *EligibilityTermsAndConditionResponse) GetProviderOk() (*string, bool) { + if o == nil || isNil(o.Provider) { + return nil, false + } + return o.Provider, true +} + +// HasProvider returns a boolean if a field has been set. +func (o *EligibilityTermsAndConditionResponse) HasProvider() bool { + if o != nil && !isNil(o.Provider) { + return true + } + + return false +} + +// SetProvider gets a reference to the given string and assigns it to the Provider field. +func (o *EligibilityTermsAndConditionResponse) SetProvider(v string) { + o.Provider = &v +} + func (o EligibilityTermsAndConditionResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if !isNil(o.TermsAndConditions) { @@ -109,6 +142,9 @@ func (o EligibilityTermsAndConditionResponse) MarshalJSON() ([]byte, error) { if !isNil(o.PrivacyPolicy) { toSerialize["PrivacyPolicy"] = o.PrivacyPolicy } + if !isNil(o.Provider) { + toSerialize["Provider"] = o.Provider + } return json.Marshal(toSerialize) } diff --git a/java/.konfig/generate-id.txt b/java/.konfig/generate-id.txt index bc4e03a..2000693 100644 --- a/java/.konfig/generate-id.txt +++ b/java/.konfig/generate-id.txt @@ -1 +1 @@ -c663a463-aac9-4e89-8b5c-373fb6660ebf \ No newline at end of file +d4610359-5cb3-4ad4-9ab3-a67496595958 \ No newline at end of file diff --git a/java/api/openapi.yaml b/java/api/openapi.yaml index 5a201f5..27df98d 100644 --- a/java/api/openapi.yaml +++ b/java/api/openapi.yaml @@ -3111,11 +3111,14 @@ components: example: TermsAndConditions: TermsAndConditions PrivacyPolicy: PrivacyPolicy + Provider: Provider properties: TermsAndConditions: type: string PrivacyPolicy: type: string + Provider: + type: string type: object x-konfig-is-used-in-successful-response: true konfig-generated-schema-paths--api-installmentplans-installmentPlanNumber-get-parameters-2-schema: diff --git a/java/docs/EligibilityTermsAndConditionResponse.md b/java/docs/EligibilityTermsAndConditionResponse.md index ab188b3..90757e1 100644 --- a/java/docs/EligibilityTermsAndConditionResponse.md +++ b/java/docs/EligibilityTermsAndConditionResponse.md @@ -9,6 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**termsAndConditions** | **String** | | [optional] | |**privacyPolicy** | **String** | | [optional] | +|**provider** | **String** | | [optional] | diff --git a/java/docs/InstallmentPlanApi.md b/java/docs/InstallmentPlanApi.md index 24cae31..9f71597 100644 --- a/java/docs/InstallmentPlanApi.md +++ b/java/docs/InstallmentPlanApi.md @@ -281,6 +281,7 @@ public class Example { System.out.println(result); System.out.println(result.getTermsAndConditions()); System.out.println(result.getPrivacyPolicy()); + System.out.println(result.getProvider()); } catch (ApiException e) { System.err.println("Exception when calling InstallmentPlanApi#getEligibilityTermsAndCondition"); System.err.println("Status code: " + e.getStatusCode()); diff --git a/java/src/main/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponse.java b/java/src/main/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponse.java index ff1d997..c6798be 100644 --- a/java/src/main/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponse.java +++ b/java/src/main/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponse.java @@ -57,6 +57,10 @@ public class EligibilityTermsAndConditionResponse { @SerializedName(SERIALIZED_NAME_PRIVACY_POLICY) private String privacyPolicy; + public static final String SERIALIZED_NAME_PROVIDER = "Provider"; + @SerializedName(SERIALIZED_NAME_PROVIDER) + private String provider; + public EligibilityTermsAndConditionResponse() { } @@ -117,6 +121,35 @@ public void setPrivacyPolicy(String privacyPolicy) { this.privacyPolicy = privacyPolicy; } + + public EligibilityTermsAndConditionResponse provider(String provider) { + + + + + this.provider = provider; + return this; + } + + /** + * Get provider + * @return provider + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public String getProvider() { + return provider; + } + + + public void setProvider(String provider) { + + + + this.provider = provider; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -173,13 +206,14 @@ public boolean equals(Object o) { } EligibilityTermsAndConditionResponse eligibilityTermsAndConditionResponse = (EligibilityTermsAndConditionResponse) o; return Objects.equals(this.termsAndConditions, eligibilityTermsAndConditionResponse.termsAndConditions) && - Objects.equals(this.privacyPolicy, eligibilityTermsAndConditionResponse.privacyPolicy)&& + Objects.equals(this.privacyPolicy, eligibilityTermsAndConditionResponse.privacyPolicy) && + Objects.equals(this.provider, eligibilityTermsAndConditionResponse.provider)&& Objects.equals(this.additionalProperties, eligibilityTermsAndConditionResponse.additionalProperties); } @Override public int hashCode() { - return Objects.hash(termsAndConditions, privacyPolicy, additionalProperties); + return Objects.hash(termsAndConditions, privacyPolicy, provider, additionalProperties); } @Override @@ -188,6 +222,7 @@ public String toString() { sb.append("class EligibilityTermsAndConditionResponse {\n"); sb.append(" termsAndConditions: ").append(toIndentedString(termsAndConditions)).append("\n"); sb.append(" privacyPolicy: ").append(toIndentedString(privacyPolicy)).append("\n"); + sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -213,6 +248,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("TermsAndConditions"); openapiFields.add("PrivacyPolicy"); + openapiFields.add("Provider"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -236,6 +272,9 @@ public static void validateJsonObject(JsonObject jsonObj) throws IOException { if ((jsonObj.get("PrivacyPolicy") != null && !jsonObj.get("PrivacyPolicy").isJsonNull()) && !jsonObj.get("PrivacyPolicy").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `PrivacyPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("PrivacyPolicy").toString())); } + if ((jsonObj.get("Provider") != null && !jsonObj.get("Provider").isJsonNull()) && !jsonObj.get("Provider").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `Provider` to be a primitive type in the JSON string but got `%s`", jsonObj.get("Provider").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/java/src/test/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponseTest.java b/java/src/test/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponseTest.java index 859cbe5..06aa93f 100644 --- a/java/src/test/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponseTest.java +++ b/java/src/test/java/com/konfigthis/splitit/client/model/EligibilityTermsAndConditionResponseTest.java @@ -54,4 +54,12 @@ public void privacyPolicyTest() { // TODO: test privacyPolicy } + /** + * Test the property 'provider' + */ + @Test + public void providerTest() { + // TODO: test provider + } + } diff --git a/php b/php index af5c5d0..46d5006 160000 --- a/php +++ b/php @@ -1 +1 @@ -Subproject commit af5c5d04d9c99f116eaadb40ccb93f2a337bd215 +Subproject commit 46d5006128f28a4a9a592764dafae75171206b7b diff --git a/phpGuzzle6 b/phpGuzzle6 index 145439f..f378f67 160000 --- a/phpGuzzle6 +++ b/phpGuzzle6 @@ -1 +1 @@ -Subproject commit 145439f7e8035c39a829e539b4f63aa972296cdc +Subproject commit f378f67d17561fbaf6bd0acc0dbc9303bc26a6ad diff --git a/python/.konfig/generate-id.txt b/python/.konfig/generate-id.txt index bc4e03a..2000693 100644 --- a/python/.konfig/generate-id.txt +++ b/python/.konfig/generate-id.txt @@ -1 +1 @@ -c663a463-aac9-4e89-8b5c-373fb6660ebf \ No newline at end of file +d4610359-5cb3-4ad4-9ab3-a67496595958 \ No newline at end of file diff --git a/python/splitit_client/model/eligibility_terms_and_condition_response.py b/python/splitit_client/model/eligibility_terms_and_condition_response.py index c1f0766..1190a7f 100644 --- a/python/splitit_client/model/eligibility_terms_and_condition_response.py +++ b/python/splitit_client/model/eligibility_terms_and_condition_response.py @@ -36,9 +36,11 @@ class MetaOapg: class properties: TermsAndConditions = schemas.StrSchema PrivacyPolicy = schemas.StrSchema + Provider = schemas.StrSchema __annotations__ = { "TermsAndConditions": TermsAndConditions, "PrivacyPolicy": PrivacyPolicy, + "Provider": Provider, } @typing.overload @@ -47,10 +49,13 @@ def __getitem__(self, name: typing_extensions.Literal["TermsAndConditions"]) -> @typing.overload def __getitem__(self, name: typing_extensions.Literal["PrivacyPolicy"]) -> MetaOapg.properties.PrivacyPolicy: ... + @typing.overload + def __getitem__(self, name: typing_extensions.Literal["Provider"]) -> MetaOapg.properties.Provider: ... + @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - def __getitem__(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", ], str]): + def __getitem__(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", "Provider", ], str]): # dict_instance[name] accessor return super().__getitem__(name) @@ -61,10 +66,13 @@ def get_item_oapg(self, name: typing_extensions.Literal["TermsAndConditions"]) - @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["PrivacyPolicy"]) -> typing.Union[MetaOapg.properties.PrivacyPolicy, schemas.Unset]: ... + @typing.overload + def get_item_oapg(self, name: typing_extensions.Literal["Provider"]) -> typing.Union[MetaOapg.properties.Provider, schemas.Unset]: ... + @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", ], str]): + def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", "Provider", ], str]): return super().get_item_oapg(name) @@ -73,6 +81,7 @@ def __new__( *args: typing.Union[dict, frozendict.frozendict, ], TermsAndConditions: typing.Union[MetaOapg.properties.TermsAndConditions, str, schemas.Unset] = schemas.unset, PrivacyPolicy: typing.Union[MetaOapg.properties.PrivacyPolicy, str, schemas.Unset] = schemas.unset, + Provider: typing.Union[MetaOapg.properties.Provider, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'EligibilityTermsAndConditionResponse': @@ -81,6 +90,7 @@ def __new__( *args, TermsAndConditions=TermsAndConditions, PrivacyPolicy=PrivacyPolicy, + Provider=Provider, _configuration=_configuration, **kwargs, ) diff --git a/python/splitit_client/model/eligibility_terms_and_condition_response.pyi b/python/splitit_client/model/eligibility_terms_and_condition_response.pyi index c1f0766..1190a7f 100644 --- a/python/splitit_client/model/eligibility_terms_and_condition_response.pyi +++ b/python/splitit_client/model/eligibility_terms_and_condition_response.pyi @@ -36,9 +36,11 @@ class EligibilityTermsAndConditionResponse( class properties: TermsAndConditions = schemas.StrSchema PrivacyPolicy = schemas.StrSchema + Provider = schemas.StrSchema __annotations__ = { "TermsAndConditions": TermsAndConditions, "PrivacyPolicy": PrivacyPolicy, + "Provider": Provider, } @typing.overload @@ -47,10 +49,13 @@ class EligibilityTermsAndConditionResponse( @typing.overload def __getitem__(self, name: typing_extensions.Literal["PrivacyPolicy"]) -> MetaOapg.properties.PrivacyPolicy: ... + @typing.overload + def __getitem__(self, name: typing_extensions.Literal["Provider"]) -> MetaOapg.properties.Provider: ... + @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... - def __getitem__(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", ], str]): + def __getitem__(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", "Provider", ], str]): # dict_instance[name] accessor return super().__getitem__(name) @@ -61,10 +66,13 @@ class EligibilityTermsAndConditionResponse( @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["PrivacyPolicy"]) -> typing.Union[MetaOapg.properties.PrivacyPolicy, schemas.Unset]: ... + @typing.overload + def get_item_oapg(self, name: typing_extensions.Literal["Provider"]) -> typing.Union[MetaOapg.properties.Provider, schemas.Unset]: ... + @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... - def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", ], str]): + def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["TermsAndConditions", "PrivacyPolicy", "Provider", ], str]): return super().get_item_oapg(name) @@ -73,6 +81,7 @@ class EligibilityTermsAndConditionResponse( *args: typing.Union[dict, frozendict.frozendict, ], TermsAndConditions: typing.Union[MetaOapg.properties.TermsAndConditions, str, schemas.Unset] = schemas.unset, PrivacyPolicy: typing.Union[MetaOapg.properties.PrivacyPolicy, str, schemas.Unset] = schemas.unset, + Provider: typing.Union[MetaOapg.properties.Provider, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'EligibilityTermsAndConditionResponse': @@ -81,6 +90,7 @@ class EligibilityTermsAndConditionResponse( *args, TermsAndConditions=TermsAndConditions, PrivacyPolicy=PrivacyPolicy, + Provider=Provider, _configuration=_configuration, **kwargs, ) diff --git a/python/splitit_client/type/eligibility_terms_and_condition_response.py b/python/splitit_client/type/eligibility_terms_and_condition_response.py index 3445074..2d52010 100644 --- a/python/splitit_client/type/eligibility_terms_and_condition_response.py +++ b/python/splitit_client/type/eligibility_terms_and_condition_response.py @@ -23,5 +23,7 @@ class OptionalEligibilityTermsAndConditionResponse(TypedDict, total=False): PrivacyPolicy: str + Provider: str + class EligibilityTermsAndConditionResponse(RequiredEligibilityTermsAndConditionResponse, OptionalEligibilityTermsAndConditionResponse): pass diff --git a/swagger-fixed.json b/swagger-fixed.json index 2592f98..8d2740e 100644 --- a/swagger-fixed.json +++ b/swagger-fixed.json @@ -3212,6 +3212,9 @@ }, "PrivacyPolicy": { "type": "string" + }, + "Provider": { + "type": "string" } } } diff --git a/swagger.json b/swagger.json index 7f6dca8..cc09c0a 100644 --- a/swagger.json +++ b/swagger.json @@ -2418,6 +2418,9 @@ }, "PrivacyPolicy": { "type": "string" + }, + "Provider": { + "type": "string" } } } diff --git a/typescript/.konfig/generate-id.txt b/typescript/.konfig/generate-id.txt index bc4e03a..2000693 100644 --- a/typescript/.konfig/generate-id.txt +++ b/typescript/.konfig/generate-id.txt @@ -1 +1 @@ -c663a463-aac9-4e89-8b5c-373fb6660ebf \ No newline at end of file +d4610359-5cb3-4ad4-9ab3-a67496595958 \ No newline at end of file diff --git a/typescript/models/eligibility-terms-and-condition-response.ts b/typescript/models/eligibility-terms-and-condition-response.ts index 20f8606..4bfcee3 100644 --- a/typescript/models/eligibility-terms-and-condition-response.ts +++ b/typescript/models/eligibility-terms-and-condition-response.ts @@ -29,5 +29,11 @@ export interface EligibilityTermsAndConditionResponse { * @memberof EligibilityTermsAndConditionResponse */ 'PrivacyPolicy'?: string; + /** + * + * @type {string} + * @memberof EligibilityTermsAndConditionResponse + */ + 'Provider'?: string; }