Socket
Socket
Sign inDemoInstall

@cloudcommerce/api

Package Overview
Dependencies
Maintainers
1
Versions
404
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudcommerce/api - npm Package Compare versions

Comparing version 0.0.50 to 0.0.51

72

lib/types/applications.d.ts

@@ -49,9 +49,7 @@ /* tslint:disable */

modules?: {
term_searched?: Module;
cart_confirmed?: Module1;
calculate_shipping?: Module2;
list_payments?: Module3;
apply_discount?: Module4;
create_transaction?: Module5;
checkout_done?: Module6;
calculate_shipping?: Module;
list_payments?: Module1;
apply_discount?: Module2;
create_transaction?: Module3;
checkout_done?: Module4;
};

@@ -82,26 +80,2 @@ /**

/**
* Link to client side script (JS) to load on storefront
*/
storefront_script_uri?: string;
/**
* Endpoint that receives POST back with authentication credentials, must be HTTPS
*/
auth_callback_uri?: string;
/**
* If this app uses authentication, list the needed permissions
*/
auth_scope?: {
/**
* Special scope to read authentications
*/
authentications?: 'GET'[];
/**
* Requested resource, cannot be 'applications', 'authentications' or '$update' here
*
* This interface was referenced by `undefined`'s JSON-Schema definition
* via the `patternProperty` "^([$]?(?!app|aut|upd)([a-z][a-z0-9/_]{1,60}[^/]))$".
*/
[k: string]: ('all' | 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE')[];
};
/**
* Application object data, schema free

@@ -130,3 +104,3 @@ */

/**
* Triggered after each term searched on storefront
* Triggered to calculate shipping options, must return calculated values and times
*/

@@ -144,3 +118,3 @@ export interface Module {

/**
* Triggered after each cart saves on storefront, just before checkout
* Triggered when listing payments, must return available methods
*/

@@ -158,3 +132,3 @@ export interface Module1 {

/**
* Triggered to calculate shipping options, must return calculated values and times
* Triggered to validate and apply discout value, must return discount and conditions
*/

@@ -172,3 +146,3 @@ export interface Module2 {

/**
* Triggered when listing payments, must return available methods
* Triggered when order is being closed, must create payment transaction and return info
*/

@@ -186,3 +160,3 @@ export interface Module3 {

/**
* Triggered to validate and apply discout value, must return discount and conditions
* Triggered after each order created from storefront, could return custom fields
*/

@@ -199,27 +173,1 @@ export interface Module4 {

}
/**
* Triggered when order is being closed, must create payment transaction and return info
*/
export interface Module5 {
/**
* Whether current app is enabled to handle the module requests
*/
enabled: boolean;
/**
* URL to receive POST request of respective module
*/
endpoint: string;
}
/**
* Triggered after each order created from storefront, could return custom fields
*/
export interface Module6 {
/**
* Whether current app is enabled to handle the module requests
*/
enabled: boolean;
/**
* URL to receive POST request of respective module
*/
endpoint: string;
}

2

package.json
{
"name": "@cloudcommerce/api",
"type": "module",
"version": "0.0.50",
"version": "0.0.51",
"description": "E-Com Plus Cloud Commerce APIs client/adapter",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -49,9 +49,7 @@ /* tslint:disable */

modules?: {
term_searched?: Module;
cart_confirmed?: Module1;
calculate_shipping?: Module2;
list_payments?: Module3;
apply_discount?: Module4;
create_transaction?: Module5;
checkout_done?: Module6;
calculate_shipping?: Module;
list_payments?: Module1;
apply_discount?: Module2;
create_transaction?: Module3;
checkout_done?: Module4;
};

@@ -82,26 +80,2 @@ /**

/**
* Link to client side script (JS) to load on storefront
*/
storefront_script_uri?: string;
/**
* Endpoint that receives POST back with authentication credentials, must be HTTPS
*/
auth_callback_uri?: string;
/**
* If this app uses authentication, list the needed permissions
*/
auth_scope?: {
/**
* Special scope to read authentications
*/
authentications?: 'GET'[];
/**
* Requested resource, cannot be 'applications', 'authentications' or '$update' here
*
* This interface was referenced by `undefined`'s JSON-Schema definition
* via the `patternProperty` "^([$]?(?!app|aut|upd)([a-z][a-z0-9/_]{1,60}[^/]))$".
*/
[k: string]: ('all' | 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE')[];
};
/**
* Application object data, schema free

@@ -130,3 +104,3 @@ */

/**
* Triggered after each term searched on storefront
* Triggered to calculate shipping options, must return calculated values and times
*/

@@ -144,3 +118,3 @@ export interface Module {

/**
* Triggered after each cart saves on storefront, just before checkout
* Triggered when listing payments, must return available methods
*/

@@ -158,3 +132,3 @@ export interface Module1 {

/**
* Triggered to calculate shipping options, must return calculated values and times
* Triggered to validate and apply discout value, must return discount and conditions
*/

@@ -172,3 +146,3 @@ export interface Module2 {

/**
* Triggered when listing payments, must return available methods
* Triggered when order is being closed, must create payment transaction and return info
*/

@@ -186,3 +160,3 @@ export interface Module3 {

/**
* Triggered to validate and apply discout value, must return discount and conditions
* Triggered after each order created from storefront, could return custom fields
*/

@@ -199,27 +173,1 @@ export interface Module4 {

}
/**
* Triggered when order is being closed, must create payment transaction and return info
*/
export interface Module5 {
/**
* Whether current app is enabled to handle the module requests
*/
enabled: boolean;
/**
* URL to receive POST request of respective module
*/
endpoint: string;
}
/**
* Triggered after each order created from storefront, could return custom fields
*/
export interface Module6 {
/**
* Whether current app is enabled to handle the module requests
*/
enabled: boolean;
/**
* URL to receive POST request of respective module
*/
endpoint: string;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc