Skip to content

Commit

Permalink
feat(api): api update (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 1, 2024
1 parent 3a5093d commit f55e5ed
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 299 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 38
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-612b573cabcee39c562dc91f5b185e2a0bfdce3a262618f0098602af2199af67.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-b67c6cc5bff73851c98deeabb3ef7548eb89abfa88aca36886084416fdc347f4.yml
298 changes: 0 additions & 298 deletions internal/pagination/pagination.go

This file was deleted.

29 changes: 29 additions & 0 deletions provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ type ProviderAuthenticationMethodsSupportedFields struct {
Directory ProviderAuthenticationMethodsSupportedFieldsDirectory `json:"directory"`
Employment ProviderAuthenticationMethodsSupportedFieldsEmployment `json:"employment"`
Individual ProviderAuthenticationMethodsSupportedFieldsIndividual `json:"individual"`
PayGroup ProviderAuthenticationMethodsSupportedFieldsPayGroup `json:"pay_group"`
PayStatement ProviderAuthenticationMethodsSupportedFieldsPayStatement `json:"pay_statement"`
Payment ProviderAuthenticationMethodsSupportedFieldsPayment `json:"payment"`
JSON providerAuthenticationMethodsSupportedFieldsJSON `json:"-"`
Expand All @@ -151,6 +152,7 @@ type providerAuthenticationMethodsSupportedFieldsJSON struct {
Directory apijson.Field
Employment apijson.Field
Individual apijson.Field
PayGroup apijson.Field
PayStatement apijson.Field
Payment apijson.Field
raw string
Expand Down Expand Up @@ -739,6 +741,33 @@ func (r providerAuthenticationMethodsSupportedFieldsIndividualResidenceJSON) Raw
return r.raw
}

type ProviderAuthenticationMethodsSupportedFieldsPayGroup struct {
ID bool `json:"id"`
IndividualIDs bool `json:"individual_ids"`
Name bool `json:"name"`
PayFrequencies bool `json:"pay_frequencies"`
JSON providerAuthenticationMethodsSupportedFieldsPayGroupJSON `json:"-"`
}

// providerAuthenticationMethodsSupportedFieldsPayGroupJSON contains the JSON
// metadata for the struct [ProviderAuthenticationMethodsSupportedFieldsPayGroup]
type providerAuthenticationMethodsSupportedFieldsPayGroupJSON struct {
ID apijson.Field
IndividualIDs apijson.Field
Name apijson.Field
PayFrequencies apijson.Field
raw string
ExtraFields map[string]apijson.Field
}

func (r *ProviderAuthenticationMethodsSupportedFieldsPayGroup) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

func (r providerAuthenticationMethodsSupportedFieldsPayGroupJSON) RawJSON() string {
return r.raw
}

type ProviderAuthenticationMethodsSupportedFieldsPayStatement struct {
Paging ProviderAuthenticationMethodsSupportedFieldsPayStatementPaging `json:"paging"`
PayStatements ProviderAuthenticationMethodsSupportedFieldsPayStatementPayStatements `json:"pay_statements"`
Expand Down
Loading

0 comments on commit f55e5ed

Please sign in to comment.