wallet 2.40.0 → 2.42.0

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.
Files changed (58) hide show
  1. package/dist/api/billingPaymentsApi.d.ts +10 -0
  2. package/dist/api/billingPaymentsApi.js +61 -0
  3. package/dist/api/billingPaymentsApi.js.map +1 -1
  4. package/dist/api/employeesApi.d.ts +9 -0
  5. package/dist/api/employeesApi.js +61 -0
  6. package/dist/api/employeesApi.js.map +1 -1
  7. package/dist/api/industriesApi.d.ts +2 -2
  8. package/dist/api/industriesApi.js +1 -1
  9. package/dist/api/industriesApi.js.map +1 -1
  10. package/dist/api/interactionsApi.d.ts +19 -0
  11. package/dist/api/interactionsApi.js +128 -0
  12. package/dist/api/interactionsApi.js.map +1 -1
  13. package/dist/model/employee.d.ts +2 -0
  14. package/dist/model/employee.js +5 -0
  15. package/dist/model/employee.js.map +1 -1
  16. package/dist/model/employeeChromeTheme.d.ts +13 -0
  17. package/dist/model/employeeChromeTheme.js +12 -0
  18. package/dist/model/employeeChromeTheme.js.map +1 -0
  19. package/dist/model/fetchIndustry200Response.d.ts +6 -6
  20. package/dist/model/fetchIndustry200Response.js +10 -5
  21. package/dist/model/fetchIndustry200Response.js.map +1 -1
  22. package/dist/model/fetchIndustry200ResponseAnyOf.d.ts +19 -0
  23. package/dist/model/fetchIndustry200ResponseAnyOf.js +38 -0
  24. package/dist/model/fetchIndustry200ResponseAnyOf.js.map +1 -0
  25. package/dist/model/fetchIndustry200ResponseAnyOf1.d.ts +14 -0
  26. package/dist/model/fetchIndustry200ResponseAnyOf1.js +18 -0
  27. package/dist/model/fetchIndustry200ResponseAnyOf1.js.map +1 -0
  28. package/dist/model/merchant.d.ts +1 -0
  29. package/dist/model/merchant.js +5 -0
  30. package/dist/model/merchant.js.map +1 -1
  31. package/dist/model/models.d.ts +10 -0
  32. package/dist/model/models.js +31 -0
  33. package/dist/model/models.js.map +1 -1
  34. package/dist/model/updateChromeThemePreferenceRequest.d.ts +15 -0
  35. package/dist/model/updateChromeThemePreferenceRequest.js +18 -0
  36. package/dist/model/updateChromeThemePreferenceRequest.js.map +1 -0
  37. package/dist/model/updateChromeThemePreferenceRequestChromeTheme.d.ts +13 -0
  38. package/dist/model/updateChromeThemePreferenceRequestChromeTheme.js +12 -0
  39. package/dist/model/updateChromeThemePreferenceRequestChromeTheme.js.map +1 -0
  40. package/dist/model/wTBillingSetIndustry.d.ts +10 -0
  41. package/dist/model/wTBillingSetIndustry.js +18 -0
  42. package/dist/model/wTBillingSetIndustry.js.map +1 -0
  43. package/dist/model/wTEmployee.d.ts +2 -0
  44. package/dist/model/wTEmployee.js +5 -0
  45. package/dist/model/wTEmployee.js.map +1 -1
  46. package/dist/model/wTGuestAmountBreakdown.d.ts +12 -0
  47. package/dist/model/wTGuestAmountBreakdown.js +28 -0
  48. package/dist/model/wTGuestAmountBreakdown.js.map +1 -0
  49. package/dist/model/wTGuestCreatePaymentIntentRequest.d.ts +12 -0
  50. package/dist/model/wTGuestCreatePaymentIntentRequest.js +28 -0
  51. package/dist/model/wTGuestCreatePaymentIntentRequest.js.map +1 -0
  52. package/dist/model/wTGuestCreatePaymentIntentResponse.d.ts +24 -0
  53. package/dist/model/wTGuestCreatePaymentIntentResponse.js +64 -0
  54. package/dist/model/wTGuestCreatePaymentIntentResponse.js.map +1 -0
  55. package/dist/model/wTGuestOrderReceipt.d.ts +13 -0
  56. package/dist/model/wTGuestOrderReceipt.js +23 -0
  57. package/dist/model/wTGuestOrderReceipt.js.map +1 -0
  58. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ import { WTGuestAmountBreakdown } from './wTGuestAmountBreakdown';
