@erp-galoper/types 1.0.2149 → 1.0.2150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/openapi.ts +112 -10
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -43064,6 +43064,45 @@ export interface components {
43064
43064
  * @description Visible and Required when taxType is stampDuty. Must be a Detail-level account whose account type is 'Government and public institutions Taxes' and whose currency is the company currency. Ignored (saved as null) otherwise./api/v1/chart_of_account/?type=detail and filter by accountType.name equals 'Government and public institutions Taxes'
43065
43065
  */
43066
43066
  stampDutyPayable?: number | null;
43067
+ /** Taxrules */
43068
+ taxRules?: components["schemas"]["CreateTaxRuleForTax"][] | null;
43069
+ };
43070
+ /** CreateTaxRuleForTax */
43071
+ CreateTaxRuleForTax: {
43072
+ /**
43073
+ * Name
43074
+ * @description Human friendly name for this tax rule
43075
+ */
43076
+ name: string;
43077
+ /** Customerids */
43078
+ customerIds?: string[] | null;
43079
+ /** Customergroupids */
43080
+ customerGroupIds?: string[] | null;
43081
+ /** Itemids */
43082
+ itemIds?: string[] | null;
43083
+ /** Itemcategoryids */
43084
+ itemCategoryIds?: string[] | null;
43085
+ /** Taxapplication */
43086
+ taxApplication: string;
43087
+ /** Exemptionpercent */
43088
+ exemptionPercent?: number | null;
43089
+ /** Exemptionmethod */
43090
+ exemptionMethod?: string | null;
43091
+ /**
43092
+ * Isactive
43093
+ * @default true
43094
+ */
43095
+ isActive: boolean | null;
43096
+ };
43097
+ /** ItemCategorySummaryInfo */
43098
+ ItemCategorySummaryInfo: {
43099
+ /**
43100
+ * Id
43101
+ * Format: uuid
43102
+ */
43103
+ id: string;
43104
+ /** Name */
43105
+ name: string;
43067
43106
  };
43068
43107
  /** ListTaxes */
43069
43108
  ListTaxes: {
@@ -43119,9 +43158,52 @@ export interface components {
43119
43158
  appliesTo?: components["schemas"]["TaxAppliesTo"] | null;
43120
43159
  /** @description visible when tax type is stamp duty */
43121
43160
  stampDutyPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
43161
+ /**
43162
+ * Taxrules
43163
+ * @default []
43164
+ */
43165
+ taxRules: components["schemas"]["RetrieveTaxRuleInTax"][] | null;
43122
43166
  /** Candelete */
43123
43167
  canDelete: boolean;
43124
43168
  };
43169
+ /** RetrieveTaxRuleInTax */
43170
+ RetrieveTaxRuleInTax: {
43171
+ /**
43172
+ * Id
43173
+ * Format: uuid
43174
+ */
43175
+ id: string;
43176
+ /** Name */
43177
+ name?: string | null;
43178
+ /**
43179
+ * Customers
43180
+ * @default []
43181
+ */
43182
+ customers: components["schemas"]["AccountSummaryInfo"][] | null;
43183
+ /**
43184
+ * Customergroups
43185
+ * @default []
43186
+ */
43187
+ customerGroups: components["schemas"]["ContactSegmentationSharedSchema"][] | null;
43188
+ /**
43189
+ * Items
43190
+ * @default []
43191
+ */
43192
+ items: components["schemas"]["ItemSummaryInfo"][] | null;
43193
+ /**
43194
+ * Itemcategories
43195
+ * @default []
43196
+ */
43197
+ itemCategories: components["schemas"]["ItemCategorySummaryInfo"][] | null;
43198
+ /** Taxapplication */
43199
+ taxApplication: string;
43200
+ /** Exemptionpercent */
43201
+ exemptionPercent?: number | null;
43202
+ /** Exemptionmethod */
43203
+ exemptionMethod?: string | null;
43204
+ /** Isactive */
43205
+ isActive: boolean;
43206
+ };
43125
43207
  /**
43126
43208
  * TaxAppliesTo
43127
43209
  * @constant
@@ -43197,6 +43279,31 @@ export interface components {
43197
43279
  * @description Visible and Required when taxType is stampDuty. Must be a Detail-level account whose account type is 'Government and public institutions Taxes' and whose currency is the company currency. Ignored (saved as null) otherwise.
43198
43280
  */
43199
43281
  stampDutyPayable?: number | null;
43282
+ /** Taxrules */
43283
+ taxRules?: components["schemas"]["UpsertTaxRuleForTax"][] | null;
43284
+ };
43285
+ /** UpsertTaxRuleForTax */
43286
+ UpsertTaxRuleForTax: {
43287
+ /** Id */
43288
+ id?: string | null;
43289
+ /** Name */
43290
+ name?: string | null;
43291
+ /** Customerids */
43292
+ customerIds?: string[] | null;
43293
+ /** Customergroupids */
43294
+ customerGroupIds?: string[] | null;
43295
+ /** Itemids */
43296
+ itemIds?: string[] | null;
43297
+ /** Itemcategoryids */
43298
+ itemCategoryIds?: string[] | null;
43299
+ /** Taxapplication */
43300
+ taxApplication?: string | null;
43301
+ /** Exemptionpercent */
43302
+ exemptionPercent?: number | null;
43303
+ /** Exemptionmethod */
43304
+ exemptionMethod?: string | null;
43305
+ /** Isactive */
43306
+ isActive?: boolean | null;
43200
43307
  };
43201
43308
  /** RetrieveTax */
43202
43309
  RetrieveTax: {
@@ -43246,6 +43353,11 @@ export interface components {
43246
43353
  appliesTo?: components["schemas"]["TaxAppliesTo"] | null;
43247
43354
  /** @description visible when tax type is stamp duty */
43248
43355
  stampDutyPayable?: components["schemas"]["ChartOfAccountInfoSchema"] | null;
43356
+ /**
43357
+ * Taxrules
43358
+ * @default []
43359
+ */
43360
+ taxRules: components["schemas"]["RetrieveTaxRuleInTax"][] | null;
43249
43361
  };
43250
43362
  /** CreateTaxRule */
43251
43363
  CreateTaxRule: {
@@ -43304,16 +43416,6 @@ export interface components {
43304
43416
  * @enum {string}
43305
43417
  */
43306
43418
  TaxApplication: "STANDARD" | "PARTIAL_EXEMPTION" | "FULL_EXEMPTION";
43307
- /** ItemCategorySummaryInfo */
43308
- ItemCategorySummaryInfo: {
43309
- /**
43310
- * Id
43311
- * Format: uuid
43312
- */
43313
- id: string;
43314
- /** Name */
43315
- name: string;
43316
- };
43317
43419
  /** ListTaxRules */
43318
43420
  ListTaxRules: {
43319
43421
  info: components["schemas"]["PageInfoSchema"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2149",
3
+ "version": "1.0.2150",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [