Skip to content

Commit

Permalink
fix(config): sr badge
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Feb 11, 2022
1 parent acb1a9c commit 7e4d47e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 90 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Commerce Layer JS SDK

[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
Team
​​
​​
​​
Alumni
​​
​​
​​
​​
​​
Kill all humans
A JavaScript Library wrapper that makes it quick and easy to interact with the [Commerce Layer API](https://docs.commercelayer.io/api/).

### What is Commerce Layer?
Expand Down
90 changes: 0 additions & 90 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,96 +320,6 @@ type ResourceInfo = {
export const resourceMap: { [res: string]: ResourceInfo } = {
// ##__API_RESOURCE_MAP_START__##
addresses: { name: 'address', type: 'addresses', api: 'addresses' },
adjustments: { name: 'adjustment', type: 'adjustments', api: 'adjustments' },
adyen_gateways: { name: 'adyen_gateway', type: 'adyen_gateways', api: 'adyen_gateways' },
adyen_payments: { name: 'adyen_payment', type: 'adyen_payments', api: 'adyen_payments' },
application: { name: 'application', type: 'application', api: 'application' },
attachments: { name: 'attachment', type: 'attachments', api: 'attachments' },
authorizations: { name: 'authorization', type: 'authorizations', api: 'authorizations' },
avalara_accounts: { name: 'avalara_account', type: 'avalara_accounts', api: 'avalara_accounts' },
billing_info_validation_rules: { name: 'billing_info_validation_rule', type: 'billing_info_validation_rules', api: 'billing_info_validation_rules' },
bing_geocoders: { name: 'bing_geocoder', type: 'bing_geocoders', api: 'bing_geocoders' },
braintree_gateways: { name: 'braintree_gateway', type: 'braintree_gateways', api: 'braintree_gateways' },
braintree_payments: { name: 'braintree_payment', type: 'braintree_payments', api: 'braintree_payments' },
bundles: { name: 'bundle', type: 'bundles', api: 'bundles' },
captures: { name: 'capture', type: 'captures', api: 'captures' },
carrier_accounts: { name: 'carrier_account', type: 'carrier_accounts', api: 'carrier_accounts' },
checkout_com_gateways: { name: 'checkout_com_gateway', type: 'checkout_com_gateways', api: 'checkout_com_gateways' },
checkout_com_payments: { name: 'checkout_com_payment', type: 'checkout_com_payments', api: 'checkout_com_payments' },
coupon_codes_promotion_rules: { name: 'coupon_codes_promotion_rule', type: 'coupon_codes_promotion_rules', api: 'coupon_codes_promotion_rules' },
coupons: { name: 'coupon', type: 'coupons', api: 'coupons' },
customer_addresses: { name: 'customer_address', type: 'customer_addresses', api: 'customer_addresses' },
customer_groups: { name: 'customer_group', type: 'customer_groups', api: 'customer_groups' },
customer_password_resets: { name: 'customer_password_reset', type: 'customer_password_resets', api: 'customer_password_resets' },
customer_payment_sources: { name: 'customer_payment_source', type: 'customer_payment_sources', api: 'customer_payment_sources' },
customer_subscriptions: { name: 'customer_subscription', type: 'customer_subscriptions', api: 'customer_subscriptions' },
customers: { name: 'customer', type: 'customers', api: 'customers' },
delivery_lead_times: { name: 'delivery_lead_time', type: 'delivery_lead_times', api: 'delivery_lead_times' },
external_gateways: { name: 'external_gateway', type: 'external_gateways', api: 'external_gateways' },
external_payments: { name: 'external_payment', type: 'external_payments', api: 'external_payments' },
external_promotions: { name: 'external_promotion', type: 'external_promotions', api: 'external_promotions' },
external_tax_calculators: { name: 'external_tax_calculator', type: 'external_tax_calculators', api: 'external_tax_calculators' },
fixed_amount_promotions: { name: 'fixed_amount_promotion', type: 'fixed_amount_promotions', api: 'fixed_amount_promotions' },
free_shipping_promotions: { name: 'free_shipping_promotion', type: 'free_shipping_promotions', api: 'free_shipping_promotions' },
geocoders: { name: 'geocoder', type: 'geocoders', api: 'geocoders' },
gift_card_recipients: { name: 'gift_card_recipient', type: 'gift_card_recipients', api: 'gift_card_recipients' },
gift_cards: { name: 'gift_card', type: 'gift_cards', api: 'gift_cards' },
google_geocoders: { name: 'google_geocoder', type: 'google_geocoders', api: 'google_geocoders' },
imports: { name: 'import', type: 'imports', api: 'imports' },
in_stock_subscriptions: { name: 'in_stock_subscription', type: 'in_stock_subscriptions', api: 'in_stock_subscriptions' },
inventory_models: { name: 'inventory_model', type: 'inventory_models', api: 'inventory_models' },
inventory_return_locations: { name: 'inventory_return_location', type: 'inventory_return_locations', api: 'inventory_return_locations' },
inventory_stock_locations: { name: 'inventory_stock_location', type: 'inventory_stock_locations', api: 'inventory_stock_locations' },
line_item_options: { name: 'line_item_option', type: 'line_item_options', api: 'line_item_options' },
line_items: { name: 'line_item', type: 'line_items', api: 'line_items' },
manual_gateways: { name: 'manual_gateway', type: 'manual_gateways', api: 'manual_gateways' },
manual_tax_calculators: { name: 'manual_tax_calculator', type: 'manual_tax_calculators', api: 'manual_tax_calculators' },
markets: { name: 'market', type: 'markets', api: 'markets' },
merchants: { name: 'merchant', type: 'merchants', api: 'merchants' },
order_amount_promotion_rules: { name: 'order_amount_promotion_rule', type: 'order_amount_promotion_rules', api: 'order_amount_promotion_rules' },
order_copies: { name: 'order_copy', type: 'order_copies', api: 'order_copies' },
order_subscriptions: { name: 'order_subscription', type: 'order_subscriptions', api: 'order_subscriptions' },
orders: { name: 'order', type: 'orders', api: 'orders' },
organization: { name: 'organization', type: 'organization', api: 'organization' },
packages: { name: 'package', type: 'packages', api: 'packages' },
parcel_line_items: { name: 'parcel_line_item', type: 'parcel_line_items', api: 'parcel_line_items' },
parcels: { name: 'parcel', type: 'parcels', api: 'parcels' },
payment_gateways: { name: 'payment_gateway', type: 'payment_gateways', api: 'payment_gateways' },
payment_methods: { name: 'payment_method', type: 'payment_methods', api: 'payment_methods' },
paypal_gateways: { name: 'paypal_gateway', type: 'paypal_gateways', api: 'paypal_gateways' },
paypal_payments: { name: 'paypal_payment', type: 'paypal_payments', api: 'paypal_payments' },
percentage_discount_promotions: { name: 'percentage_discount_promotion', type: 'percentage_discount_promotions', api: 'percentage_discount_promotions' },
price_lists: { name: 'price_list', type: 'price_lists', api: 'price_lists' },
prices: { name: 'price', type: 'prices', api: 'prices' },
promotion_rules: { name: 'promotion_rule', type: 'promotion_rules', api: 'promotion_rules' },
promotions: { name: 'promotion', type: 'promotions', api: 'promotions' },
refunds: { name: 'refund', type: 'refunds', api: 'refunds' },
return_line_items: { name: 'return_line_item', type: 'return_line_items', api: 'return_line_items' },
returns: { name: 'return', type: 'returns', api: 'returns' },
shipments: { name: 'shipment', type: 'shipments', api: 'shipments' },
shipping_categories: { name: 'shipping_category', type: 'shipping_categories', api: 'shipping_categories' },
shipping_methods: { name: 'shipping_method', type: 'shipping_methods', api: 'shipping_methods' },
shipping_zones: { name: 'shipping_zone', type: 'shipping_zones', api: 'shipping_zones' },
sku_list_items: { name: 'sku_list_item', type: 'sku_list_items', api: 'sku_list_items' },
sku_list_promotion_rules: { name: 'sku_list_promotion_rule', type: 'sku_list_promotion_rules', api: 'sku_list_promotion_rules' },
sku_lists: { name: 'sku_list', type: 'sku_lists', api: 'sku_lists' },
sku_options: { name: 'sku_option', type: 'sku_options', api: 'sku_options' },
skus: { name: 'sku', type: 'skus', api: 'skus' },
stock_items: { name: 'stock_item', type: 'stock_items', api: 'stock_items' },
stock_line_items: { name: 'stock_line_item', type: 'stock_line_items', api: 'stock_line_items' },
stock_locations: { name: 'stock_location', type: 'stock_locations', api: 'stock_locations' },
stock_transfers: { name: 'stock_transfer', type: 'stock_transfers', api: 'stock_transfers' },
stripe_gateways: { name: 'stripe_gateway', type: 'stripe_gateways', api: 'stripe_gateways' },
stripe_payments: { name: 'stripe_payment', type: 'stripe_payments', api: 'stripe_payments' },
tax_calculators: { name: 'tax_calculator', type: 'tax_calculators', api: 'tax_calculators' },
tax_categories: { name: 'tax_category', type: 'tax_categories', api: 'tax_categories' },
tax_rules: { name: 'tax_rule', type: 'tax_rules', api: 'tax_rules' },
taxjar_accounts: { name: 'taxjar_account', type: 'taxjar_accounts', api: 'taxjar_accounts' },
transactions: { name: 'transaction', type: 'transactions', api: 'transactions' },
voids: { name: 'void', type: 'voids', api: 'voids' },
webhooks: { name: 'webhook', type: 'webhooks', api: 'webhooks' },
wire_transfers: { name: 'wire_transfer', type: 'wire_transfers', api: 'wire_transfers' }
// ##__API_RESOURCE_MAP_STOP__##
} as const
*/

0 comments on commit 7e4d47e

Please sign in to comment.