@cloudcommerce/types 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +1 -0
- package/modules/@checkout:params.d.ts +1 -5
- package/modules/apply_discount:params.d.ts +1 -1
- package/modules/apply_discount:response.d.ts +1 -1
- package/modules/calculate_shipping:params.d.ts +1 -1
- package/modules/calculate_shipping:response.d.ts +1 -1
- package/modules/create_transaction:params.d.ts +6 -2
- package/modules/create_transaction:response.d.ts +1 -1
- package/modules/list_payments:params.d.ts +1 -1
- package/modules/list_payments:response.d.ts +1 -1
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* eslint-disable */
|
|
2
2
|
/**
|
|
3
3
|
* This file was automatically generated by json-schema-to-typescript.
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
@@ -239,10 +239,6 @@ export interface CheckoutBody {
|
|
|
239
239
|
* Code to identify the affiliate that referred the customer
|
|
240
240
|
*/
|
|
241
241
|
affiliate_code?: string;
|
|
242
|
-
/**
|
|
243
|
-
* IP address of the browser used by the customer when placing the order
|
|
244
|
-
*/
|
|
245
|
-
browser_ip?: string;
|
|
246
242
|
/**
|
|
247
243
|
* Channel unique identificator
|
|
248
244
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* eslint-disable */
|
|
2
2
|
/**
|
|
3
3
|
* This file was automatically generated by json-schema-to-typescript.
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
@@ -347,7 +347,11 @@ export interface CreateTransactionParams {
|
|
|
347
347
|
/**
|
|
348
348
|
* IP address of the browser used by the customer when placing the order
|
|
349
349
|
*/
|
|
350
|
-
|
|
350
|
+
client_ip?: string;
|
|
351
|
+
/**
|
|
352
|
+
* User-Agent of the browser (if any) used by the customer
|
|
353
|
+
*/
|
|
354
|
+
client_user_agent?: string;
|
|
351
355
|
/**
|
|
352
356
|
* Channel unique identificator
|
|
353
357
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce reusable type definitions",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/types#readme",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@cloudcommerce/api": "0.
|
|
19
|
+
"@cloudcommerce/api": "0.4.1"
|
|
20
20
|
}
|
|
21
21
|
}
|