crisp-api 9.13.0 → 10.0.2

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 (116) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +2 -2
  3. package/dist/crisp.d.ts +167 -0
  4. package/dist/crisp.js +764 -0
  5. package/dist/resources/BaseResource.d.ts +15 -0
  6. package/dist/resources/BaseResource.js +20 -0
  7. package/dist/resources/BucketURL.d.ts +28 -0
  8. package/dist/resources/BucketURL.js +29 -0
  9. package/dist/resources/MediaAnimation.d.ts +14 -0
  10. package/dist/resources/MediaAnimation.js +32 -0
  11. package/dist/resources/PluginConnect.d.ts +50 -0
  12. package/dist/resources/PluginConnect.js +73 -0
  13. package/dist/resources/PluginSubscription.d.ts +103 -0
  14. package/dist/resources/PluginSubscription.js +122 -0
  15. package/dist/resources/WebsiteAnalytics.d.ts +14 -0
  16. package/dist/resources/WebsiteAnalytics.js +29 -0
  17. package/dist/resources/WebsiteAvailability.d.ts +31 -0
  18. package/dist/resources/WebsiteAvailability.js +36 -0
  19. package/dist/resources/WebsiteBase.d.ts +60 -0
  20. package/dist/resources/WebsiteBase.js +71 -0
  21. package/dist/resources/WebsiteBatch.d.ts +52 -0
  22. package/dist/resources/WebsiteBatch.js +70 -0
  23. package/dist/resources/WebsiteCampaign.d.ts +199 -0
  24. package/dist/resources/WebsiteCampaign.js +194 -0
  25. package/dist/resources/WebsiteConversation.d.ts +701 -0
  26. package/dist/resources/WebsiteConversation.js +595 -0
  27. package/dist/resources/WebsiteHelpdesk.d.ts +347 -0
  28. package/dist/resources/WebsiteHelpdesk.js +587 -0
  29. package/dist/resources/WebsiteOperator.d.ts +79 -0
  30. package/dist/resources/WebsiteOperator.js +93 -0
  31. package/dist/resources/WebsitePeople.d.ts +248 -0
  32. package/dist/resources/WebsitePeople.js +276 -0
  33. package/dist/resources/WebsiteSettings.d.ts +159 -0
  34. package/dist/resources/WebsiteSettings.js +36 -0
  35. package/dist/resources/WebsiteVerify.d.ts +38 -0
  36. package/dist/resources/WebsiteVerify.js +50 -0
  37. package/dist/resources/WebsiteVisitors.d.ts +113 -0
  38. package/dist/resources/WebsiteVisitors.js +88 -0
  39. package/dist/resources/index.d.ts +17 -0
  40. package/dist/resources/index.js +40 -0
  41. package/dist/services/bucket.d.ts +13 -0
  42. package/dist/services/bucket.js +28 -0
  43. package/dist/services/media.d.ts +13 -0
  44. package/dist/services/media.js +28 -0
  45. package/dist/services/plugin.d.ts +14 -0
  46. package/dist/services/plugin.js +30 -0
  47. package/dist/services/website.d.ts +24 -0
  48. package/dist/services/website.js +50 -0
  49. package/eslint.config.mjs +208 -0
  50. package/lib/crisp.ts +957 -0
  51. package/lib/resources/BaseResource.ts +29 -0
  52. package/lib/resources/BucketURL.ts +49 -0
  53. package/lib/resources/MediaAnimation.ts +34 -0
  54. package/lib/resources/PluginConnect.ts +128 -0
  55. package/lib/resources/PluginSubscription.ts +208 -0
  56. package/lib/resources/WebsiteAnalytics.ts +31 -0
  57. package/lib/resources/WebsiteAvailability.ts +54 -0
  58. package/lib/resources/WebsiteBase.ts +108 -0
  59. package/lib/resources/WebsiteBatch.ts +96 -0
  60. package/lib/resources/WebsiteCampaign.ts +399 -0
  61. package/lib/resources/WebsiteConversation.ts +1416 -0
  62. package/lib/resources/WebsiteHelpdesk.ts +982 -0
  63. package/lib/resources/WebsiteOperator.ts +161 -0
  64. package/lib/resources/WebsitePeople.ts +527 -0
  65. package/lib/resources/WebsiteSettings.ts +192 -0
  66. package/lib/resources/WebsiteVerify.ts +76 -0
  67. package/lib/resources/WebsiteVisitors.ts +196 -0
  68. package/lib/resources/index.ts +25 -0
  69. package/lib/services/bucket.ts +28 -0
  70. package/lib/services/media.ts +28 -0
  71. package/lib/services/plugin.ts +32 -0
  72. package/lib/services/website.ts +62 -0
  73. package/package.json +16 -11
  74. package/tsconfig.json +12 -5
  75. package/lib/crisp.js +0 -1171
  76. package/lib/resources/BucketURL.js +0 -34
  77. package/lib/resources/MediaAnimation.js +0 -41
  78. package/lib/resources/PluginConnect.js +0 -119
  79. package/lib/resources/PluginSubscription.js +0 -234
  80. package/lib/resources/WebsiteAnalytics.js +0 -37
  81. package/lib/resources/WebsiteAvailability.js +0 -48
  82. package/lib/resources/WebsiteBase.js +0 -100
  83. package/lib/resources/WebsiteBatch.js +0 -92
  84. package/lib/resources/WebsiteCampaign.js +0 -396
  85. package/lib/resources/WebsiteConversation.js +0 -1261
  86. package/lib/resources/WebsiteHelpdesk.js +0 -1198
  87. package/lib/resources/WebsiteOperator.js +0 -167
  88. package/lib/resources/WebsitePeople.js +0 -516
  89. package/lib/resources/WebsiteSettings.js +0 -50
  90. package/lib/resources/WebsiteVerify.js +0 -79
  91. package/lib/resources/WebsiteVisitors.js +0 -148
  92. package/lib/services/Bucket.js +0 -28
  93. package/lib/services/Media.js +0 -28
  94. package/lib/services/Plugin.js +0 -29
  95. package/lib/services/Website.js +0 -39
  96. package/types/crisp.d.ts +0 -151
  97. package/types/resources/BucketURL.d.ts +0 -15
  98. package/types/resources/MediaAnimation.d.ts +0 -15
  99. package/types/resources/PluginConnect.d.ts +0 -15
  100. package/types/resources/PluginSubscription.d.ts +0 -15
  101. package/types/resources/WebsiteAnalytics.d.ts +0 -15
  102. package/types/resources/WebsiteAvailability.d.ts +0 -15
  103. package/types/resources/WebsiteBase.d.ts +0 -15
  104. package/types/resources/WebsiteBatch.d.ts +0 -15
  105. package/types/resources/WebsiteCampaign.d.ts +0 -15
  106. package/types/resources/WebsiteConversation.d.ts +0 -15
  107. package/types/resources/WebsiteHelpdesk.d.ts +0 -15
  108. package/types/resources/WebsiteOperator.d.ts +0 -15
  109. package/types/resources/WebsitePeople.d.ts +0 -15
  110. package/types/resources/WebsiteSettings.d.ts +0 -15
  111. package/types/resources/WebsiteVerify.d.ts +0 -15
  112. package/types/resources/WebsiteVisitors.d.ts +0 -15
  113. package/types/services/Bucket.d.ts +0 -14
  114. package/types/services/Media.d.ts +0 -14
  115. package/types/services/Plugin.d.ts +0 -14
  116. package/types/services/Website.d.ts +0 -14
