diff --git a/api_customers.go b/api_customers.go index 2000351..486a3ce 100644 --- a/api_customers.go +++ b/api_customers.go @@ -324,7 +324,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_easy_split.go b/api_easy_split.go index 8faf3a9..f4a7e69 100644 --- a/api_easy_split.go +++ b/api_easy_split.go @@ -232,7 +232,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -496,7 +496,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -746,7 +746,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -994,7 +994,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1256,7 +1256,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1526,7 +1526,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1788,7 +1788,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2082,7 +2082,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2378,7 +2378,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2686,7 +2686,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2982,7 +2982,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -3276,7 +3276,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_eligibility.go b/api_eligibility.go index 4cf78f8..7eeccab 100644 --- a/api_eligibility.go +++ b/api_eligibility.go @@ -339,7 +339,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -804,7 +804,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1269,7 +1269,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1749,7 +1749,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_offers.go b/api_offers.go index 8348f24..123a022 100644 --- a/api_offers.go +++ b/api_offers.go @@ -325,7 +325,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -767,7 +767,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_orders.go b/api_orders.go index d3f1c0e..9f113d5 100644 --- a/api_orders.go +++ b/api_orders.go @@ -325,7 +325,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -767,7 +767,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1219,7 +1219,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_payment_links.go b/api_payment_links.go index 18288c4..e6f94c3 100644 --- a/api_payment_links.go +++ b/api_payment_links.go @@ -317,7 +317,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -767,7 +767,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1224,7 +1224,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1687,7 +1687,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_payments.go b/api_payments.go index bdd8b4c..8bbf7da 100644 --- a/api_payments.go +++ b/api_payments.go @@ -342,7 +342,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -824,7 +824,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1298,7 +1298,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1770,7 +1770,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2250,7 +2250,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_pg_reconciliation.go b/api_pg_reconciliation.go index b77b521..25f36f4 100644 --- a/api_pg_reconciliation.go +++ b/api_pg_reconciliation.go @@ -336,7 +336,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_refunds.go b/api_refunds.go index fab35e8..1af1f21 100644 --- a/api_refunds.go +++ b/api_refunds.go @@ -342,7 +342,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -816,7 +816,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1273,7 +1273,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_settlement_reconciliation.go b/api_settlement_reconciliation.go index 7716f78..f15bec3 100644 --- a/api_settlement_reconciliation.go +++ b/api_settlement_reconciliation.go @@ -336,7 +336,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -798,7 +798,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_settlements.go b/api_settlements.go index 3bab7ad..a82e30c 100644 --- a/api_settlements.go +++ b/api_settlements.go @@ -274,7 +274,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -686,7 +686,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_simulation.go b/api_simulation.go index a4f3198..4ef3b2f 100644 --- a/api_simulation.go +++ b/api_simulation.go @@ -287,7 +287,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -677,7 +677,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_soft_pos.go b/api_soft_pos.go index 5d007b0..6459a06 100644 --- a/api_soft_pos.go +++ b/api_soft_pos.go @@ -325,7 +325,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -775,7 +775,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1217,7 +1217,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1673,7 +1673,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2123,7 +2123,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2575,7 +2575,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -3027,7 +3027,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -3479,7 +3479,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_subscription.go b/api_subscription.go index 509833e..cfc0088 100644 --- a/api_subscription.go +++ b/api_subscription.go @@ -311,7 +311,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -731,7 +731,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1153,7 +1153,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1573,7 +1573,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1970,7 +1970,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2352,7 +2352,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2736,7 +2736,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -3133,7 +3133,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -3532,7 +3532,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -3939,7 +3939,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -4348,7 +4348,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -4801,7 +4801,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -5221,7 +5221,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/api_token_vault.go b/api_token_vault.go index 538aca8..d066145 100644 --- a/api_token_vault.go +++ b/api_token_vault.go @@ -334,7 +334,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -808,7 +808,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1273,7 +1273,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1732,7 +1732,7 @@ if XPartnerApiKey != nil { localVarHeaderParams["x-partner-apikey"] = *XPartnerApiKey } - localVarHeaderParams["x-sdk-platform"] = "gosdk-4.2.4" + localVarHeaderParams["x-sdk-platform"] = "gosdk-4.3.3" req, err := client.prepareRequest(ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err diff --git a/configuration.go b/configuration.go index a6a3217..68c2760 100644 --- a/configuration.go +++ b/configuration.go @@ -92,7 +92,7 @@ func SetupSentry(environment CFEnvironment) { AttachStacktrace: true, EnableTracing: true, Environment: env, - Release: "4.2.4", + Release: "4.3.3", BeforeSend: func(event *sentry.Event, hint *sentry.EventHint) *sentry.Event { delete(event.Contexts, "device") delete(event.Contexts, "os") @@ -192,7 +192,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/4.2.4/go", + UserAgent: "OpenAPI-Generator/4.3.3/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/LinkMetaResponseEntity.md b/docs/LinkMetaResponseEntity.md index d661112..9c8d439 100644 --- a/docs/LinkMetaResponseEntity.md +++ b/docs/LinkMetaResponseEntity.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **NotifyUrl** | Pointer to **string** | Notification URL for server-server communication. It should be an https URL. | [optional] -**UpiIntent** | Pointer to **bool** | If \"true\", link will directly open UPI Intent flow on mobile, and normal link flow elsewhere | [optional] +**UpiIntent** | Pointer to **string** | If \"true\", link will directly open UPI Intent flow on mobile, and normal link flow elsewhere | [optional] **ReturnUrl** | Pointer to **string** | The URL to which user will be redirected to after the payment is done on the link. Maximum length: 250. | [optional] **PaymentMethods** | Pointer to **string** | Allowed payment modes for this link. Pass comma-separated values among following options - \"cc\", \"dc\", \"ccc\", \"ppc\", \"nb\", \"upi\", \"paypal\", \"app\". Leave it blank to show all available payment methods | [optional] @@ -55,20 +55,20 @@ HasNotifyUrl returns a boolean if a field has been set. ### GetUpiIntent -`func (o *LinkMetaResponseEntity) GetUpiIntent() bool` +`func (o *LinkMetaResponseEntity) GetUpiIntent() string` GetUpiIntent returns the UpiIntent field if non-nil, zero value otherwise. ### GetUpiIntentOk -`func (o *LinkMetaResponseEntity) GetUpiIntentOk() (*bool, bool)` +`func (o *LinkMetaResponseEntity) GetUpiIntentOk() (*string, bool)` GetUpiIntentOk returns a tuple with the UpiIntent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUpiIntent -`func (o *LinkMetaResponseEntity) SetUpiIntent(v bool)` +`func (o *LinkMetaResponseEntity) SetUpiIntent(v string)` SetUpiIntent sets UpiIntent field to given value. diff --git a/docs/TerminalEntity.md b/docs/TerminalEntity.md index 0d20dca..deabf40 100644 --- a/docs/TerminalEntity.md +++ b/docs/TerminalEntity.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **TerminalNote** | Pointer to **string** | | [optional] **TerminalPhoneNo** | Pointer to **string** | | [optional] **TerminalStatus** | Pointer to **string** | | [optional] -**TerminalMeta** | Pointer to **string** | | [optional] +**TerminalMeta** | Pointer to [**CreateTerminalRequestTerminalMeta**](CreateTerminalRequestTerminalMeta.md) | | [optional] ## Methods @@ -313,20 +313,20 @@ HasTerminalStatus returns a boolean if a field has been set. ### GetTerminalMeta -`func (o *TerminalEntity) GetTerminalMeta() string` +`func (o *TerminalEntity) GetTerminalMeta() CreateTerminalRequestTerminalMeta` GetTerminalMeta returns the TerminalMeta field if non-nil, zero value otherwise. ### GetTerminalMetaOk -`func (o *TerminalEntity) GetTerminalMetaOk() (*string, bool)` +`func (o *TerminalEntity) GetTerminalMetaOk() (*CreateTerminalRequestTerminalMeta, bool)` GetTerminalMetaOk returns a tuple with the TerminalMeta field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTerminalMeta -`func (o *TerminalEntity) SetTerminalMeta(v string)` +`func (o *TerminalEntity) SetTerminalMeta(v CreateTerminalRequestTerminalMeta)` SetTerminalMeta sets TerminalMeta field to given value. diff --git a/docs/UpdateTerminalEntity.md b/docs/UpdateTerminalEntity.md index eced770..e8d921f 100644 --- a/docs/UpdateTerminalEntity.md +++ b/docs/UpdateTerminalEntity.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes **TerminalNote** | Pointer to **string** | | [optional] **TerminalPhoneNo** | Pointer to **string** | | [optional] **TerminalStatus** | Pointer to **string** | | [optional] -**TerminalMeta** | Pointer to **string** | | [optional] +**TerminalMeta** | Pointer to [**CreateTerminalRequestTerminalMeta**](CreateTerminalRequestTerminalMeta.md) | | [optional] ## Methods @@ -313,20 +313,20 @@ HasTerminalStatus returns a boolean if a field has been set. ### GetTerminalMeta -`func (o *UpdateTerminalEntity) GetTerminalMeta() string` +`func (o *UpdateTerminalEntity) GetTerminalMeta() CreateTerminalRequestTerminalMeta` GetTerminalMeta returns the TerminalMeta field if non-nil, zero value otherwise. ### GetTerminalMetaOk -`func (o *UpdateTerminalEntity) GetTerminalMetaOk() (*string, bool)` +`func (o *UpdateTerminalEntity) GetTerminalMetaOk() (*CreateTerminalRequestTerminalMeta, bool)` GetTerminalMetaOk returns a tuple with the TerminalMeta field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTerminalMeta -`func (o *UpdateTerminalEntity) SetTerminalMeta(v string)` +`func (o *UpdateTerminalEntity) SetTerminalMeta(v CreateTerminalRequestTerminalMeta)` SetTerminalMeta sets TerminalMeta field to given value. diff --git a/model_link_meta_response_entity.go b/model_link_meta_response_entity.go index 6fde786..8c0c813 100644 --- a/model_link_meta_response_entity.go +++ b/model_link_meta_response_entity.go @@ -24,7 +24,7 @@ type LinkMetaResponseEntity struct { // Notification URL for server-server communication. It should be an https URL. NotifyUrl *string `json:"notify_url,omitempty"` // If \"true\", link will directly open UPI Intent flow on mobile, and normal link flow elsewhere - UpiIntent *bool `json:"upi_intent,omitempty"` + UpiIntent *string `json:"upi_intent,omitempty"` // The URL to which user will be redirected to after the payment is done on the link. Maximum length: 250. ReturnUrl *string `json:"return_url,omitempty"` // Allowed payment modes for this link. Pass comma-separated values among following options - \"cc\", \"dc\", \"ccc\", \"ppc\", \"nb\", \"upi\", \"paypal\", \"app\". Leave it blank to show all available payment methods diff --git a/model_offer_validations_payment_method.go b/model_offer_validations_payment_method.go index 26b2133..7ead18b 100644 --- a/model_offer_validations_payment_method.go +++ b/model_offer_validations_payment_method.go @@ -106,7 +106,7 @@ func (dst *OfferValidationsPaymentMethod) UnmarshalJSON(data []byte) error { match++ } - + if match == 0 { all := map[string]interface{}{} if strings.Contains(string(jsonOfferAll), "all") { diff --git a/model_terminal_entity.go b/model_terminal_entity.go index 47b34d6..97e5cc0 100644 --- a/model_terminal_entity.go +++ b/model_terminal_entity.go @@ -32,7 +32,7 @@ type TerminalEntity struct { TerminalNote *string `json:"terminal_note,omitempty"` TerminalPhoneNo *string `json:"terminal_phone_no,omitempty"` TerminalStatus *string `json:"terminal_status,omitempty"` - TerminalMeta *string `json:"terminal_meta,omitempty"` + TerminalMeta *CreateTerminalRequestTerminalMeta `json:"terminal_meta,omitempty"` } diff --git a/model_update_terminal_entity.go b/model_update_terminal_entity.go index e752759..ff50661 100644 --- a/model_update_terminal_entity.go +++ b/model_update_terminal_entity.go @@ -32,7 +32,7 @@ type UpdateTerminalEntity struct { TerminalNote *string `json:"terminal_note,omitempty"` TerminalPhoneNo *string `json:"terminal_phone_no,omitempty"` TerminalStatus *string `json:"terminal_status,omitempty"` - TerminalMeta *string `json:"terminal_meta,omitempty"` + TerminalMeta *CreateTerminalRequestTerminalMeta `json:"terminal_meta,omitempty"` }