2
+ export declare class WTGuestCreatePaymentIntentResponse extends null<String, any> {
3
+ 'orderID': any | null;
4
+ 'reservationID': any | null;
5
+ 'chargeModel': WTGuestCreatePaymentIntentResponse.ChargeModelEnum;
6
+ 'currency': any | null;
7
+ 'clientSecret': any | null;
8
+ 'paymentIntentID': any | null;
9
+ 'connectedAccountId': any | null;
10
+ 'publishableKey': any | null;
11
+ 'amountBreakdown': WTGuestAmountBreakdown;
12
+ static discriminator: string | undefined;
13
+ static attributeTypeMap: Array<{
14
+ name: string;
15
+ baseName: string;
16
+ type: string;
17
+ }>;
18
+ static getAttributeTypeMap(): any;
19
+ }
20
+ export declare namespace WTGuestCreatePaymentIntentResponse {
21
+ enum ChargeModelEnum {
22
+ Direct
23
+ }
24
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WTGuestCreatePaymentIntentResponse = void 0;
4
+ class WTGuestCreatePaymentIntentResponse extends null {
5
+ static getAttributeTypeMap() {
6
+ return super.getAttributeTypeMap().concat(WTGuestCreatePaymentIntentResponse.attributeTypeMap);
7
+ }
8
+ }
9
+ exports.WTGuestCreatePaymentIntentResponse = WTGuestCreatePaymentIntentResponse;
10
+ WTGuestCreatePaymentIntentResponse.discriminator = undefined;
11
+ WTGuestCreatePaymentIntentResponse.attributeTypeMap = [
12
+ {
13
+ "name": "orderID",
14
+ "baseName": "orderID",
15
+ "type": "any"
16
+ },
17
+ {
18
+ "name": "reservationID",
19
+ "baseName": "reservationID",
20
+ "type": "any"
21
+ },
22
+ {
23
+ "name": "chargeModel",
24
+ "baseName": "chargeModel",
25
+ "type": "WTGuestCreatePaymentIntentResponse.ChargeModelEnum"
26
+ },
27
+ {
28
+ "name": "currency",
29
+ "baseName": "currency",
30
+ "type": "any"
31
+ },
32
+ {
33
+ "name": "clientSecret",
34
+ "baseName": "clientSecret",
35
+ "type": "any"
36
+ },
37
+ {
38
+ "name": "paymentIntentID",
39
+ "baseName": "paymentIntentID",
40
+ "type": "any"
41
+ },
42
+ {
43
+ "name": "connectedAccountId",
44
+ "baseName": "connectedAccountId",
45
+ "type": "any"
46
+ },
47
+ {
48
+ "name": "publishableKey",
49
+ "baseName": "publishableKey",
50
+ "type": "any"
51
+ },
52
+ {
53
+ "name": "amountBreakdown",
54
+ "baseName": "amountBreakdown",
55
+ "type": "WTGuestAmountBreakdown"
56
+ }
57
+ ];
58
+ (function (WTGuestCreatePaymentIntentResponse) {
59
+ let ChargeModelEnum;
60
+ (function (ChargeModelEnum) {
61
+ ChargeModelEnum[ChargeModelEnum["Direct"] = 'direct'] = "Direct";
62
+ })(ChargeModelEnum = WTGuestCreatePaymentIntentResponse.ChargeModelEnum || (WTGuestCreatePaymentIntentResponse.ChargeModelEnum = {}));
63
+ })(WTGuestCreatePaymentIntentResponse = exports.WTGuestCreatePaymentIntentResponse || (exports.WTGuestCreatePaymentIntentResponse = {}));
64
+ //# sourceMappingURL=wTGuestCreatePaymentIntentResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wTGuestCreatePaymentIntentResponse.js","sourceRoot":"","sources":["../../model/wTGuestCreatePaymentIntentResponse.ts"],"names":[],"mappings":";;;AAeA,MAAa,kCAAmC,SAAQ,IAAiB;IA4DrE,MAAM,CAAC,mBAAmB;QACtB,OAAO,KAAK,CAAC,mBAAmB,EAAE,CAAC,MAAM,CAAC,kCAAkC,CAAC,gBAAgB,CAAC,CAAC;IACnG,CAAC;;AA9DL,gFA+DC;AApDU,gDAAa,GAAuB,SAAS,CAAC;AAE9C,mDAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,KAAK;KAChB;IACD;QACI,MAAM,EAAE,eAAe;QACvB,UAAU,EAAE,eAAe;QAC3B,MAAM,EAAE,KAAK;KAChB;IACD;QACI,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,oDAAoD;KAC/D;IACD;QACI,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,UAAU;QACtB,MAAM,EAAE,KAAK;KAChB;IACD;QACI,MAAM,EAAE,cAAc;QACtB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,KAAK;KAChB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,KAAK;KAChB;IACD;QACI,MAAM,EAAE,oBAAoB;QAC5B,UAAU,EAAE,oBAAoB;QAChC,MAAM,EAAE,KAAK;KAChB;IACD;QACI,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,KAAK;KAChB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,wBAAwB;KACnC;CAAK,CAAC;AAOf,WAAiB,kCAAkC;IAC/C,IAAY,eAEX;IAFD,WAAY,eAAe;QACvB,4CAAe,QAAQ,YAAA,CAAA;IAC3B,CAAC,EAFW,eAAe,GAAf,kDAAe,KAAf,kDAAe,QAE1B;AACL,CAAC,EAJgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAIlD"}
@@ -0,0 +1,13 @@
1
+ import { WTGuestAmountBreakdown } from './wTGuestAmountBreakdown';
2
+ import { WTOrder } from './wTOrder';
3
+ export declare class WTGuestOrderReceipt extends null<String, any> {
4
+ 'order': WTOrder;
5
+ 'amountBreakdown': WTGuestAmountBreakdown;
6
+ static discriminator: string | undefined;
7
+ static attributeTypeMap: Array<{
8
+ name: string;
9
+ baseName: string;
10
+ type: string;
11
+ }>;
12
+ static getAttributeTypeMap(): any;
13
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WTGuestOrderReceipt = void 0;
4
+ class WTGuestOrderReceipt extends null {
5
+ static getAttributeTypeMap() {
6
+ return super.getAttributeTypeMap().concat(WTGuestOrderReceipt.attributeTypeMap);
7
+ }
8
+ }
9
+ exports.WTGuestOrderReceipt = WTGuestOrderReceipt;
10
+ WTGuestOrderReceipt.discriminator = undefined;
11
+ WTGuestOrderReceipt.attributeTypeMap = [
12
+ {
13
+ "name": "order",
14
+ "baseName": "order",
15
+ "type": "WTOrder"
16
+ },
17
+ {
18
+ "name": "amountBreakdown",
19
+ "baseName": "amountBreakdown",
20
+ "type": "WTGuestAmountBreakdown"
21
+ }
22
+ ];
23
+ //# sourceMappingURL=wTGuestOrderReceipt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wTGuestOrderReceipt.js","sourceRoot":"","sources":["../../model/wTGuestOrderReceipt.ts"],"names":[],"mappings":";;;AAgBA,MAAa,mBAAoB,SAAQ,IAAiB;IAkBtD,MAAM,CAAC,mBAAmB;QACtB,OAAO,KAAK,CAAC,mBAAmB,EAAE,CAAC,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IACpF,CAAC;;AApBL,kDAqBC;AAjBU,iCAAa,GAAuB,SAAS,CAAC;AAE9C,oCAAgB,GAA0D;IAC7E;QACI,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,OAAO;QACnB,MAAM,EAAE,SAAS;KACpB;IACD;QACI,MAAM,EAAE,iBAAiB;QACzB,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,wBAAwB;KACnC;CAAK,CAAC"}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "wallet", "version": "2.40.0", "description": "Official server-side TypeScript / Node.js SDK for the Wallet Inc CRM & Digital Payments platform.", "repository": {"type": "git", "url": "https://github.com/WalletInc/sdk-ts.git"}, "main": "dist/api.js", "types": "dist/api.d.ts", "scripts": {"clean": "rm -Rf node_modules/ *.js", "build": "tsc", "test": "npm run build && node dist/client.js"}, "author": "Wallet Inc Development Team", "license": "Apache-2.0", "dependencies": {"bluebird": "^3.5.0", "request": "^2.81.0", "rewire": "^3.0.2"}, "devDependencies": {"@types/bluebird": "^3.5.33", "@types/node": "^12", "@types/request": "^2.48.8", "typescript": "^4.0"}, "publishConfig": {"registry": "https://registry.npmjs.org"}, "homepage": "https://wallet.dev", "bugs": {"url": "https://github.com/WalletInc/sdk-ts/issues"}, "files": ["dist", "LICENSE", "NOTICE", "README.md"], "keywords": ["wallet", "wallet-inc", "sdk", "api", "crm", "payments", "rewards", "vouchers", "loyalty", "membership", "sms"]}
1
+ {"name": "wallet", "version": "2.42.0", "description": "Official server-side TypeScript / Node.js SDK for the Wallet Inc CRM & Digital Payments platform.", "repository": {"type": "git", "url": "https://github.com/WalletInc/sdk-ts.git"}, "main": "dist/api.js", "types": "dist/api.d.ts", "scripts": {"clean": "rm -Rf node_modules/ *.js", "build": "tsc", "test": "npm run build && node dist/client.js"}, "author": "Wallet Inc Development Team", "license": "Apache-2.0", "dependencies": {"bluebird": "^3.5.0", "request": "^2.81.0", "rewire": "^3.0.2"}, "devDependencies": {"@types/bluebird": "^3.5.33", "@types/node": "^12", "@types/request": "^2.48.8", "typescript": "^4.0"}, "publishConfig": {"registry": "https://registry.npmjs.org"}, "homepage": "https://wallet.dev", "bugs": {"url": "https://github.com/WalletInc/sdk-ts/issues"}, "files": ["dist", "LICENSE", "NOTICE", "README.md"], "keywords": ["wallet", "wallet-inc", "sdk", "api", "crm", "payments", "rewards", "vouchers", "loyalty", "membership", "sms"]}