Skip to content

Commit

Permalink
Merge branch 'milestone/v5.35.0' into sdk6
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Mar 15, 2024
2 parents f07ce22 + d3387c6 commit 42007c5
Show file tree
Hide file tree
Showing 138 changed files with 67,084 additions and 67,750 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: [ 'javascript-typescript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ typings/
.env.*
test/env/.env.*


# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
Expand Down
1,062 changes: 0 additions & 1,062 deletions CHANGELOG.md

Large diffs are not rendered by default.

133,289 changes: 66,801 additions & 66,488 deletions gen/openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gen/templates/spec.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('##__RESOURCE_CLASS__## resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"@babel/preset-env": "^7.24.0",
"@babel/preset-typescript": "^7.23.3",
"@commercelayer/eslint-config-ts": "1.3.0",
"@commercelayer/js-auth": "^4.2.2",
"@commercelayer/js-auth": "^4.3.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.0",
"@types/node": "^20.11.26",
"@types/node": "^20.11.28",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"inflector-js": "^1.0.1",
Expand All @@ -54,8 +54,8 @@
"jsonapi-typescript": "^0.1.3",
"lodash": "^4.17.21",
"minimize-js": "^1.4.0",
"semantic-release": "^23.0.2",
"tsx": "^4.7.1",
"semantic-release": "^23.0.3",
"typescript": "^5.4.2"
},
"repository": "github:commercelayer/commercelayer-sdk",
Expand Down
44 changes: 20 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion specs/resources/addresses.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ describe('Addresses resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/adjustments.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ describe('Adjustments resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/adyen_gateways.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('AdyenGateways resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/adyen_payments.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ describe('AdyenPayments resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/application.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('Applications resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/attachments.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('Attachments resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/authorizations.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('Authorizations resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/avalara_accounts.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('AvalaraAccounts resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/axerve_gateways.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ describe('AxerveGateways resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/axerve_payments.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('AxervePayments resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/billing_info_validation_rules.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ describe('BillingInfoValidationRules resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/bing_geocoders.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('BingGeocoders resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/braintree_gateways.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe('BraintreeGateways resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/braintree_payments.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ describe('BraintreePayments resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/bundles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ describe('Bundles resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/buy_x_pay_y_promotions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ describe('BuyXPayYPromotions resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/captures.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe('Captures resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/carrier_accounts.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ describe('CarrierAccounts resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/checkout_com_gateways.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ describe('CheckoutComGateways resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/checkout_com_payments.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ describe('CheckoutComPayments resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/cleanups.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ describe('Cleanups resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/coupon_codes_promotion_rules.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('CouponCodesPromotionRules resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/coupon_recipients.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ describe('CouponRecipients resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion specs/resources/coupons.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ describe('Coupons resource', () => {
},
"type": "${resourceType}",
"links": {
"self": "/api/${resourceType}/AbcdEfgHiL"
"self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL"
},
"attributes": {
"metadata": {},
Expand Down
Loading

0 comments on commit 42007c5

Please sign in to comment.