@@ -1,79 +0,0 @@
1
- /*
2
- * node-crisp-api
3
- *
4
- * Copyright 2022, Crisp IM SAS
5
- * Author: Valerian Saliou <valerian@valeriansaliou.name>
6
- */
7
-
8
-
9
- "use strict";
10
-
11
-
12
- /**
13
- * Crisp WebsiteVerify Resource
14
- * @class
15
- * @classdesc This is the Crisp Website Verify Resource
16
- */
17
- function WebsiteVerify(service, crisp) {
18
- /**
19
- * Get Verify Settings
20
- * @memberof WebsiteVerify
21
- * @public
22
- * @method getVerifySettings
23
- * @param {string} websiteID
24
- * @return {Promise}
25
- */
26
- service.getVerifySettings = function(websiteID) {
27
- return crisp.get(
28
- crisp._prepareRestUrl(["website", websiteID, "verify", "settings"])
29
- );
30
- };
31
-
32
- /**
33
- * Update Verify Settings
34
- * @memberof WebsiteVerify
35
- * @public
36
- * @method updateVerifySettings
37
- * @param {string} websiteID
38
- * @param {object} settings
39
- * @return {Promise}
40
- */
41
- service.updateVerifySettings = function(websiteID, settings) {
42
- return crisp.patch(
43
- crisp._prepareRestUrl(["website", websiteID, "verify", "settings"]),
44
-
45
- null, settings
46
- );
47
- };
48
-
49
- /**
50
- * Get Verify Key
51
- * @memberof WebsiteVerify
52
- * @public
53
- * @method getVerifyKey
54
- * @param {string} websiteID
55
- * @return {Promise}
56
- */
57
- service.getVerifyKey = function(websiteID) {
58
- return crisp.get(
59
- crisp._prepareRestUrl(["website", websiteID, "verify", "key"])
60
- );
61
- };
62
-
63
- /**
64
- * Roll Verify Key
65
- * @memberof WebsiteVerify
66
- * @public
67
- * @method rollVerifyKey
68
- * @param {string} websiteID
69
- * @return {Promise}
70
- */
71
- service.rollVerifyKey = function(websiteID) {
72
- return crisp.post(
73
- crisp._prepareRestUrl(["website", websiteID, "verify", "key"])
74
- );
75
- };
76
- }
77
-
78
-
79
- module.exports = WebsiteVerify;
@@ -1,148 +0,0 @@
1
- /*
2
- * node-crisp-api
3
- *
4
- * Copyright 2022, Crisp IM SAS
5
- * Author: Valerian Saliou <valerian@valeriansaliou.name>
6
- */
7
-
8
-
9
- "use strict";
10
-
11
-
12
- /**
13
- * Crisp WebsiteVisitors Resource
14
- * @class
15
- * @classdesc This is the Crisp Website Visitors Resource
16
- */
17
- function WebsiteVisitors(service, crisp) {
18
- /**
19
- * Count Visitors
20
- * @memberof WebsiteVisitors
21
- * @public
22
- * @method countVisitors
23
- * @param {string} websiteID
24
- * @return {Promise}
25
- */
26
- service.countVisitors = function(websiteID) {
27
- return crisp.get(
28
- crisp._prepareRestUrl(["website", websiteID, "visitors", "count"])
29
- );
30
- };
31
-
32
- /**
33
- * List Visitors
34
- * @memberof WebsiteVisitors
35
- * @public
36
- * @method listVisitors
37
- * @param {string} websiteID
38
- * @param {number} pageNumber
39
- * @return {Promise}
40
- */
41
- service.listVisitors = function(websiteID, pageNumber) {
42
- return crisp.get(
43
- crisp._prepareRestUrl([
44
- "website", websiteID, "visitors", "list", pageNumber
45
- ])
46
- );
47
- };
48
-
49
- /**
50
- * Pinpoint Visitors On A Map
51
- * @memberof WebsiteVisitors
52
- * @public
53
- * @method pinpointVisitorsOnMap
54
- * @param {string} websiteID
55
- * @param {number} [centerLongitude]
56
- * @param {number} [centerLatitude]
57
- * @param {number} [centerRadius]
58
- * @return {Promise}
59
- */
60
- service.pinpointVisitorsOnMap = function(
61
- websiteID, centerLongitude, centerLatitude, centerRadius
62
- ) {
63
- // Generate query
64
- var _query = {};
65
-
66
- if (typeof centerLongitude === "number") {
67
- _query.center_longitude = ("" + centerLongitude);
68
- }
69
- if (typeof centerLatitude === "number") {
70
- _query.center_latitude = ("" + centerLatitude);
71
- }
72
- if (typeof centerRadius === "number") {
73
- _query.center_radius = ("" + centerRadius);
74
- }
75
-
76
- return crisp.get(
77
- crisp._prepareRestUrl([
78
- "website", websiteID, "visitors", "map"
79
- ]),
80
-
81
- _query
82
- );
83
- };
84
-
85
- /**
86
- * Get Session Identifier From Token
87
- * @memberof WebsiteVisitors
88
- * @public
89
- * @method getSessionIdentifierFromToken
90
- * @param {string} websiteID
91
- * @param {string} tokenID
92
- * @return {Promise}
93
- */
94
- service.getSessionIdentifierFromToken = function(websiteID, tokenID) {
95
- return crisp.get(
96
- crisp._prepareRestUrl([
97
- "website", websiteID, "visitors", "token", tokenID
98
- ])
99
- );
100
- };
101
-
102
- /**
103
- * Count Blocked Visitors
104
- * @memberof WebsiteVisitors
105
- * @public
106
- * @method countBlockedVisitors
107
- * @param {string} websiteID
108
- * @return {Promise}
109
- */
110
- service.countBlockedVisitors = function(websiteID) {
111
- return crisp.get(
112
- crisp._prepareRestUrl(["website", websiteID, "visitors", "blocked"])
113
- );
114
- };
115
-
116
- /**
117
- * Count Blocked Visitors In Rule
118
- * @memberof WebsiteVisitors
119
- * @public
120
- * @method countBlockedVisitorsInRule
121
- * @param {string} websiteID
122
- * @param {string} rule
123
- * @return {Promise}
124
- */
125
- service.countBlockedVisitorsInRule = function(websiteID, rule) {
126
- return crisp.get(
127
- crisp._prepareRestUrl(["website", websiteID, "visitors", "blocked", rule])
128
- );
129
- };
130
-
131
- /**
132
- * Clear Blocked Visitors In Rule
133
- * @memberof WebsiteVisitors
134
- * @public
135
- * @method clearBlockedVisitorsInRule
136
- * @param {string} websiteID
137
- * @param {string} rule
138
- * @return {Promise}
139
- */
140
- service.clearBlockedVisitorsInRule = function(websiteID, rule) {
141
- return crisp.delete(
142
- crisp._prepareRestUrl(["website", websiteID, "visitors", "blocked", rule])
143
- );
144
- };
145
- }
146
-
147
-
148
- module.exports = WebsiteVisitors;
@@ -1,28 +0,0 @@
1
- /*
2
- * node-crisp-api
3
- *
4
- * Copyright 2022, Crisp IM SAS
5
- * Author: Baptiste Jamin <baptiste@crisp.chat>
6
- */
7
-
8
-
9
- "use strict";
10
-
11
-
12
- /**
13
- * Crisp Bucket Service
14
- * @class
15
- * @classdesc This is the Crisp Bucket Service
16
- */
17
- function Bucket() {
18
- /**
19
- * @private
20
- * @type {Array}
21
- */
22
- this._resources = [
23
- "BucketURL"
24
- ];
25
- }
26
-
27
-
28
- module.exports = Bucket;
@@ -1,28 +0,0 @@
1
- /*
2
- * node-crisp-api
3
- *
4
- * Copyright 2022, Crisp IM SAS
5
- * Author: Baptiste Jamin <baptiste@crisp.chat>
6
- */
7
-
8
-
9
- "use strict";
10
-
11
-
12
- /**
13
- * Crisp Media Service
14
- * @class
15
- * @classdesc This is the Crisp Media Service
16
- */
17
- function Media() {
18
- /**
19
- * @private
20
- * @type {Array}
21
- */
22
- this._resources = [
23
- "MediaAnimation"
24
- ];
25
- }
26
-
27
-
28
- module.exports = Media;
@@ -1,29 +0,0 @@
1
- /*
2
- * node-crisp-api
3
- *
4
- * Copyright 2022, Crisp IM SAS
5
- * Author: Baptiste Jamin <baptiste@crisp.chat>
6
- */
7
-
8
-
9
- "use strict";
10
-
11
-
12
- /**
13
- * Crisp Plugin Service
14
- * @class
15
- * @classdesc This is the Crisp Plugin Service
16
- */
17
- function Plugin() {
18
- /**
19
- * @private
20
- * @type {Array}
21
- */
22
- this._resources = [
23
- "PluginConnect",
24
- "PluginSubscription"
25
- ];
26
- }
27
-
28
-
29
- module.exports = Plugin;
@@ -1,39 +0,0 @@
1
- /*
2
- * node-crisp-api
3
- *
4
- * Copyright 2022, Crisp IM SAS
5
- * Author: Baptiste Jamin <baptiste@crisp.chat>
6
- */
7
-
8
-
9
- "use strict";
10
-
11
-
12
- /**
13
- * Crisp Website Service
14
- * @class
15
- * @classdesc This is the Crisp Website Service
16
- */
17
- function Website() {
18
- /**
19
- * @private
20
- * @type {Array}
21
- */
22
- this._resources = [
23
- "WebsiteBase",
24
- "WebsiteAnalytics",
25
- "WebsiteAvailability",
26
- "WebsiteBatch",
27
- "WebsiteCampaign",
28
- "WebsiteConversation",
29
- "WebsiteOperator",
30
- "WebsitePeople",
31
- "WebsiteHelpdesk",
32
- "WebsiteSettings",
33
- "WebsiteVerify",
34
- "WebsiteVisitors"
35
- ];
36
- }
37
-
38
-
39
- module.exports = Website;
package/types/crisp.d.ts DELETED
@@ -1,151 +0,0 @@
1
- export = Crisp;
2
- /**
3
- * Crisp API Library
4
- * @class
5
- * @classdesc This is the Crisp Library. Handles REST and RTM operations
6
- */
7
- declare function Crisp(): void;
8
- declare class Crisp {
9
- /**
10
- * @public
11
- * @type {*}
12
- */
13
- public bucket: any;
14
- /**
15
- * @public
16
- * @type {*}
17
- */
18
- public media: any;
19
- /**
20
- * @public
21
- * @type {*}
22
- */
23
- public plugin: any;
24
- /**
25
- * @public
26
- * @type {*}
27
- */
28
- public website: any;
29
- /**
30
- * @public
31
- * @type {object}
32
- */
33
- public auth: object;
34
- /**
35
- * @private
36
- * @type {object}
37
- */
38
- private _rest;
39
- /**
40
- * @private
41
- * @type {object}
42
- */
43
- private _rtm;
44
- /**
45
- * @private
46
- * @type {string}
47
- */
48
- private _useragent;
49
- /**
50
- * @private
51
- * @type {object}
52
- */
53
- private _emitter;
54
- /**
55
- * @private
56
- * @type {object|null}
57
- */
58
- private _socket;
59
- /**
60
- * @private
61
- * @type {object|null}
62
- */
63
- private _loopback;
64
- /**
65
- * @private
66
- * @type {number|null}
67
- */
68
- private _lastEventRebind;
69
- /**
70
- * @private
71
- * @type {object|null}
72
- */
73
- private _brokerScheduler;
74
- /**
75
- * @private
76
- * @type {Array}
77
- */
78
- private _brokerBindHooks;
79
- /**
80
- * @private
81
- * @type {object}
82
- */
83
- private _boundEvents;
84
- setRestHost: (host: string) => undefined;
85
- setRtmHost: (host: string) => undefined;
86
- setRtmMode: (mode: string) => undefined;
87
- setTier: (tier: string) => undefined;
88
- authenticate: (identifier: string, key: string) => undefined;
89
- authenticateTier: (tier: string, identifier: string, key: string) => undefined;
90
- head: (resource: string, query: object, body: object) => Promise<any>;
91
- get: (resource: string, query: object) => Promise<any>;
92
- post: (resource: string, query: object, body: object) => Promise<any>;
93
- patch: (resource: string, query: object, body: object) => Promise<any>;
94
- put: (resource: string, query: object, body: object) => Promise<any>;
95
- delete: (resource: string, query: object, body: object) => Promise<any>;
96
- on: (event: string, callback: Function) => Promise<any>;
97
- receiveHook: (body: object) => undefined;
98
- verifyHook: (secret: string, body: object, timestamp: string, signature: string) => boolean;
99
- verifyWidget: (secret: string, body: object, timestamp: string, signature: string) => boolean;
100
- rebindSocket: () => Promise<any>;
101
- _prepareRestUrl: (paths: any[]) => string;
102
- _prepareServices: () => undefined;
103
- _prepareResources: (serviceMap: object, resources: any[]) => undefined;
104
- _prepareBroker: (fnBindHook: Function) => Promise<any>;
105
- _connectLoopback: () => Promise<any>;
106
- _connectSocket: (rtmHostOverride: string) => Promise<any>;
107
- _emitAuthenticateSocket: () => undefined;
108
- _unstackBrokerBindHooks: (modeInstance: object) => undefined;
109
- _request: (resource: string, method: string, query: object, body: object, resolve: Function, reject: Function) => undefined;
110
- _readErrorResponseReason: (method: string, statusCode: number, response: object) => string;
111
- _verifySignature: (secret: string, body: object, timestamp: string, signature: string) => boolean;
112
- }
113
-
114
- declare namespace RTM_MODES {
115
- let WebSockets: string;
116
- let WebHooks: string;
117
- }
118
-
119
- declare namespace Crisp {
120
- import DEFAULT_RTM_MODE = RTM_MODES.WebSockets;
121
-
122
- export {
123
- RTM_MODES,
124
- AVAILABLE_RTM_MODES,
125
- DEFAULT_REQUEST_TIMEOUT,
126
- DEFAULT_SOCKET_TIMEOUT,
127
- DEFAULT_SOCKET_RECONNECT_DELAY,
128
- DEFAULT_SOCKET_RECONNECT_DELAY_MAX,
129
- DEFAULT_SOCKET_RECONNECT_FACTOR,
130
- DEFAULT_BROKER_SCHEDULE,
131
- DEFAULT_EVENT_REBIND_INTERVAL_MIN,
132
- DEFAULT_USERAGENT_PREFIX,
133
- DEFAULT_REST_HOST,
134
- DEFAULT_REST_BASE_PATH,
135
- DEFAULT_RTM_MODE,
136
- DEFAULT_RTM_EVENTS, Crisp
137
- };
138
- }
139
-
140
- declare var AVAILABLE_RTM_MODES: string[];
141
- declare var DEFAULT_REQUEST_TIMEOUT: number;
142
- declare var DEFAULT_SOCKET_TIMEOUT: number;
143
- declare var DEFAULT_SOCKET_RECONNECT_DELAY: number;
144
- declare var DEFAULT_SOCKET_RECONNECT_DELAY_MAX: number;
145
- declare var DEFAULT_SOCKET_RECONNECT_FACTOR: number;
146
- declare var DEFAULT_BROKER_SCHEDULE: number;
147
- declare var DEFAULT_EVENT_REBIND_INTERVAL_MIN: number;
148
- declare var DEFAULT_USERAGENT_PREFIX: string;
149
- declare var DEFAULT_REST_HOST: string;
150
- declare var DEFAULT_REST_BASE_PATH: string;
151
- declare var DEFAULT_RTM_EVENTS: string[];
@@ -1,15 +0,0 @@
1
- export = BucketURL;
2
- /**
3
- * Crisp BucketURL Resource
4
- * @class
5
- * @classdesc This is the Crisp Bucket URL Resource
6
- */
7
- declare function BucketURL(service: any, crisp: any): void;
8
- declare class BucketURL {
9
- /**
10
- * Crisp BucketURL Resource
11
- * @class
12
- * @classdesc This is the Crisp Bucket URL Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = MediaAnimation;
2
- /**
3
- * Crisp MediaAnimation Resource
4
- * @class
5
- * @classdesc This is the Crisp Media Animation Resource
6
- */
7
- declare function MediaAnimation(service: any, crisp: any): void;
8
- declare class MediaAnimation {
9
- /**
10
- * Crisp MediaAnimation Resource
11
- * @class
12
- * @classdesc This is the Crisp Media Animation Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = PluginConnect;
2
- /**
3
- * Crisp PluginConnect Resource
4
- * @class
5
- * @classdesc This is the Crisp Plugin Connect Resource
6
- */
7
- declare function PluginConnect(service: any, crisp: any): void;
8
- declare class PluginConnect {
9
- /**
10
- * Crisp PluginConnect Resource
11
- * @class
12
- * @classdesc This is the Crisp Plugin Connect Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = PluginSubscription;
2
- /**
3
- * Crisp PluginSubscription Resource
4
- * @class
5
- * @classdesc This is the Crisp Plugin Subscription Resource
6
- */
7
- declare function PluginSubscription(service: any, crisp: any): void;
8
- declare class PluginSubscription {
9
- /**
10
- * Crisp PluginSubscription Resource
11
- * @class
12
- * @classdesc This is the Crisp Plugin Subscription Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = WebsiteAnalytics;
2
- /**
3
- * Crisp WebsiteAnalytics Resource
4
- * @class
5
- * @classdesc This is the Crisp Website Analytics Resource
6
- */
7
- declare function WebsiteAnalytics(service: any, crisp: any): void;
8
- declare class WebsiteAnalytics {
9
- /**
10
- * Crisp WebsiteAnalytics Resource
11
- * @class
12
- * @classdesc This is the Crisp Website Analytics Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = WebsiteAvailability;
2
- /**
3
- * Crisp WebsiteAvailability Resource
4
- * @class
5
- * @classdesc This is the Crisp Website Availability Resource
6
- */
7
- declare function WebsiteAvailability(service: any, crisp: any): void;
8
- declare class WebsiteAvailability {
9
- /**
10
- * Crisp WebsiteAvailability Resource
11
- * @class
12
- * @classdesc This is the Crisp Website Availability Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = WebsiteBase;
2
- /**
3
- * Crisp WebsiteBase Resource
4
- * @class
5
- * @classdesc This is the Crisp Website Base Resource
6
- */
7
- declare function WebsiteBase(service: any, crisp: any): void;
8
- declare class WebsiteBase {
9
- /**
10
- * Crisp WebsiteBase Resource
11
- * @class
12
- * @classdesc This is the Crisp Website Base Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = WebsiteBatch;
2
- /**
3
- * Crisp WebsiteBatch Resource
4
- * @class
5
- * @classdesc This is the Crisp Website Batch Resource
6
- */
7
- declare function WebsiteBatch(service: any, crisp: any): void;
8
- declare class WebsiteBatch {
9
- /**
10
- * Crisp WebsiteBatch Resource
11
- * @class
12
- * @classdesc This is the Crisp Website Batch Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = WebsiteCampaign;
2
- /**
3
- * Crisp WebsiteCampaign Resource
4
- * @class
5
- * @classdesc This is the Crisp Website Campaign Resource
6
- */
7
- declare function WebsiteCampaign(service: any, crisp: any): void;
8
- declare class WebsiteCampaign {
9
- /**
10
- * Crisp WebsiteCampaign Resource
11
- * @class
12
- * @classdesc This is the Crisp Website Campaign Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = WebsiteConversation;
2
- /**
3
- * Crisp WebsiteConversation Resource
4
- * @class
5
- * @classdesc This is the Crisp Website Conversation Resource
6
- */
7
- declare function WebsiteConversation(service: any, crisp: any): void;
8
- declare class WebsiteConversation {
9
- /**
10
- * Crisp WebsiteConversation Resource
11
- * @class
12
- * @classdesc This is the Crisp Website Conversation Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }
@@ -1,15 +0,0 @@
1
- export = WebsiteHelpdesk;
2
- /**
3
- * Crisp WebsiteHelpdesk Resource
4
- * @class
5
- * @classdesc This is the Crisp Website Helpdesk Resource
6
- */
7
- declare function WebsiteHelpdesk(service: any, crisp: any): void;
8
- declare class WebsiteHelpdesk {
9
- /**
10
- * Crisp WebsiteHelpdesk Resource
11
- * @class
12
- * @classdesc This is the Crisp Website Helpdesk Resource
13
- */
14
- constructor(service: any, crisp: any);
15
- }