Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code #2

Open
wants to merge 1,792 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1792 commits
Select commit Hold shift + click to select a range
2a6ec6b
[LEND-2433] BankStatementsPlus Indicative Balances
Dec 5, 2022
8d69f1a
Update xero-payroll-uk.yaml
pumpkinball Dec 7, 2022
fad1cfd
Merge pull request #529 from damonf8086-2/feature/lend-2433
RettBehrens Dec 7, 2022
527f7c1
Merge pull request #530 from XeroAPI/Update-EarningType-case-UK-Payroll
RettBehrens Dec 7, 2022
1096f76
bump version
RettBehrens Dec 7, 2022
c343918
escape descriptions that were causing parser errors
RettBehrens Dec 7, 2022
a6058ca
Create lint.yml
RettBehrens Dec 7, 2022
4280499
Update lint.yml
RettBehrens Dec 7, 2022
f1c5ee8
Update lint.yml
RettBehrens Dec 7, 2022
d80d297
Update lint.yml
RettBehrens Dec 7, 2022
a459fcf
Update lint.yml
RettBehrens Dec 7, 2022
71c72fe
Update lint.yml
RettBehrens Dec 7, 2022
fa13fdc
Update lint.yml
RettBehrens Dec 7, 2022
db7e283
Update lint.yml
RettBehrens Dec 7, 2022
ba19c44
Merge pull request #521 from chris-seq-xero/AUP-8815-payroll-au-new-b…
RettBehrens Dec 9, 2022
6fe0d2d
bump version
RettBehrens Dec 9, 2022
1e5cde4
INVINP-10767 Add /associations/count endpoint
eduardocopat-xero Feb 1, 2023
91b2692
INVINP-10767 remove newline
eduardocopat-xero Feb 1, 2023
09cf848
Create jira_create_issue.yml
RettBehrens Feb 1, 2023
cb41b06
Update jira_create_issue.yml
RettBehrens Feb 1, 2023
7b1a768
Update jira_create_issue.yml
RettBehrens Feb 2, 2023
9a0d63e
Added logic to comment when an issue is created
JRising-Xero Feb 2, 2023
df0a38e
Removed reopened event from github action
JRising-Xero Feb 2, 2023
8cc30cb
Added github action to update jira ticket status when an issue is closed
JRising-Xero Feb 2, 2023
59cbb7f
Update jira_update_issue.yml
JRising-Xero Feb 2, 2023
04e5895
Update jira_update_issue.yml
JRising-Xero Feb 2, 2023
133dcd1
Update jira_update_issue.yml
JRising-Xero Feb 2, 2023
095f696
Github action now searches for jira id in comments of closed issue
JRising-Xero Feb 2, 2023
4ff1056
Update jira_update_issue.yml
JRising-Xero Feb 2, 2023
43fa58e
Added comments to github actions
JRising-Xero Feb 2, 2023
51f91b3
Update jira_update_issue_closed.yml
JRising-Xero Feb 2, 2023
c1cfcf8
Update jira_update_issue_reopen.yml
JRising-Xero Feb 2, 2023
da29f78
Fixed typo in comment author name for github actions
JRising-Xero Feb 2, 2023
0a046c1
[STA-757] Add Reverse Charge Y23
DanielGazzardXero Feb 2, 2023
a9f57d7
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
ecc83f6
testing ga for pr open
RettBehrens Feb 3, 2023
f5bb5bf
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
feba431
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
38bc8a8
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
ddc89e8
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
0cf2851
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
51e48cb
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
e156f2d
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
ca77cbd
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
9cc65e6
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
6bcb9fe
Update jira_create_issue.yml
RettBehrens Feb 3, 2023
053527f
Update jira_update_issue_reopen.yml
RettBehrens Feb 3, 2023
626659f
Update jira_update_issue_closed.yml
RettBehrens Feb 3, 2023
a0ad700
INVINP-10676 update from array to object
eduardocopat-xero Feb 9, 2023
2eec665
Add examples for PayOutType for LeaveApplication and LeaveEarningsLine
andrew-cox-xero Feb 14, 2023
4d9c196
INVINP-10676 code review, remove schema and update description
eduardocopat-xero Feb 14, 2023
60acccb
Refactor PayOutType to schema reference object
andrew-cox-xero Feb 15, 2023
b5bda44
INVINP-10676 Tidy up unused component
eduardocopat-xero Feb 15, 2023
00354b8
Merge pull request #536 from eduardocopat-xero/INVINP-10676b
RettBehrens Feb 15, 2023
1bbc148
Merge pull request #525 from dexter056/AUP-9467
RettBehrens Feb 16, 2023
8c3ff46
Merge pull request #522 from andrew-cox-xero/feature/AUP-5592
RettBehrens Feb 16, 2023
d049e8d
bump version
RettBehrens Feb 16, 2023
5d5fad0
Update jira_create_issue.yml
RettBehrens Mar 1, 2023
6f0071e
Update jira_create_issue.yml
RettBehrens Mar 1, 2023
8ee4343
Update xero_accounting.yaml
pumpkinball Mar 27, 2023
44556da
add and remove currencies per api-accounting team
RettBehrens Apr 4, 2023
9711a1e
[Lend-2202] update importsource descriptions
May 1, 2023
189425c
Merge pull request #541 from DanielGazzardXero/STA-757
rdemarco-xero May 3, 2023
dc90f7e
Merge pull request #555 from samousavih/feature/lend-2202-update-impo…
rdemarco-xero May 3, 2023
7c26b36
Merge pull request #551 from XeroAPI/Add-Estonian-EEK-currencycode
rdemarco-xero May 3, 2023
4db6aae
bump version
rdemarco-xero May 3, 2023
b4f86eb
Add LeaveApplications/v2 and approve/reject for AU
andrew-cox-xero May 16, 2023
81a4144
[STA-874] Create compliance tax rates in XeroApi
MichaelTranXero May 22, 2023
e364842
[STA-874] Remove disallowed expenses
MichaelTranXero Jun 5, 2023
c3ca276
Merge pull request #559 from andrew-cox-xero/feature/AUP-11286
0GH4J Jun 14, 2023
6fd5fa3
Merge pull request #560 from MichaelTranXero/STA-874
0GH4J Jun 14, 2023
2a93d36
bump version
rdemarco-xero Jun 14, 2023
6abac45
[BPC-7036] - Remove skype field from the open API spec
pasidux Jun 16, 2023
1a798ce
[Lend-2704] add rate limit response type
Jul 27, 2023
6a0344a
INVINP-11482 Delete allocations
eduardocopat-xero Aug 7, 2023
a0a806a
USTNN-2546 Updated 1099 report open-api documentation
kian-ng Aug 9, 2023
da471a8
USTNN-2546 Removed Box13 from sample report for year 2023
kian-ng Aug 9, 2023
d929483
Merge pull request #566 from samousavih/feature/lend-2704-update-doc-…
rdemarco-xero Aug 9, 2023
4f593aa
Merge pull request #567 from eduardocopat-xero/INVINP-11482b-delete-a…
rdemarco-xero Aug 9, 2023
9028c18
bump version and fix two issues
rdemarco-xero Aug 9, 2023
bc41fc4
Merge pull request #569 from XeroAPI/minor-changes-for-v2.39.0
rdemarco-xero Aug 9, 2023
ec52c43
Merge pull request #562 from pasidux/feature/BPC-7036
rdemarco-xero Aug 9, 2023
0aecfb2
Merge pull request #568 from kian-ng/USTNN-2546
rdemarco-xero Aug 9, 2023
9db27c8
Update xero_accounting.yaml
rlayhbrian Aug 14, 2023
f750320
add support for idempotency-key
rdemarco-xero Aug 28, 2023
ec7a9f3
Merge pull request #571 from XeroAPI/minor-changes-v2.39.1
rdemarco-xero Aug 29, 2023
85c0d8e
bump minor version since idempotency key changes created some breakin…
rdemarco-xero Aug 29, 2023
536621a
NZP-3111 Update NZ Payroll Employee/Employment/LeaveSetup/LeaveType doco
sheriefwissa-xero Sep 6, 2023
3fe3792
[APIB-4282] OpenAPI spec has paging info for Associations/objectid
rob-wigmore Sep 6, 2023
76ceedd
NZP-3111 Updates to payroll-nz OpenApi Spec
sheriefwissa-xero Sep 11, 2023
d5b92eb
[APIB-4282] OpenAPI spec includes direction in paging info for Associ…
rob-wigmore Sep 13, 2023
0c6e57a
Merge pull request #572 from rob-wigmore/master
rdemarco-xero Sep 14, 2023
a56aee2
[STA-905] added 9% tax rates for Singapore
GlenXero Oct 13, 2023
dab2946
[STA-905] removed GST/ prefix for Singapore tax rates
GlenXero Oct 13, 2023
d0dbe2e
Merge pull request #573 from GlenXero/STA-905
rdemarco-xero Nov 16, 2023
f0e691d
bump minor version
rdemarco-xero Nov 17, 2023
f4ea250
AUP-14336 Removing JobKeeper allowance type
jeremy-vaartjes-xero Nov 28, 2023
4e68d2d
Update xero-payroll-nz.yaml
wobinb Dec 21, 2023
56b5287
Update xero_accounting.yaml
wobinb Jan 8, 2024
183600a
Merge pull request #576 from wobinb/patch-1
rdemarco-xero Jan 8, 2024
dd958af
Merge pull request #577 from wobinb/patch-2
rdemarco-xero Jan 8, 2024
b6f6e93
bump minor version
rdemarco-xero Jan 8, 2024
38d8c4d
Remove empty enum values from specs
Raghunath-S-S-J Jan 15, 2024
c4409c3
Bump major version
Raghunath-S-S-J Jan 18, 2024
459d3b3
Remove TaxType query from GET TaxRates
jvcudis Jan 19, 2024
637c187
Add TaxType parameter ref
jvcudis Jan 19, 2024
904212b
Add spec for /TaxRates/:TaxType endpoint
jvcudis Jan 19, 2024
112d36b
Update description
jvcudis Jan 19, 2024
419791c
Revert "Bump major version"
Raghunath-S-S-J Jan 19, 2024
fba3411
bump patch version
Raghunath-S-S-J Jan 19, 2024
5b047f4
Merge pull request #578 from Raghunath-S-S-J/master
rdemarco-xero Jan 19, 2024
1deca39
PETOSS-345 - Fix the Idempotency key order in method definitions
Raghunath-S-S-J Jan 31, 2024
9e0748c
PETOSS-345 - Bump major version
Raghunath-S-S-J Jan 31, 2024
004fb15
Merge pull request #581 from XeroAPI/PETOSS-345-Xero-OpenAPI
manishT72 Feb 1, 2024
24b0d22
Update operationId value
jvcudis Feb 7, 2024
a1eb3d8
PETOSS-389-Updates the OpenAPI specifications to reflect Warnings fro…
Feb 9, 2024
c2901a5
Merge pull request #582 from XeroAPI/PETOSS-389-Xero-NetStandard-501
thomas-anu Feb 9, 2024
963e206
[STA-948] Add disallowed expenses
MichaelTranXero Feb 14, 2024
e5d81b7
Fix json indentation
jvcudis Feb 18, 2024
1508638
Merge pull request #579 from jvcudis/update-tax-rates-filtering
manishT72 Feb 19, 2024
29c6158
Merge pull request #574 from jeremy-vaartjes-xero/AUP-14336
manishT72 Mar 31, 2024
5a41eb2
Merge pull request #583 from MichaelTranXero/STA-948
manishT72 May 2, 2024
62c05a6
Revert "AUP-14336 Removing JobKeeper allowance type"
manishT72x May 2, 2024
b6b71ed
Merge pull request #586 from XeroAPI/OAS-3.0.3
manishT72 May 2, 2024
608c671
Bump minor version
manishT72x May 2, 2024
2d22fa1
Merge pull request #587 from XeroAPI/OAS-3.0.3
manishT72 May 2, 2024
3751362
Removes JobKeeper enum again
manishT72x May 2, 2024
18bc620
Merge pull request #588 from XeroAPI/OAS-3.0.3
manishT72 May 2, 2024
91cfe01
XBFIL-4328- Fix formatting and add new fields 'Name', 'Size' and 'Sen…
chandniyadav5 May 10, 2024
134150e
XBFIL-4328- Update property description
chandniyadav5 May 14, 2024
79d91b5
Fix incorrect openapi version in Xero Payroll NZ spec
tim-mit May 28, 2024
5819554
XBFIL-4328- Fix PR comments on formatting
chandniyadav5 Jun 3, 2024
3fb1c6d
Merge pull request #589 from chandniyadav5/XBFIL-4328-Expose-Name-and…
manishT72 Jun 3, 2024
f5a0670
Update xero_accounting.yaml with new organisation classes
andy-liu-xero Jun 12, 2024
4f401d0
Merge pull request #594 from andy-liu-xero/Update-organisation-classes
manishT72 Jun 12, 2024
764cee9
update OAS version to 4.0.0
manishT72x Jun 18, 2024
9630585
Merge pull request #596 from XeroAPI/OAS-4.0.0
manishT72 Jun 18, 2024
a41e4ac
[LEND-2862] update data source descriptions
Jun 20, 2024
716b4dd
[LEND-2862] adding deprecated: true
Jun 20, 2024
39a6088
Merge pull request #598 from samousavih/feature/LEND-2862-update-data…
manishT72 Jun 24, 2024
b559786
Merge pull request #591 from tim-mit/patch-1
manishT72 Jun 24, 2024
5e4c593
Update xero_accounting.yaml
ronnel-santiago-xero Jun 13, 2024
47bdf44
[APIB-5555] Adds pagination information for GET /bankTransactions
ronnel-santiago-xero Jun 19, 2024
a9e8d26
[APIB-5555] Adds pagination information for GET /invoices
ronnel-santiago-xero Jun 19, 2024
ced9b1f
[APIB-5555] Adds pagination information for GET /manualJournals
ronnel-santiago-xero Jun 19, 2024
dd1a684
[APIB-5555] Adds pagination information for GET /creditNotes
ronnel-santiago-xero Jun 19, 2024
643ab84
[APIB-5555] Adds pagination information for GET /contacts
ronnel-santiago-xero Jun 19, 2024
e573287
[APIB-5555] Adds pagination information for GET /purchaseOrders
ronnel-santiago-xero Jun 19, 2024
44ce607
[APIB-5555] Adds pagination information for GET /payments
ronnel-santiago-xero Jun 19, 2024
d916275
[APIB-5555] Adds pagination information for GET /overPayments
ronnel-santiago-xero Jun 21, 2024
28864a7
[APIB-5555] Adds pagination information for GET /prePayments
ronnel-santiago-xero Jun 21, 2024
5d13520
Merge pull request #597 from ronnel-santiago-xero/apib-5555_pageinfo_…
manishT72 Jun 26, 2024
dea731a
upgraded the OAS version to 5.0.0
Jun 26, 2024
68417e7
Merge pull request #599 from XeroAPI/OAS-5.0.0
manishT72 Jun 26, 2024
d773c36
Merge pull request #595 from ronnel-santiago-xero/apib-5518_pagesizeQ…
sangeet-joy-tw Jun 27, 2024
f52fde3
[APIB-5555] Use the correct ref for GetInvoicesResponse
ronnel-santiago-xero Jun 28, 2024
a0197ba
Merge pull request #600 from ronnel-santiago-xero/apib-5555_pageinfo_…
manishT72 Jun 28, 2024
c8943d9
[APIB-5555] Use the correct ref for bank transaction, contacts, credi…
ronnel-santiago-xero Jun 28, 2024
8a142f7
Merge pull request #601 from ronnel-santiago-xero/apib-5555_pageinfo_fix
manishT72 Jun 28, 2024
38f4a79
[APIB-5632] Added ultimate sub plans.
andy-liu-xero Jul 2, 2024
5f7f7e1
Add search term component to GET invoice endpoint (#602)
andy-liu-xero Jul 2, 2024
f4ec93f
[APIB-5518] Adds the pageSize query parameter to GET /Overpayments an…
ronnel-santiago-xero Jul 4, 2024
d6dbd5a
Merge pull request #604 from ronnel-santiago-xero/apib-5518_pagesizeQ…
manishT72 Jul 4, 2024
99d21f2
[APIB-5560] Revert pagination information
roman-lagoda-xero Jul 5, 2024
bebddc6
[APIB-5560] Add Pagination
roman-lagoda-xero Jul 7, 2024
eec4942
Merge pull request #605 from roman-lagoda-xero/apib-5660-revert-page-…
sangeet-joy-tw Jul 10, 2024
005f66e
OAS version update 5.0.1
Jul 10, 2024
fbd8b19
Merge pull request #607 from XeroAPI/OAS-5.0.1
sangeet-joy-tw Jul 10, 2024
0439406
Update xero_accounting.yaml to change signs for create and update man…
Sallyhornet Jul 10, 2024
1b87634
Merge pull request #608 from Sallyhornet/patch-1
manishT72 Jul 10, 2024
03ea893
[APIB-5670] Add threshold Warnings to responses
kayoung-kim-xero Jul 11, 2024
f6f7917
OAS version update to 6.0.0
Jul 11, 2024
36fe66c
Merge pull request #610 from XeroAPI/OAS-6.0.0
sangeet-joy-tw Jul 11, 2024
3b7a68b
Merge pull request #603 from andy-liu-xero/Update-add-ultimate-sub-sc…
manishT72 Jul 15, 2024
a5c6c89
NZP-4038 - NZ Payroll Working pattern changes
gustavo-colhado Jul 17, 2024
f0045b0
NZP-4038 - regularWeek option
gustavo-colhado Jul 17, 2024
8d560d7
NZP-4038 - regularWeek option
gustavo-colhado Jul 18, 2024
15329c3
Fix 478 | Model Syntax issue | PHP
Jul 22, 2024
5f3c2ae
typo fix
Jul 22, 2024
64797a5
Merge pull request #612 from XeroAPI/OAS-6.0.1
sangeet-joy-tw Jul 22, 2024
1004388
Merge pull request #611 from gustavo-colhado/NZP-4038
Raghunath-S-S-J Jul 22, 2024
5ec8dff
Merge branch 'master' into NZP-3111
Xero-Chris-Lelievre Jul 24, 2024
9816d4c
NZP-3111 Add NZ Employment Types API fields for m2
Xero-Chris-Lelievre Jul 25, 2024
7e25656
NZP-3111 NZ Payroll remove 'units' from some field names to match the…
Xero-Chris-Lelievre Jul 25, 2024
141da4c
NZP-3111 NZ Payroll PayTemplateEarnings make pascal case for consistency
Xero-Chris-Lelievre Jul 29, 2024
f7636c8
Merge pull request #613 from Xero-Chris-Lelievre/NZP-3111
sangeet-joy-tw Jul 29, 2024
70e3a6b
Merge pull request #609 from kayoung-kim-xero/APIB-5670-add-warning-o…
sangeet-joy-tw Jul 29, 2024
fd183fc
NZP-4038 - Missing problem in schema
gustavo-colhado Jul 30, 2024
43b3748
Merge pull request #614 from gustavo-colhado/NZP-4038-2
sangeet-joy-tw Jul 30, 2024
ffda639
OAS version update to 6.1.1
Aug 5, 2024
27dcb2e
Merge pull request #615 from XeroAPI/OAS-6.1.1
sangeet-joy-tw Aug 5, 2024
c13c1a2
Credit notes now have SentToContact as writeable
Aug 19, 2024
f66ccf1
Merge pull request #616 from XeroAPI/INVINP-13442-CreditNotes
sangeet-joy-tw Aug 26, 2024
183d2e3
OAS version update | 6.2.0
Aug 26, 2024
e03ce0c
Merge pull request #617 from XeroAPI/OAS-6.2.0
sangeet-joy-tw Aug 26, 2024
3dedb49
UKPAY-9238 Add scheduleOfAccrualDate to EmployeeLeaveType
Matt-Buttress Aug 29, 2024
c4e2ddc
Merge pull request #619 from Matt-Buttress/patch-1
sangeet-joy-tw Sep 10, 2024
4d8fbd2
Version update changes for OAS 6.3.0
Sep 10, 2024
6957633
Merge pull request #622 from XeroAPI/OAS-6.3.0-version-update-changes
sangeet-joy-tw Sep 10, 2024
f55d6f5
PETOSS 579 | Adding Default parameter value to createEmployeeLeaveTyp…
Sep 12, 2024
26e07b6
Merge pull request #623 from XeroAPI/PETOSS-579-EmployeeLeaveType-def…
sangeet-joy-tw Sep 12, 2024
77c0af8
Removed Quotes in Examples for accounting.yml
Sep 12, 2024
b06bcfd
[UST-4371] Add USST fields to Invoices and Credit Notes endpoints
Sep 16, 2024
7b219fe
Merge pull request #625 from cristian-azocar/master
sangeet-joy-tw Sep 16, 2024
8cc877c
Corrected examples
Sep 20, 2024
2e0acfe
fixed review comments
Sep 24, 2024
4f14ed7
Merge pull request #628 from XeroAPI/consume-prism-server
vigneshk-tw Sep 24, 2024
f8d07cb
Revert "Merge pull request #628 from XeroAPI/consume-prism-server"
Sep 24, 2024
d149fbb
Merge pull request #631 from XeroAPI/revert-#628-prism-changes
vigneshk-tw Sep 24, 2024
aeed4b3
corrected the examples except accounting.yml
Sep 24, 2024
09d412c
removed quotes only from example in accounting.yml
Sep 24, 2024
94567c8
corrected date format in accounting.yml
Sep 24, 2024
d67c075
adds missing invoice address field
Sep 24, 2024
539d289
adds example w.r to dotnet test cases
Sep 25, 2024
ac61390
converted format from binary to byte --> TESTING
Sep 25, 2024
9797655
removed example added
Sep 25, 2024
757ff78
removed newly added examples
Sep 25, 2024
0796dfa
adds example for CISOrgSettings
Sep 25, 2024
02dddb3
corrected the example structure
Sep 25, 2024
7aab3c7
corrected failed test case
Sep 25, 2024
e217de6
Merge pull request #634 from XeroAPI/fix/prism-update-examples
vigneshk-tw Sep 26, 2024
92632b8
Added OAS release placeholder file
Sep 26, 2024
75a2e19
Merge pull request #637 from XeroAPI/PETOSS-588-Release-action-OAS
sangeet-joy-tw Sep 26, 2024
bdf4201
Feat: Added the semantic release code
Sep 27, 2024
1f2e3d8
docs: updated the gitignore
Sep 27, 2024
ab57939
Merge pull request #640 from XeroAPI/PETOSS-588-semantic-release-setup
sangeet-joy-tw Sep 27, 2024
e266ff2
Fix: removed the git fetch command (#641)
sangeet-joy-tw Sep 27, 2024
5c916cb
ci: semantic release config updates (#642)
sangeet-joy-tw Oct 3, 2024
8bbf8e4
PETOSS 588 | Pipeline | OAS version update for all spec yaml files (#…
sangeet-joy-tw Oct 15, 2024
f1f4f35
PETOSS 536 | Open API pipeline workflow on PR raise (#678)
sangeet-joy-tw Oct 17, 2024
800cd7a
ci: commitlint step added in PR
Oct 17, 2024
8a3c151
Merge pull request #681 from XeroAPI/PETOSS-588-commitlinting-pipeline
sangeet-joy-tw Oct 18, 2024
98d2e71
ci: updated PR health check trigger condition
Oct 21, 2024
e2bf471
Merge pull request #682 from XeroAPI/PETOSS-588-update-trigger-condition
sangeet-joy-tw Oct 21, 2024
a468fc6
feat: request format has been updated from byte to binary for applica…
Sep 25, 2024
b4cb026
ci: updated the read me typo
Nov 4, 2024
5836221
ci: updated the read me.
sangeet-joy-tw Nov 4, 2024
fdc5a80
ci: typo fix read me
Nov 4, 2024
65430af
ci: typo fix read me
sangeet-joy-tw Nov 4, 2024
14b86c9
Merge branch 'master' into fix/byte-to-binary-changes
vigneshk-tw Nov 4, 2024
9d78edc
Merge pull request #683 from XeroAPI/fix/byte-to-binary-changes
vigneshk-tw Nov 4, 2024
eca2128
feat: trigger commitlint check only on pr
vigneshk-tw Nov 5, 2024
e949a3f
feat: testing commit to trigger on local branch
vigneshk-tw Nov 5, 2024
5294023
feat: revert testing commit to trigger on local branch
vigneshk-tw Nov 5, 2024
e8c221a
Merge pull request #692 from XeroAPI/fix/trigger-commitlint-on-pr-1
vigneshk-tw Nov 5, 2024
6ff4a91
feat: format open api using yq
vigneshk-tw Nov 6, 2024
15e691b
feat: remove unused formatting in yq
vigneshk-tw Nov 6, 2024
e3f4d1b
feat: use pretty print for proper formatting
vigneshk-tw Nov 6, 2024
429bfd6
feat: removed additional tab added
vigneshk-tw Nov 6, 2024
34213f6
Merge pull request #693 from XeroAPI/fix/yq-formatting
vigneshk-tw Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--- Provide a general summary of the issue in the Title above -->

## Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->

## Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from expected behavior -->

## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->

## Steps to Reproduce (for bugs)
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.

## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

## Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
* Version used:
* Browser Name and version:
* Operating System and version (desktop or mobile):
* Link to your project:
27 changes: 27 additions & 0 deletions .github/octokit/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import {Octokit} from "@octokit/rest";
import {createAppAuth} from "@octokit/auth-app"

export const getAccessToken = async () => {

const {GITHUB_APP_ID, GITHUB_APP_PRIVATE_KEY} = process.env

const octoKitInstance = new Octokit({
authStrategy: createAppAuth,
auth: {
appId: GITHUB_APP_ID,
privateKey: GITHUB_APP_PRIVATE_KEY
}
});

const {data: installations} = await octoKitInstance.rest.apps.listInstallations()

if(!installations.length) {
throw new Error("No Installations found for this github app")
}

const installationId = installations[0].id;

const installationAccessToken = await octoKitInstance.rest.apps.createInstallationAccessToken({installation_id: installationId})

return installationAccessToken.data.token
}
16 changes: 16 additions & 0 deletions .github/octokit/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "xero-octokit",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"@octokit/auth-app": "^7.1.1",
"@octokit/rest": "^21.0.2"
}
}
16 changes: 16 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Release Notes
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Screenshots (if appropriate):

## Types of Changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
9 changes: 9 additions & 0 deletions .github/semantic-release/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "OpenAPI-release",
"private": true,
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.0",
"semantic-release": "^24.1.1"
}
}
20 changes: 20 additions & 0 deletions .github/semantic-release/release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const config = {
branches: ['master'],
tagFormat: "${version}",
plugins: [
['@semantic-release/release-notes-generator',
{
preset: 'angular',
writerOpts: {
headerPartial: '## What\'s changed',
footerPartial: '\n**Full Changelog**:https://github.com/XeroAPI/Xero-OpenAPI/compare/{{previousTag}}...{{version}}'
}
}
],
'@semantic-release/commit-analyzer',
'@semantic-release/github',
'@semantic-release/git',

]
}
module.exports = config;
35 changes: 35 additions & 0 deletions .github/workflows/OAS-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Create OAS release

on:
workflow_dispatch:

jobs:
OAS-release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write

steps:

- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Node environment
uses: actions/setup-node@v4
with:
node-version: 20

- name: install node package
run: npm i
working-directory: ${{ github.workspace }}/.github/semantic-release

- name: Perform release
run: |
npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
working-directory: ${{ github.workspace }}/.github/semantic-release
55 changes: 55 additions & 0 deletions .github/workflows/jira_create_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Create Issue In Jira

on:
issues:
types:
- opened
pull_request_target:
types:
- opened
workflow_call:

jobs:
create_jira_issue:
name: Create Jira Issue
runs-on: ubuntu-latest
permissions: write-all

steps:

- name: Checkout
uses: actions/checkout@master

- name: Login
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

# Create new ticket in Jira
- name: Create
id: create
uses: atlassian/gajira-create@v3
with:
project: PETOSS
issuetype: Story
summary: ${{ github.event.repository.name }} ${{ github.event.issue.number || github.event.pull_request.number }} ${{ github.event.issue.title || github.event.pull_request.title }}
description: ${{ github.event.issue.body || github.event.pull_request.body }}

# Add created jira id as comment in issue thread. This allows us to easily
# retrieve the id when the issue state is updated, i.e. closed
- name: Add jira ticket id as comment
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
body: ${{ steps.create.outputs.issue }}
token: ${{ secrets.GITHUB_TOKEN }}

# Add additional comment to let user know what is happening
- name: Add additional comment notifying user that a ticket has been created
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
body: Thanks for raising an issue, a ticket has been created to track your request
token: ${{ secrets.GITHUB_TOKEN }}
45 changes: 45 additions & 0 deletions .github/workflows/jira_update_issue_closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Update Issue In Jira When Issue Closed

on:
issues:
types:
- closed
pull_request_target:
types:
- closed

workflow_call:
jobs:
update_jira_status:
name: Set Jira Status To Done
runs-on: ubuntu-latest
permissions: write-all

steps:
# Look through all comments in issue and get contents of comment that
# includes text PETOSS
- name: Find Jira ticket Id in issue comments
uses: peter-evans/find-comment@v2
id: fc
with:
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
body-includes: PETOSS
comment-author: github-actions[bot]
direction: last

- name: Checkout
uses: actions/checkout@master

- name: Login
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

# Transition jira ticket identified in first step to status of done
- name: Update Jira ticket status
uses: atlassian/gajira-transition@v3
with:
issue: ${{ steps.fc.outputs.comment-body }}
transition: "Done"
45 changes: 45 additions & 0 deletions .github/workflows/jira_update_issue_reopen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Reopen Jira Ticket When Issue Reopens

on:
issues:
types:
- reopened
pull_request_target:
types:
- reopened

workflow_call:
jobs:
update_jira_status:
name: Set Jira Status To Done
runs-on: ubuntu-latest
permissions: write-all

steps:
# Look through all comments in issue and get contents of comment that
# includes text PETOSS
- name: Find Jira ticket Id in issue comments
uses: peter-evans/find-comment@v2
id: fc
with:
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
body-includes: PETOSS
comment-author: github-actions[bot]
direction: last

- name: Checkout
uses: actions/checkout@master

- name: Login
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

# Transition jira ticket identified in first step to status of backlog
- name: Update Jira ticket status
uses: atlassian/gajira-transition@v3
with:
issue: ${{ steps.fc.outputs.comment-body }}
transition: "Backlog"
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Yaml Lint
on: [push] # yamllint disable-line rule:truthy
jobs:
lintAllTheThings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: xero_accounting.yaml xero_assets.yaml xero_bankfeeds.yaml xero_files.yaml xero-app-store.yaml xero-identity.yaml xero-payroll-au.yaml xero-payroll-nz.yaml xero-payroll-uk.yaml xero-projects.yaml
config_data: |
extends: default
rules:
line-length:
level: warning
trailing-spaces:
level: warning
indentation:
level: warning
colons:
level: warning
commas:
level: warning
new-line-at-end-of-file:
level: warning
Loading