1111 "PayStatement" ,
1212 "Earning" ,
1313 "EarningAttributes" ,
14- "EarningAttributesMetadata" ,
1514 "EmployeeDeduction" ,
1615 "EmployeeDeductionAttributes" ,
17- "EmployeeDeductionAttributesMetadata" ,
1816 "EmployerContribution" ,
1917 "EmployerContributionAttributes" ,
20- "EmployerContributionAttributesMetadata" ,
2118 "Tax" ,
2219 "TaxAttributes" ,
23- "TaxAttributesMetadata" ,
2420]
2521
2622
27- class EarningAttributesMetadata (BaseModel ):
23+ class EarningAttributes (BaseModel ):
2824 metadata : Dict [str , Optional [object ]]
2925 """The metadata to be attached to the entity by existing rules.
3026
@@ -33,10 +29,6 @@ class EarningAttributesMetadata(BaseModel):
3329 """
3430
3531
36- class EarningAttributes (BaseModel ):
37- metadata : EarningAttributesMetadata
38-
39-
4032class Earning (BaseModel ):
4133 amount : Optional [int ] = None
4234 """The earnings amount in cents."""
@@ -76,7 +68,7 @@ class Earning(BaseModel):
7668 attributes : Optional [EarningAttributes ] = None
7769
7870
79- class EmployeeDeductionAttributesMetadata (BaseModel ):
71+ class EmployeeDeductionAttributes (BaseModel ):
8072 metadata : Dict [str , Optional [object ]]
8173 """The metadata to be attached to the entity by existing rules.
8274
@@ -85,10 +77,6 @@ class EmployeeDeductionAttributesMetadata(BaseModel):
8577 """
8678
8779
88- class EmployeeDeductionAttributes (BaseModel ):
89- metadata : EmployeeDeductionAttributesMetadata
90-
91-
9280class EmployeeDeduction (BaseModel ):
9381 amount : Optional [int ] = None
9482 """The deduction amount in cents."""
@@ -108,7 +96,7 @@ class EmployeeDeduction(BaseModel):
10896 attributes : Optional [EmployeeDeductionAttributes ] = None
10997
11098
111- class EmployerContributionAttributesMetadata (BaseModel ):
99+ class EmployerContributionAttributes (BaseModel ):
112100 metadata : Dict [str , Optional [object ]]
113101 """The metadata to be attached to the entity by existing rules.
114102
@@ -117,10 +105,6 @@ class EmployerContributionAttributesMetadata(BaseModel):
117105 """
118106
119107
120- class EmployerContributionAttributes (BaseModel ):
121- metadata : EmployerContributionAttributesMetadata
122-
123-
124108class EmployerContribution (BaseModel ):
125109 currency : Optional [str ] = None
126110 """The contribution currency."""
@@ -137,7 +121,7 @@ class EmployerContribution(BaseModel):
137121 attributes : Optional [EmployerContributionAttributes ] = None
138122
139123
140- class TaxAttributesMetadata (BaseModel ):
124+ class TaxAttributes (BaseModel ):
141125 metadata : Dict [str , Optional [object ]]
142126 """The metadata to be attached to the entity by existing rules.
143127
@@ -146,10 +130,6 @@ class TaxAttributesMetadata(BaseModel):
146130 """
147131
148132
149- class TaxAttributes (BaseModel ):
150- metadata : TaxAttributesMetadata
151-
152-
153133class Tax (BaseModel ):
154134 currency : Optional [str ] = None
155135 """The currency code."""
0 commit comments