@openbox/shared-types 0.6.60 → 0.6.61

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.
@@ -0,0 +1,37 @@
1
+ name: CodeQL Security Analysis
2
+ on:
3
+ push:
4
+ branches: [development]
5
+ pull_request:
6
+ types: [opened, ready_for_review, synchronize, reopened]
7
+ branches: [development]
8
+ permissions:
9
+ actions: read
10
+ contents: read
11
+ security-events: write
12
+ jobs:
13
+ codeql:
14
+ name: CodeQL Analysis
15
+ runs-on: ubuntu-latest
16
+ if: github.event_name == 'push' || github.event.pull_request.draft == false
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ language: [typescript]
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - uses: github/codeql-action/init@v3
24
+ with:
25
+ languages: ${{ matrix.language }}
26
+ queries: security-and-quality
27
+ - name: Setup Node.js
28
+ uses: actions/setup-node@v4
29
+ with:
30
+ node-version: '16.19.0'
31
+ cache: 'yarn'
32
+ - name: Install dependencies
33
+ run: yarn install --frozen-lockfile
34
+ - uses: github/codeql-action/autobuild@v3
35
+ - uses: github/codeql-action/analyze@v3
36
+ with:
37
+ category: "/language:${{ matrix.language }}"
@@ -0,0 +1,34 @@
1
+ name: Dependency Review
2
+ on:
3
+ push:
4
+ branches: [development]
5
+ pull_request:
6
+ types: [opened, ready_for_review, synchronize, reopened]
7
+ branches: [development]
8
+ permissions:
9
+ contents: read
10
+ pull-requests: read
11
+ jobs:
12
+ dependency-review:
13
+ name: Dependency Review
14
+ runs-on: ubuntu-latest
15
+ if: github.event_name == 'push' || github.event.pull_request.draft == false
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Dependency Review
19
+ if: github.event_name == 'pull_request'
20
+ uses: actions/dependency-review-action@v4
21
+ with:
22
+ fail-on-severity: high
23
+ - name: Setup Node.js
24
+ if: github.event_name == 'push'
25
+ uses: actions/setup-node@v4
26
+ with:
27
+ node-version: '16.19.0'
28
+ cache: 'yarn'
29
+ - name: Install dependencies
30
+ if: github.event_name == 'push'
31
+ run: yarn install --frozen-lockfile
32
+ - name: Yarn Audit
33
+ if: github.event_name == 'push'
34
+ run: yarn audit --level high
@@ -12,6 +12,15 @@ export type SystemSvFields = {
12
12
  * @default false
13
13
  */
14
14
  nitIsHomologated?: boolean;
15
+ /**
16
+ * Indicates whether the entity is configured as an IVA retention agent
17
+ * (agente de retención de IVA) for tax-related operations.
18
+ * Use this flag to identify retention-agent status in a domain-neutral way;
19
+ * any specific validation or document processing rules should be handled by
20
+ * the corresponding business logic.
21
+ * @default false
22
+ */
23
+ isRetentionAgent?: boolean;
15
24
  taxerType?: SystemTaxerTypes;
16
25
  economicActivity?: SystemSvEconomicActivities;
17
26
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.6.60",
3
+ "version": "0.6.61",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
- "types": "lib/index.d.js",
5
+ "types": "lib/index.d.ts",
6
6
  "main": "lib/index.js",
7
7
  "author": "Openbox Development Team",
8
8
  "license": "ISC",