-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# [4.1.0](v4.0.0...v4.1.0) (2022-01-12) ### Bug Fixes * **release:** add branch sdk4 to github action ([823a351](823a351)) * **release:** add maintenance branches definition ([ed69350](ed69350)) * **release:** add package.json to github ([6dda730](6dda730)) * **release:** change branch name ([f888f65](f888f65)) * **release:** change release branches ([ee77604](ee77604)) * **release:** disable dryRun ([5d64040](5d64040)) * **release:** fix branch name ([55ce932](55ce932)) * **release:** fix github release action ([4cab8f6](4cab8f6)) * **release:** fix package version ([2dc6e03](2dc6e03)) * **release:** fix prerelease prefix ([70ff26a](70ff26a)) * **release:** fix release github action ([df9ca3e](df9ca3e)) * **release:** fix tag version ([06c78c2](06c78c2)) * **release:** semantic-release dependencies ([975e81c](975e81c)) * **release:** test prerelease ([0c724cf](0c724cf)) * **release:** test release ([89cb141](89cb141)) ### Features * **release:** test new feature ([70ac6dd](70ac6dd))
- Loading branch information
1 parent
5d64040
commit 900385f
Showing
442 changed files
with
11,140 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# [4.1.0](https://github.com/commercelayer/commercelayer-sdk/compare/v4.0.0...v4.1.0) (2022-01-12) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **release:** add branch sdk4 to github action ([823a351](https://github.com/commercelayer/commercelayer-sdk/commit/823a351eb196a75b3003092e567710ab09df70c8)) | ||
* **release:** add maintenance branches definition ([ed69350](https://github.com/commercelayer/commercelayer-sdk/commit/ed6935095c36d8012b1db4f0acbfbe26c3b87f0e)) | ||
* **release:** add package.json to github ([6dda730](https://github.com/commercelayer/commercelayer-sdk/commit/6dda730091b915ec968cc724be5fb4c0945c1674)) | ||
* **release:** change branch name ([f888f65](https://github.com/commercelayer/commercelayer-sdk/commit/f888f65809b19176b5e970c9c074e995b0faa68b)) | ||
* **release:** change release branches ([ee77604](https://github.com/commercelayer/commercelayer-sdk/commit/ee77604944235dc0d64c4cf2701f7eee9270b9c5)) | ||
* **release:** disable dryRun ([5d64040](https://github.com/commercelayer/commercelayer-sdk/commit/5d64040734aeda8890531e730b4a9e7d33ed2e79)) | ||
* **release:** fix branch name ([55ce932](https://github.com/commercelayer/commercelayer-sdk/commit/55ce93249018955252678e49d5d087da785a4706)) | ||
* **release:** fix github release action ([4cab8f6](https://github.com/commercelayer/commercelayer-sdk/commit/4cab8f65f13268bd94a2240b81953d2c4acd9020)) | ||
* **release:** fix package version ([2dc6e03](https://github.com/commercelayer/commercelayer-sdk/commit/2dc6e035312fe490481651455e13a636979689af)) | ||
* **release:** fix prerelease prefix ([70ff26a](https://github.com/commercelayer/commercelayer-sdk/commit/70ff26abb03d4366245afab729d00fe0759bae48)) | ||
* **release:** fix release github action ([df9ca3e](https://github.com/commercelayer/commercelayer-sdk/commit/df9ca3ecd167bdbf18f46fcb211e855ae52adef3)) | ||
* **release:** fix tag version ([06c78c2](https://github.com/commercelayer/commercelayer-sdk/commit/06c78c24a8ac929cc34794f09b9f8736e33b9c6d)) | ||
* **release:** semantic-release dependencies ([975e81c](https://github.com/commercelayer/commercelayer-sdk/commit/975e81cec81bb928a5f008b1e2d13f163d0a66c4)) | ||
* **release:** test prerelease ([0c724cf](https://github.com/commercelayer/commercelayer-sdk/commit/0c724cf1109b1f649c5904e50803c0a1bf3818d8)) | ||
* **release:** test release ([89cb141](https://github.com/commercelayer/commercelayer-sdk/commit/89cb14158ff27594406a01a0dffb40e5bbf85044)) | ||
|
||
|
||
### Features | ||
|
||
* **release:** test new feature ([70ac6dd](https://github.com/commercelayer/commercelayer-sdk/commit/70ac6dd47390bcdf652d88ab3a78f07fb1eb5ba8)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
/** | ||
* ©2022 Commerce Layer Inc. | ||
* OpenAPI schema, version 2.7.6 | ||
**/ | ||
export { default as Addresses } from './resources/addresses'; | ||
export { default as Adjustments } from './resources/adjustments'; | ||
export { default as AdyenGateways } from './resources/adyen_gateways'; | ||
export { default as AdyenPayments } from './resources/adyen_payments'; | ||
export { default as Applications } from './resources/application'; | ||
export { default as Attachments } from './resources/attachments'; | ||
export { default as Authorizations } from './resources/authorizations'; | ||
export { default as AvalaraAccounts } from './resources/avalara_accounts'; | ||
export { default as BillingInfoValidationRules } from './resources/billing_info_validation_rules'; | ||
export { default as BingGeocoders } from './resources/bing_geocoders'; | ||
export { default as BraintreeGateways } from './resources/braintree_gateways'; | ||
export { default as BraintreePayments } from './resources/braintree_payments'; | ||
export { default as Bundles } from './resources/bundles'; | ||
export { default as Captures } from './resources/captures'; | ||
export { default as CarrierAccounts } from './resources/carrier_accounts'; | ||
export { default as CheckoutComGateways } from './resources/checkout_com_gateways'; | ||
export { default as CheckoutComPayments } from './resources/checkout_com_payments'; | ||
export { default as CouponCodesPromotionRules } from './resources/coupon_codes_promotion_rules'; | ||
export { default as CouponRecipients } from './resources/coupon_recipients'; | ||
export { default as Coupons } from './resources/coupons'; | ||
export { default as CustomerAddresses } from './resources/customer_addresses'; | ||
export { default as CustomerGroups } from './resources/customer_groups'; | ||
export { default as CustomerPasswordResets } from './resources/customer_password_resets'; | ||
export { default as CustomerPaymentSources } from './resources/customer_payment_sources'; | ||
export { default as CustomerSubscriptions } from './resources/customer_subscriptions'; | ||
export { default as Customers } from './resources/customers'; | ||
export { default as DeliveryLeadTimes } from './resources/delivery_lead_times'; | ||
export { default as EventCallbacks } from './resources/event_callbacks'; | ||
export { default as ExternalGateways } from './resources/external_gateways'; | ||
export { default as ExternalPayments } from './resources/external_payments'; | ||
export { default as ExternalPromotions } from './resources/external_promotions'; | ||
export { default as ExternalTaxCalculators } from './resources/external_tax_calculators'; | ||
export { default as FixedAmountPromotions } from './resources/fixed_amount_promotions'; | ||
export { default as FixedPricePromotions } from './resources/fixed_price_promotions'; | ||
export { default as FreeGiftPromotions } from './resources/free_gift_promotions'; | ||
export { default as FreeShippingPromotions } from './resources/free_shipping_promotions'; | ||
export { default as Geocoders } from './resources/geocoders'; | ||
export { default as GiftCardRecipients } from './resources/gift_card_recipients'; | ||
export { default as GiftCards } from './resources/gift_cards'; | ||
export { default as GoogleGeocoders } from './resources/google_geocoders'; | ||
export { default as Imports } from './resources/imports'; | ||
export { default as InStockSubscriptions } from './resources/in_stock_subscriptions'; | ||
export { default as InventoryModels } from './resources/inventory_models'; | ||
export { default as InventoryReturnLocations } from './resources/inventory_return_locations'; | ||
export { default as InventoryStockLocations } from './resources/inventory_stock_locations'; | ||
export { default as LineItemOptions } from './resources/line_item_options'; | ||
export { default as LineItems } from './resources/line_items'; | ||
export { default as ManualGateways } from './resources/manual_gateways'; | ||
export { default as ManualTaxCalculators } from './resources/manual_tax_calculators'; | ||
export { default as Markets } from './resources/markets'; | ||
export { default as Merchants } from './resources/merchants'; | ||
export { default as OrderAmountPromotionRules } from './resources/order_amount_promotion_rules'; | ||
export { default as OrderCopies } from './resources/order_copies'; | ||
export { default as OrderSubscriptions } from './resources/order_subscriptions'; | ||
export { default as OrderValidationRules } from './resources/order_validation_rules'; | ||
export { default as Orders } from './resources/orders'; | ||
export { default as Organizations } from './resources/organization'; | ||
export { default as Packages } from './resources/packages'; | ||
export { default as ParcelLineItems } from './resources/parcel_line_items'; | ||
export { default as Parcels } from './resources/parcels'; | ||
export { default as PaymentGateways } from './resources/payment_gateways'; | ||
export { default as PaymentMethods } from './resources/payment_methods'; | ||
export { default as PaypalGateways } from './resources/paypal_gateways'; | ||
export { default as PaypalPayments } from './resources/paypal_payments'; | ||
export { default as PercentageDiscountPromotions } from './resources/percentage_discount_promotions'; | ||
export { default as PriceLists } from './resources/price_lists'; | ||
export { default as Prices } from './resources/prices'; | ||
export { default as PromotionRules } from './resources/promotion_rules'; | ||
export { default as Promotions } from './resources/promotions'; | ||
export { default as Refunds } from './resources/refunds'; | ||
export { default as ReturnLineItems } from './resources/return_line_items'; | ||
export { default as Returns } from './resources/returns'; | ||
export { default as Shipments } from './resources/shipments'; | ||
export { default as ShippingCategories } from './resources/shipping_categories'; | ||
export { default as ShippingMethods } from './resources/shipping_methods'; | ||
export { default as ShippingZones } from './resources/shipping_zones'; | ||
export { default as SkuListItems } from './resources/sku_list_items'; | ||
export { default as SkuListPromotionRules } from './resources/sku_list_promotion_rules'; | ||
export { default as SkuLists } from './resources/sku_lists'; | ||
export { default as SkuOptions } from './resources/sku_options'; | ||
export { default as Skus } from './resources/skus'; | ||
export { default as StockItems } from './resources/stock_items'; | ||
export { default as StockLineItems } from './resources/stock_line_items'; | ||
export { default as StockLocations } from './resources/stock_locations'; | ||
export { default as StockTransfers } from './resources/stock_transfers'; | ||
export { default as StripeGateways } from './resources/stripe_gateways'; | ||
export { default as StripePayments } from './resources/stripe_payments'; | ||
export { default as TaxCalculators } from './resources/tax_calculators'; | ||
export { default as TaxCategories } from './resources/tax_categories'; | ||
export { default as TaxRules } from './resources/tax_rules'; | ||
export { default as TaxjarAccounts } from './resources/taxjar_accounts'; | ||
export { default as Transactions } from './resources/transactions'; | ||
export { default as Voids } from './resources/voids'; | ||
export { default as Webhooks } from './resources/webhooks'; | ||
export { default as WireTransfers } from './resources/wire_transfers'; | ||
export declare type ResourceTypeLock = 'addresses' | 'adjustments' | 'adyen_gateways' | 'adyen_payments' | 'application' | 'attachments' | 'authorizations' | 'avalara_accounts' | 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' | 'bundles' | 'captures' | 'carrier_accounts' | 'checkout_com_gateways' | 'checkout_com_payments' | 'coupon_codes_promotion_rules' | 'coupon_recipients' | 'coupons' | 'customer_addresses' | 'customer_groups' | 'customer_password_resets' | 'customer_payment_sources' | 'customer_subscriptions' | 'customers' | 'delivery_lead_times' | 'event_callbacks' | 'external_gateways' | 'external_payments' | 'external_promotions' | 'external_tax_calculators' | 'fixed_amount_promotions' | 'fixed_price_promotions' | 'free_gift_promotions' | 'free_shipping_promotions' | 'geocoders' | 'gift_card_recipients' | 'gift_cards' | 'google_geocoders' | 'imports' | 'in_stock_subscriptions' | 'inventory_models' | 'inventory_return_locations' | 'inventory_stock_locations' | 'line_item_options' | 'line_items' | 'manual_gateways' | 'manual_tax_calculators' | 'markets' | 'merchants' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscriptions' | 'order_validation_rules' | 'orders' | 'organization' | 'packages' | 'parcel_line_items' | 'parcels' | 'payment_gateways' | 'payment_methods' | 'paypal_gateways' | 'paypal_payments' | 'percentage_discount_promotions' | 'price_lists' | 'prices' | 'promotion_rules' | 'promotions' | 'refunds' | 'return_line_items' | 'returns' | 'shipments' | 'shipping_categories' | 'shipping_methods' | 'shipping_zones' | 'sku_list_items' | 'sku_list_promotion_rules' | 'sku_lists' | 'sku_options' | 'skus' | 'stock_items' | 'stock_line_items' | 'stock_locations' | 'stock_transfers' | 'stripe_gateways' | 'stripe_payments' | 'tax_calculators' | 'tax_categories' | 'tax_rules' | 'taxjar_accounts' | 'transactions' | 'voids' | 'webhooks' | 'wire_transfers'; | ||
export declare const resourceList: readonly ["addresses", "adjustments", "adyen_gateways", "adyen_payments", "application", "attachments", "authorizations", "avalara_accounts", "billing_info_validation_rules", "bing_geocoders", "braintree_gateways", "braintree_payments", "bundles", "captures", "carrier_accounts", "checkout_com_gateways", "checkout_com_payments", "coupon_codes_promotion_rules", "coupon_recipients", "coupons", "customer_addresses", "customer_groups", "customer_password_resets", "customer_payment_sources", "customer_subscriptions", "customers", "delivery_lead_times", "event_callbacks", "external_gateways", "external_payments", "external_promotions", "external_tax_calculators", "fixed_amount_promotions", "fixed_price_promotions", "free_gift_promotions", "free_shipping_promotions", "geocoders", "gift_card_recipients", "gift_cards", "google_geocoders", "imports", "in_stock_subscriptions", "inventory_models", "inventory_return_locations", "inventory_stock_locations", "line_item_options", "line_items", "manual_gateways", "manual_tax_calculators", "markets", "merchants", "order_amount_promotion_rules", "order_copies", "order_subscriptions", "order_validation_rules", "orders", "organization", "packages", "parcel_line_items", "parcels", "payment_gateways", "payment_methods", "paypal_gateways", "paypal_payments", "percentage_discount_promotions", "price_lists", "prices", "promotion_rules", "promotions", "refunds", "return_line_items", "returns", "shipments", "shipping_categories", "shipping_methods", "shipping_zones", "sku_list_items", "sku_list_promotion_rules", "sku_lists", "sku_options", "skus", "stock_items", "stock_line_items", "stock_locations", "stock_transfers", "stripe_gateways", "stripe_payments", "tax_calculators", "tax_categories", "tax_rules", "taxjar_accounts", "transactions", "voids", "webhooks", "wire_transfers"]; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Method } from 'axios'; | ||
import type { DocWithData as JSONApiDocument, ResourceObject as JSONApiResource } from 'jsonapi-typescript'; | ||
import type { InterceptorManager } from './interceptor'; | ||
declare type RequestConfig = { | ||
timeout?: number; | ||
params?: { | ||
[key: string]: string | number | boolean; | ||
}; | ||
}; | ||
declare type ApiClientInitConfig = { | ||
organization: string; | ||
domain?: string; | ||
accessToken: string; | ||
} & RequestConfig; | ||
declare type ApiClientConfig = Partial<ApiClientInitConfig>; | ||
declare class ApiClient { | ||
#private; | ||
static create(options: ApiClientInitConfig): ApiClient; | ||
baseUrl: string; | ||
interceptors: InterceptorManager; | ||
private constructor(); | ||
config(config: ApiClientConfig): void; | ||
request(method: Method, path: string, body?: JSONApiResource, options?: ApiClientConfig): Promise<JSONApiDocument>; | ||
} | ||
export default ApiClient; | ||
export { ApiClientInitConfig, ApiClientConfig, RequestConfig }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.