ac-apps-minimal-utils-airtable

utils/airtable.js

Utilities for airtable.

Example:
app.utils.airtable.getOptions(options, prefix);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal

Install from:

https://www.npmjs.com/package/ac-apps-minimal-utils-airtable
https://github.com/animatedcreativity/ac-apps-minimal-utils-airtable

Available Methods: getOptions

getOptions

function(options, prefix) {
  var list = {};
  for (var key in options) {
    if (key.split(prefix +

ac-apps-minimal-utils-url

utils/url.js

Helps with URL functions.

Example:
app.utils.url.domain(link);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal

Install from:

https://www.npmjs.com/package/ac-apps-minimal-utils-url
https://github.com/animatedcreativity/ac-apps-minimal-utils-url

Available Methods: domain

domain

function(link) {
  return new URL(link).hostname;
}

Happy Coding!

MIT License: https://choosealicense.com/licenses/mit/

Copyright 2022 Animated Creativity

Permission …

ac-apps-minimal-api-fortnox

api/fortnox.js

Makes it easy to work with Fortnox API.

Example:
app.api.fortnox.createOrder(options, order);
app.api.fortnox.updateCustomer(options, customer);
app.api.fortnox.getCustomers(options, email);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal

Install from:

https://www.npmjs.com/package/ac-apps-minimal-api-fortnox
https://github.com/animatedcreativity/ac-apps-minimal-api-fortnox

Available Methods: createOrder, updateCustomer, createCustomer, getCustomers

createOrder

async function(options, newFnOrder) {

ac-apps-minimal-utils-relatedfields

utils/relatedFields.js

Helps to parse left to right sync related fields.

Example:
app.utils.relatedFields.parse("Model+sku,regular_price_sek+price");
Will return: { Model: 'sku', regular_price_sek: 'price' }

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal

Install from:

https://www.npmjs.com/package/ac-apps-minimal-utils-relatedfields
https://github.com/animatedcreativity/ac-apps-minimal-utils-relatedfields

Available Methods: parse

parse

function(str) {
  if

ac-apps-minimal-utils-object

utils/object.js

Helps to work with JS objects. Like finding existing items, whether an item has been changed, or converting item keys to propercase.

Example:
app.utils.object.keyProperCase(object);
app.utils.object.changed(leftObject, rightObject, arrayOfKeysToMatch);
app.utils.object.exists(object, key, value);

A module for ac-bundle-app, published by ac-bundle-module.

Install from:…

ac-apps-minimal-api-woo

api/woo.js

Makes it easy to work with the WooCommerce API and perform tasks such as fetching and updating products. Fetches all records/products if page number not provided.

Example:
app.api.woo.getProducts(options);
app.api.woo.updateProduct(options, product);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal…

ac-apps-minimal-api-airtable

api/airtable.js

Makes it easy to work with the Airtable API and perform tasks such as fetching and updating records. Fetches all records if page number not provided.

Example:
app.api.woo.getProducts(options);
app.api.woo.updateProduct(options, product);

A module for ac-bundle-app, published by ac-bundle-module.

Install from:…