Skip to content

Commit

Permalink
Merge pull request #92 from CapitalOnTap/haydn/CoreAPI-3.0.24
Browse files Browse the repository at this point in the history
Regenerate SDK with Core API 3.0.24, up from 3.0.19
  • Loading branch information
HaydnDias authored Oct 31, 2024
2 parents 0e7d57e + 37bb87d commit 2b1f17a
Show file tree
Hide file tree
Showing 88 changed files with 1,822 additions and 1,370 deletions.
612 changes: 365 additions & 247 deletions Marqeta.Core.Sdk/CoreAPI.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ public Marqeta.Core.Sdk.Accounts.Item.Disputes.Item.WithDispute_tokenItemRequest
/// </summary>
/// <param name="pathParameters">Path parameters for the request</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
public DisputesRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/accounts/{account_token}/disputes{?count*,sort_by*,start_index*}", pathParameters)
public DisputesRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/accounts/{account_token}/disputes{?count*,ledger_entry_tokens*,sort_by*,start_index*,statuses*}", pathParameters)
{
}
/// <summary>
/// Instantiates a new <see cref="Marqeta.Core.Sdk.Accounts.Item.Disputes.DisputesRequestBuilder"/> and sets the default values.
/// </summary>
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
public DisputesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/accounts/{account_token}/disputes{?count*,sort_by*,start_index*}", rawUrl)
public DisputesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/accounts/{account_token}/disputes{?count*,ledger_entry_tokens*,sort_by*,start_index*,statuses*}", rawUrl)
{
}
/// <summary>
Expand Down Expand Up @@ -150,12 +150,32 @@ public class DisputesRequestBuilderGetQueryParameters
/// <summary>Number of disputes resources to retrieve.</summary>
[QueryParameter("count")]
public int? Count { get; set; }
/// <summary>Unique identifier of the journal entry in dispute.This type of identifier can only be used for `authorization.clearing`-type journal entries.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
[QueryParameter("ledger_entry_tokens")]
public string[]? LedgerEntryTokens { get; set; }
#nullable restore
#else
[QueryParameter("ledger_entry_tokens")]
public string[] LedgerEntryTokens { get; set; }
#endif
/// <summary>Field on which to sort.Prefix the field name with a hyphen (`-`) to sort in descending order.Omit the hyphen to sort in ascending order.*NOTE:*You must sort using system field names such as `lastModifiedTime`, and not by the field names appearing in response bodies such as `last_modified_time`.</summary>
[QueryParameter("sort_by")]
public Marqeta.Core.Sdk.Accounts.Item.Disputes.GetSort_byQueryParameterType? SortBy { get; set; }
/// <summary>Sort order index of the first resource in the returned array.</summary>
[QueryParameter("start_index")]
public int? StartIndex { get; set; }
/// <summary>Status of the dispute.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
[QueryParameter("statuses")]
public Marqeta.Core.Sdk.Models.DisputeStatus[]? Statuses { get; set; }
#nullable restore
#else
[QueryParameter("statuses")]
public Marqeta.Core.Sdk.Models.DisputeStatus[] Statuses { get; set; }
#endif
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public EarlyfundsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
{
}
/// <summary>
/// Applies a provisional credit to an ACH transfer.
/// Use this endpoint to post funds from an existing bank transfer more quickly to the cardholder&apos;s account.
/// </summary>
/// <returns>A <see cref="Marqeta.Core.Sdk.Models.Bank_transfer_response_model"/></returns>
/// <param name="body">The request body</param>
Expand All @@ -57,7 +57,7 @@ public EarlyfundsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
return await RequestAdapter.SendAsync<Marqeta.Core.Sdk.Models.Bank_transfer_response_model>(requestInfo, Marqeta.Core.Sdk.Models.Bank_transfer_response_model.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Applies a provisional credit to an ACH transfer.
/// Use this endpoint to post funds from an existing bank transfer more quickly to the cardholder&apos;s account.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public class TransitionsRequestBuilderGetQueryParameters
/// <summary>Number of bank transfer transitions to retrieve.</summary>
[QueryParameter("count")]
public int? Count { get; set; }
/// <summary>Field on which to sort.Use any field in the resource model, or one of the system fields lastModifiedTime or createdTime.Prefix the field name with a hyphen (-) to sort in descending order.Omit the hyphen to sort in ascending order.</summary>
/// <summary>Field on which to sort.Use any field in the resource model, or one of the system fields `lastModifiedTime` or `createdTime`.Prefix the field name with a hyphen (-) to sort in descending order.Omit the hyphen to sort in ascending order.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
[QueryParameter("sort_by")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public class BundlesRequestBuilderGetQueryParameters
/// <summary>Number of bundles resources to retrieve.</summary>
[QueryParameter("count")]
public int? Count { get; set; }
/// <summary>Field on which to sort.Prefix the field name with a hyphen (`-`) to sort in descending order.Omit the hyphen to sort in ascending order.*NOTE:*You must sort using system field names such as `lastModifiedTime`, and not by the field names appearing in response bodies such as `last_modified_time`.</summary>
/// <summary>Field on which to sort.Prefix the field name with a hyphen (`-`) to sort in descending order.Omit the hyphen to sort in ascending order.*NOTE:*You must sort using system field names such as `lastModifiedTime`, not by the field names appearing in response bodies: for example, `last_modified_time`.</summary>
[QueryParameter("sort_by")]
public Marqeta.Core.Sdk.Bundles.GetSort_byQueryParameterType? SortBy { get; set; }
/// <summary>Sort order index of the first resource in the returned array.</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public PromoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
{
}
/// <summary>
/// Promote a specific bundle, which replaces the current active bundle and activates the promoted bundle.
/// Promote a specific bundle that replaces the current active bundle and activates the promoted bundle.
/// </summary>
/// <returns>A <see cref="Marqeta.Core.Sdk.Models.BundleResponse"/></returns>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -55,7 +55,7 @@ public PromoteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
return await RequestAdapter.SendAsync<Marqeta.Core.Sdk.Models.BundleResponse>(requestInfo, Marqeta.Core.Sdk.Models.BundleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Promote a specific bundle, which replaces the current active bundle and activates the promoted bundle.
/// Promote a specific bundle that replaces the current active bundle and activates the promoted bundle.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public WithTokenItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
return await RequestAdapter.SendAsync<Marqeta.Core.Sdk.Models.BundleResponse>(requestInfo, Marqeta.Core.Sdk.Models.BundleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Update a specific bundle that is not `ACTIVE` or `ARCHIVED`. Bundles are created in a `DRAFT` state, and are still modifiable at this point. Using the transitions endpoint a bundle can be transitioned from `DRAFT`, to `ACTIVE`. Once a bundle is active, it is immutable, and cannot be modified.
/// Update a specific bundle that is not `ACTIVE` or `ARCHIVED`.Bundles are created in a `DRAFT` state, and are still modifiable at this point.Using the transitions endpoint a bundle can be transitioned from `DRAFT`, to `ACTIVE`.Once a bundle is active, it cannot be modified.
/// </summary>
/// <returns>A <see cref="Marqeta.Core.Sdk.Models.BundleResponse"/></returns>
/// <param name="body">Specifies bundles for a credit program.</param>
Expand Down Expand Up @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Ma
return requestInfo;
}
/// <summary>
/// Update a specific bundle that is not `ACTIVE` or `ARCHIVED`. Bundles are created in a `DRAFT` state, and are still modifiable at this point. Using the transitions endpoint a bundle can be transitioned from `DRAFT`, to `ACTIVE`. Once a bundle is active, it is immutable, and cannot be modified.
/// Update a specific bundle that is not `ACTIVE` or `ARCHIVED`.Bundles are created in a `DRAFT` state, and are still modifiable at this point.Using the transitions endpoint a bundle can be transitioned from `DRAFT`, to `ACTIVE`.Once a bundle is active, it cannot be modified.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">Specifies bundles for a credit program.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public AchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
{
}
/// <summary>
/// Create an ACH funding source for an existing account holder.Specify the account holder of the funding source by passing a user or business token.When adding an ACH funding source, a small amount is deposited in the bank account as a test.The test deposit should be reflected in the account after two to three business days.You must then make an API call to verify the deposit amount in order to activate the ACH account.See &lt;&lt;/core-api/account-holder-funding-sources#putFundingsourcesAchFundingsourcetoken, Verify or Update ACH Funding Source&gt;&gt; on this page for more information.The response body returns details about the account, including the verification status.Possible ACH verification status values include `ACH_VERIFIED`, `ACH_FAILED`, and `VERIFICATION_PENDING`.
/// Create an ACH funding source for an existing account holder.Specify the account holder of the funding source by passing a user or business token.The response body returns details about the account, including the verification status.Possible ACH verification status values include `ACH_VERIFIED`, `ACH_FAILED`, and `VERIFICATION_PENDING`.
/// </summary>
/// <returns>A <see cref="Marqeta.Core.Sdk.Models.Ach_response_model"/></returns>
/// <param name="body">The request body</param>
Expand All @@ -76,7 +76,7 @@ public AchRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
return await RequestAdapter.SendAsync<Marqeta.Core.Sdk.Models.Ach_response_model>(requestInfo, Marqeta.Core.Sdk.Models.Ach_response_model.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
/// <summary>
/// Create an ACH funding source for an existing account holder.Specify the account holder of the funding source by passing a user or business token.When adding an ACH funding source, a small amount is deposited in the bank account as a test.The test deposit should be reflected in the account after two to three business days.You must then make an API call to verify the deposit amount in order to activate the ACH account.See &lt;&lt;/core-api/account-holder-funding-sources#putFundingsourcesAchFundingsourcetoken, Verify or Update ACH Funding Source&gt;&gt; on this page for more information.The response body returns details about the account, including the verification status.Possible ACH verification status values include `ACH_VERIFIED`, `ACH_FAILED`, and `VERIFICATION_PENDING`.
/// Create an ACH funding source for an existing account holder.Specify the account holder of the funding source by passing a user or business token.The response body returns details about the account, including the verification status.Possible ACH verification status values include `ACH_VERIFIED`, `ACH_FAILED`, and `VERIFICATION_PENDING`.
/// </summary>
/// <returns>A <see cref="RequestInformation"/></returns>
/// <param name="body">The request body</param>
Expand Down

This file was deleted.

Loading

0 comments on commit 2b1f17a

Please sign in to comment.