@giosg/types 6.7.0 → 7.1.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 (228) hide show
  1. package/lib/GiosgTCApi.d.ts +7 -2
  2. package/lib/GiosgTCApi.d.ts.map +1 -1
  3. package/lib/GiosgTCApi.js +5 -0
  4. package/lib/cjs/GiosgTCApi.d.ts +118 -0
  5. package/lib/cjs/GiosgTCApi.d.ts.map +1 -0
  6. package/lib/cjs/GiosgTCApi.js +25 -0
  7. package/lib/cjs/actions.d.ts +72 -0
  8. package/lib/cjs/actions.d.ts.map +1 -0
  9. package/lib/cjs/actions.js +63 -0
  10. package/lib/cjs/apps.d.ts +99 -0
  11. package/lib/cjs/apps.d.ts.map +1 -0
  12. package/lib/cjs/apps.js +2 -0
  13. package/lib/cjs/assets.d.ts +144 -0
  14. package/lib/cjs/assets.d.ts.map +1 -0
  15. package/lib/cjs/assets.js +2 -0
  16. package/lib/cjs/brands.d.ts +41 -0
  17. package/lib/cjs/brands.d.ts.map +1 -0
  18. package/lib/cjs/brands.js +2 -0
  19. package/lib/cjs/call.d.ts +41 -0
  20. package/lib/cjs/call.d.ts.map +1 -0
  21. package/lib/cjs/call.js +2 -0
  22. package/lib/cjs/canned_answers.d.ts +26 -0
  23. package/lib/cjs/canned_answers.d.ts.map +1 -0
  24. package/lib/cjs/canned_answers.js +2 -0
  25. package/lib/cjs/chat.d.ts +1071 -0
  26. package/lib/cjs/chat.d.ts.map +1 -0
  27. package/lib/cjs/chat.js +2 -0
  28. package/lib/cjs/common.d.ts +7 -0
  29. package/lib/cjs/common.d.ts.map +1 -0
  30. package/lib/cjs/common.js +628 -0
  31. package/lib/cjs/conditions.d.ts +98 -0
  32. package/lib/cjs/conditions.d.ts.map +1 -0
  33. package/lib/cjs/conditions.js +80 -0
  34. package/lib/cjs/customer.d.ts +519 -0
  35. package/lib/cjs/customer.d.ts.map +1 -0
  36. package/lib/cjs/customer.js +2 -0
  37. package/lib/cjs/customership.d.ts +79 -0
  38. package/lib/cjs/customership.d.ts.map +1 -0
  39. package/lib/cjs/customership.js +2 -0
  40. package/lib/cjs/email.d.ts +47 -0
  41. package/lib/cjs/email.d.ts.map +1 -0
  42. package/lib/cjs/email.js +2 -0
  43. package/lib/cjs/experiments.d.ts +168 -0
  44. package/lib/cjs/experiments.d.ts.map +1 -0
  45. package/lib/cjs/experiments.js +2 -0
  46. package/lib/cjs/goals.d.ts +126 -0
  47. package/lib/cjs/goals.d.ts.map +1 -0
  48. package/lib/cjs/goals.js +2 -0
  49. package/lib/cjs/index.d.ts +36 -0
  50. package/lib/cjs/index.d.ts.map +1 -0
  51. package/lib/cjs/index.js +32 -0
  52. package/lib/cjs/leadforms.d.ts +30 -0
  53. package/lib/cjs/leadforms.d.ts.map +1 -0
  54. package/lib/cjs/leadforms.js +2 -0
  55. package/lib/cjs/linkpreview.d.ts +16 -0
  56. package/lib/cjs/linkpreview.d.ts.map +1 -0
  57. package/lib/cjs/linkpreview.js +2 -0
  58. package/lib/cjs/oath.d.ts +75 -0
  59. package/lib/cjs/oath.d.ts.map +1 -0
  60. package/lib/cjs/oath.js +25 -0
  61. package/lib/cjs/partnerships.d.ts +54 -0
  62. package/lib/cjs/partnerships.d.ts.map +1 -0
  63. package/lib/cjs/partnerships.js +2 -0
  64. package/lib/cjs/permissions.d.ts +26 -0
  65. package/lib/cjs/permissions.d.ts.map +1 -0
  66. package/lib/cjs/permissions.js +2 -0
  67. package/lib/cjs/public.d.ts +420 -0
  68. package/lib/cjs/public.d.ts.map +1 -0
  69. package/lib/cjs/public.js +12 -0
  70. package/lib/cjs/rooms.d.ts +205 -0
  71. package/lib/cjs/rooms.d.ts.map +1 -0
  72. package/lib/cjs/rooms.js +2 -0
  73. package/lib/cjs/routers.d.ts +76 -0
  74. package/lib/cjs/routers.d.ts.map +1 -0
  75. package/lib/cjs/routers.js +2 -0
  76. package/lib/cjs/rules.d.ts +229 -0
  77. package/lib/cjs/rules.d.ts.map +1 -0
  78. package/lib/cjs/rules.js +2 -0
  79. package/lib/cjs/sharing.d.ts +111 -0
  80. package/lib/cjs/sharing.d.ts.map +1 -0
  81. package/lib/cjs/sharing.js +2 -0
  82. package/lib/cjs/shoppingcarts.d.ts +33 -0
  83. package/lib/cjs/shoppingcarts.d.ts.map +1 -0
  84. package/lib/cjs/shoppingcarts.js +2 -0
  85. package/lib/cjs/system.d.ts +21 -0
  86. package/lib/cjs/system.d.ts.map +1 -0
  87. package/lib/cjs/system.js +2 -0
  88. package/lib/cjs/target.d.ts +105 -0
  89. package/lib/cjs/target.d.ts.map +1 -0
  90. package/lib/cjs/target.js +2 -0
  91. package/lib/cjs/teams.d.ts +78 -0
  92. package/lib/cjs/teams.d.ts.map +1 -0
  93. package/lib/cjs/teams.js +2 -0
  94. package/lib/cjs/types.d.ts +226 -0
  95. package/lib/cjs/types.d.ts.map +1 -0
  96. package/lib/cjs/types.js +29 -0
  97. package/lib/cjs/uploads.d.ts +55 -0
  98. package/lib/cjs/uploads.d.ts.map +1 -0
  99. package/lib/cjs/uploads.js +2 -0
  100. package/lib/cjs/userclients.d.ts +79 -0
  101. package/lib/cjs/userclients.d.ts.map +1 -0
  102. package/lib/cjs/userclients.js +2 -0
  103. package/lib/cjs/variables.d.ts +41 -0
  104. package/lib/cjs/variables.d.ts.map +1 -0
  105. package/lib/cjs/variables.js +2 -0
  106. package/lib/cjs/visitor.d.ts +210 -0
  107. package/lib/cjs/visitor.d.ts.map +1 -0
  108. package/lib/cjs/visitor.js +2 -0
  109. package/lib/cjs/webhooks.d.ts +61 -0
  110. package/lib/cjs/webhooks.d.ts.map +1 -0
  111. package/lib/cjs/webhooks.js +2 -0
  112. package/lib/index.d.ts +3 -3
  113. package/lib/index.d.ts.map +1 -1
  114. package/lib/index.js +1 -1
  115. package/lib/mjs/GiosgTCApi.d.ts +118 -0
  116. package/lib/mjs/GiosgTCApi.d.ts.map +1 -0
  117. package/lib/mjs/GiosgTCApi.js +22 -0
  118. package/lib/mjs/actions.d.ts +72 -0
  119. package/lib/mjs/actions.d.ts.map +1 -0
  120. package/lib/mjs/actions.js +60 -0
  121. package/lib/mjs/apps.d.ts +99 -0
  122. package/lib/mjs/apps.d.ts.map +1 -0
  123. package/lib/mjs/apps.js +0 -0
  124. package/lib/mjs/assets.d.ts +144 -0
  125. package/lib/mjs/assets.d.ts.map +1 -0
  126. package/lib/mjs/assets.js +0 -0
  127. package/lib/mjs/brands.d.ts +41 -0
  128. package/lib/mjs/brands.d.ts.map +1 -0
  129. package/lib/mjs/brands.js +0 -0
  130. package/lib/mjs/call.d.ts +41 -0
  131. package/lib/mjs/call.d.ts.map +1 -0
  132. package/lib/mjs/call.js +0 -0
  133. package/lib/mjs/canned_answers.d.ts +26 -0
  134. package/lib/mjs/canned_answers.d.ts.map +1 -0
  135. package/lib/mjs/canned_answers.js +0 -0
  136. package/lib/mjs/chat.d.ts +1071 -0
  137. package/lib/mjs/chat.d.ts.map +1 -0
  138. package/lib/mjs/chat.js +0 -0
  139. package/lib/mjs/common.d.ts +7 -0
  140. package/lib/mjs/common.d.ts.map +1 -0
  141. package/lib/mjs/common.js +625 -0
  142. package/lib/mjs/conditions.d.ts +98 -0
  143. package/lib/mjs/conditions.d.ts.map +1 -0
  144. package/lib/mjs/conditions.js +77 -0
  145. package/lib/mjs/customer.d.ts +519 -0
  146. package/lib/mjs/customer.d.ts.map +1 -0
  147. package/lib/mjs/customer.js +0 -0
  148. package/lib/mjs/customership.d.ts +79 -0
  149. package/lib/mjs/customership.d.ts.map +1 -0
  150. package/lib/mjs/customership.js +0 -0
  151. package/lib/mjs/email.d.ts +47 -0
  152. package/lib/mjs/email.d.ts.map +1 -0
  153. package/lib/mjs/email.js +0 -0
  154. package/lib/mjs/experiments.d.ts +168 -0
  155. package/lib/mjs/experiments.d.ts.map +1 -0
  156. package/lib/mjs/experiments.js +0 -0
  157. package/lib/mjs/goals.d.ts +126 -0
  158. package/lib/mjs/goals.d.ts.map +1 -0
  159. package/lib/mjs/goals.js +0 -0
  160. package/lib/mjs/index.d.ts +36 -0
  161. package/lib/mjs/index.d.ts.map +1 -0
  162. package/lib/mjs/index.js +7 -0
  163. package/lib/mjs/leadforms.d.ts +30 -0
  164. package/lib/mjs/leadforms.d.ts.map +1 -0
  165. package/lib/mjs/leadforms.js +0 -0
  166. package/lib/mjs/linkpreview.d.ts +16 -0
  167. package/lib/mjs/linkpreview.d.ts.map +1 -0
  168. package/lib/mjs/linkpreview.js +0 -0
  169. package/lib/mjs/oath.d.ts +75 -0
  170. package/lib/mjs/oath.d.ts.map +1 -0
  171. package/lib/mjs/oath.js +22 -0
  172. package/lib/mjs/partnerships.d.ts +54 -0
  173. package/lib/mjs/partnerships.d.ts.map +1 -0
  174. package/lib/mjs/partnerships.js +0 -0
  175. package/lib/mjs/permissions.d.ts +26 -0
  176. package/lib/mjs/permissions.d.ts.map +1 -0
  177. package/lib/mjs/permissions.js +0 -0
  178. package/lib/mjs/public.d.ts +420 -0
  179. package/lib/mjs/public.d.ts.map +1 -0
  180. package/lib/mjs/public.js +9 -0
  181. package/lib/mjs/rooms.d.ts +205 -0
  182. package/lib/mjs/rooms.d.ts.map +1 -0
  183. package/lib/mjs/rooms.js +0 -0
  184. package/lib/mjs/routers.d.ts +76 -0
  185. package/lib/mjs/routers.d.ts.map +1 -0
  186. package/lib/mjs/routers.js +0 -0
  187. package/lib/mjs/rules.d.ts +229 -0
  188. package/lib/mjs/rules.d.ts.map +1 -0
  189. package/lib/mjs/rules.js +0 -0
  190. package/lib/mjs/sharing.d.ts +111 -0
  191. package/lib/mjs/sharing.d.ts.map +1 -0
  192. package/lib/mjs/sharing.js +0 -0
  193. package/lib/mjs/shoppingcarts.d.ts +33 -0
  194. package/lib/mjs/shoppingcarts.d.ts.map +1 -0
  195. package/lib/mjs/shoppingcarts.js +0 -0
  196. package/lib/mjs/system.d.ts +21 -0
  197. package/lib/mjs/system.d.ts.map +1 -0
  198. package/lib/mjs/system.js +0 -0
  199. package/lib/mjs/target.d.ts +105 -0
  200. package/lib/mjs/target.d.ts.map +1 -0
  201. package/lib/mjs/target.js +0 -0
  202. package/lib/mjs/teams.d.ts +78 -0
  203. package/lib/mjs/teams.d.ts.map +1 -0
  204. package/lib/mjs/teams.js +0 -0
  205. package/lib/mjs/types.d.ts +226 -0
  206. package/lib/mjs/types.d.ts.map +1 -0
  207. package/lib/mjs/types.js +26 -0
  208. package/lib/mjs/uploads.d.ts +55 -0
  209. package/lib/mjs/uploads.d.ts.map +1 -0
  210. package/lib/mjs/uploads.js +0 -0
  211. package/lib/mjs/userclients.d.ts +79 -0
  212. package/lib/mjs/userclients.d.ts.map +1 -0
  213. package/lib/mjs/userclients.js +0 -0
  214. package/lib/mjs/variables.d.ts +41 -0
  215. package/lib/mjs/variables.d.ts.map +1 -0
  216. package/lib/mjs/variables.js +0 -0
  217. package/lib/mjs/visitor.d.ts +210 -0
  218. package/lib/mjs/visitor.d.ts.map +1 -0
  219. package/lib/mjs/visitor.js +0 -0
  220. package/lib/mjs/webhooks.d.ts +61 -0
  221. package/lib/mjs/webhooks.d.ts.map +1 -0
  222. package/lib/mjs/webhooks.js +0 -0
  223. package/lib/public.d.ts +10 -0
  224. package/lib/public.d.ts.map +1 -1
  225. package/lib/rooms.d.ts +6 -0
  226. package/lib/rooms.d.ts.map +1 -1
  227. package/package.json +12 -3
  228. package/CHANGELOG.md +0 -234
@@ -16,6 +16,10 @@ export declare enum Purpose {
16
16
  ApplyMarketResearchToGenerateAudienceInsights = 9,
17
17
  DevelopAndImproveProducts = 10
18
18
  }
19
+ export declare enum Service {
20
+ All = 0,
21
+ Chat = 1
22
+ }
19
23
  export interface TCPreferences {
20
24
  purpose: {
21
25
  consents: {
@@ -62,10 +66,11 @@ export interface ITCApi {
62
66
  */
63
67
  __notifyTCPreferenceChange(newPreference: TCPreferences): void;
64
68
  /**
69
+ * @param forService The Service which minimum required TC is requested.
65
70
  *
66
- * @returns List of purposes which are required to run all current giosg services.
71
+ * @returns List of purposes which are required to run the given giosg Service.
67
72
  */
68
- getRequiredTC(): Purpose[];
73
+ getRequiredTC(forService: Service): Purpose[];
69
74
  /**
70
75
  *
71
76
  * @returns Current visitor consent preferences.
@@ -1 +1 @@
1
- {"version":3,"file":"GiosgTCApi.d.ts","sourceRoot":"","sources":["../src/GiosgTCApi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,uBAAwB,CAAC;AACzD,oBAAY,SAAS,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAC3D,oBAAY,eAAe,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;AAE/D;;GAEG;AACH,oBAAY,OAAO;IACjB,2BAA2B,IAAI;IAC/B,cAAc,IAAI;IAClB,2BAA2B,IAAI;IAC/B,qBAAqB,IAAI;IACzB,gCAAgC,IAAI;IACpC,yBAAyB,IAAI;IAC7B,oBAAoB,IAAI;IACxB,yBAAyB,IAAI;IAC7B,6CAA6C,IAAI;IACjD,yBAAyB,KAAK;CAC/B;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE;QACP,QAAQ,EAAE;YAAE,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAC3C,mBAAmB,EAAE;YAAE,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;KACvD,CAAC;IACF,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,aAAa,IAAI,OAAO,EAAE,CAAC;IAC3B;;;OAGG;IACH,iBAAiB,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAChD;;OAEG;IACH,iBAAiB,IAAI,aAAa,CAAC;IACnC;;;OAGG;IACH,gBAAgB,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5F;;;OAGG;IACH,mBAAmB,C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KAAK,IAAI,GAAG,MAAM,GAAG,KAAK,CAAC;IAE7F;;;;OAIG;IACH,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;IAEjD;;;;OAIG;IACH,wBAAwB,CAAC,gBAAgB,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;CAChE"}
package/lib/GiosgTCApi.js CHANGED
@@ -15,3 +15,8 @@ export var Purpose;
15
15
  Purpose[Purpose["ApplyMarketResearchToGenerateAudienceInsights"] = 9] = "ApplyMarketResearchToGenerateAudienceInsights";
16
16
  Purpose[Purpose["DevelopAndImproveProducts"] = 10] = "DevelopAndImproveProducts";
17
17
  })(Purpose || (Purpose = {}));
18
+ export var Service;
19
+ (function (Service) {
20
+ Service[Service["All"] = 0] = "All";
21
+ Service[Service["Chat"] = 1] = "Chat";
22
+ })(Service || (Service = {}));
@@ -0,0 +1,118 @@
1
+ export declare const supportedEventTypes: readonly ["tcChange"];
2
+ export declare type EventType = typeof supportedEventTypes[number];
3
+ export declare type TCEventListener = (consent: TCPreferences) => void;
4
+ /**
5
+ * For further reading reagarding the different purposes https://iabeurope.eu/iab-europe-transparency-consent-framework-policies/#A_Purposes.
6
+ */
7
+ export declare enum Purpose {
8
+ AccessLocalOrSessionStorage = 1,
9
+ SelectBasicAds = 2,
10
+ CreatePersonalizedAdProfile = 3,
11
+ SelectPersonalizedAds = 4,
12
+ CreatePersonalizedContentProfile = 5,
13
+ SelectPersonalizedContent = 6,
14
+ MeasureAdPerformance = 7,
15
+ MeasureContentPerformance = 8,
16
+ ApplyMarketResearchToGenerateAudienceInsights = 9,
17
+ DevelopAndImproveProducts = 10
18
+ }
19
+ export declare enum Service {
20
+ All = 0,
21
+ Chat = 1
22
+ }
23
+ export interface TCPreferences {
24
+ purpose: {
25
+ consents: {
26
+ [purposeID: number]: boolean;
27
+ };
28
+ legitimateInterests: {
29
+ [purposeID: number]: boolean;
30
+ };
31
+ };
32
+ vendor: boolean;
33
+ }
34
+ export interface IGiosgTCApi {
35
+ /**
36
+ * Returns required purposes.
37
+ */
38
+ getRequiredTC(): Purpose[];
39
+ /**
40
+ * When a user defines their TC preferences for the site, the site calls this function to notify Giosg.
41
+ * Defaults to false.
42
+ */
43
+ setVisitorConsent(consent: TCPreferences): void;
44
+ /**
45
+ * Returns the visitorConsent value from the Giosg.
46
+ */
47
+ getVisitorConsent(): TCPreferences;
48
+ /**
49
+ * Registered callback function gets called if TC preference is changed by user interacting with Giosg products.
50
+ * Returns listener id.
51
+ */
52
+ addEventListener(eventType: EventType, cb: (consent: TCPreferences) => void): number | void;
53
+ /**
54
+ * Remove event listener for with given listenerID.
55
+ * Return boolean based on the success of removal.
56
+ */
57
+ removeEventListener(listenerID: number): boolean;
58
+ }
59
+ export interface ITCApi {
60
+ /**
61
+ * This is public only so that the this and customer facing modules can poke each
62
+ * other without hacks and hence the dunder naming.
63
+ * Saves new signal and calls all subscribers for new consent.
64
+ *
65
+ * @param newPreference New preference which all subscribers are notified with.
66
+ */
67
+ __notifyTCPreferenceChange(newPreference: TCPreferences): void;
68
+ /**
69
+ * @param forService The Service which minimum required TC is requested.
70
+ *
71
+ * @returns List of purposes which are required to run the given giosg Service.
72
+ */
73
+ getRequiredTC(forService: Service): Purpose[];
74
+ /**
75
+ *
76
+ * @returns Current visitor consent preferences.
77
+ */
78
+ getVisitorConsent(): TCPreferences;
79
+ /**
80
+ * Set given purposeIDs true in consent.
81
+ * @param purposeIDs Purposes to enable.
82
+ * @returns Returns boolean based on success.
83
+ */
84
+ enableVisitorConsent(purposeIDs: Purpose[]): boolean;
85
+ /**
86
+ *
87
+ * @returns Boolean based on is the IAB TC Framework active in site or not.
88
+ */
89
+ isTCFrameworkInUse(): boolean;
90
+ /**
91
+ * Sets the visitor consent preference to be the new provided one.
92
+ * Checks if the IAB TCF is not active and tries to set the consent.
93
+ * If IAB TCF found consents cant be modified and returns false.
94
+ * @param newPreference New visitor TC preference object.
95
+ * @returns Boolean based on was the action successful or not.
96
+ */
97
+ setVisitorConsent(newPreference: TCPreferences): boolean;
98
+ /**
99
+ * Adds a new event listener.
100
+ * @param eventType Event type to subscribe for.
101
+ * @param cb Callback to call when the event happens.
102
+ * @returns Listener ID as a string if event listener registered properly.
103
+ */
104
+ addEventListener(eventType: EventType, cb: (consent: TCPreferences) => void): string | never;
105
+ /**
106
+ * Removes event listener.
107
+ * @param listenerID Listener ID to be removed.
108
+ * @returns Boolean based on was the action successful
109
+ */
110
+ removeEventListener(listenerID: string): boolean;
111
+ /**
112
+ * Checks if visitor has given permission for given purposes.
113
+ * @param requiredPurposes List of purposes which needs to be true.
114
+ * @returns Boolean based on were all requiredPurposes set to true.
115
+ */
116
+ hasSufficientPermissions(requiredPurposes: Purpose[]): boolean;
117
+ }
118
+ //# sourceMappingURL=GiosgTCApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GiosgTCApi.d.ts","sourceRoot":"","sources":["../../src/GiosgTCApi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,uBAAwB,CAAC;AACzD,oBAAY,SAAS,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAC3D,oBAAY,eAAe,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;AAE/D;;GAEG;AACH,oBAAY,OAAO;IACjB,2BAA2B,IAAI;IAC/B,cAAc,IAAI;IAClB,2BAA2B,IAAI;IAC/B,qBAAqB,IAAI;IACzB,gCAAgC,IAAI;IACpC,yBAAyB,IAAI;IAC7B,oBAAoB,IAAI;IACxB,yBAAyB,IAAI;IAC7B,6CAA6C,IAAI;IACjD,yBAAyB,KAAK;CAC/B;AAED,oBAAY,OAAO;IACjB,GAAG,IAAA;IACH,IAAI,IAAA;CACL;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE;QACP,QAAQ,EAAE;YAAE,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;QAC3C,mBAAmB,EAAE;YAAE,CAAC,SAAS,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"use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Service = exports.Purpose = exports.supportedEventTypes = void 0;
4
+ exports.supportedEventTypes = ["tcChange"];
5
+ /**
6
+ * For further reading reagarding the different purposes https://iabeurope.eu/iab-europe-transparency-consent-framework-policies/#A_Purposes.
7
+ */
8
+ var Purpose;
9
+ (function (Purpose) {
10
+ Purpose[Purpose["AccessLocalOrSessionStorage"] = 1] = "AccessLocalOrSessionStorage";
11
+ Purpose[Purpose["SelectBasicAds"] = 2] = "SelectBasicAds";
12
+ Purpose[Purpose["CreatePersonalizedAdProfile"] = 3] = "CreatePersonalizedAdProfile";
13
+ Purpose[Purpose["SelectPersonalizedAds"] = 4] = "SelectPersonalizedAds";
14
+ Purpose[Purpose["CreatePersonalizedContentProfile"] = 5] = "CreatePersonalizedContentProfile";
15
+ Purpose[Purpose["SelectPersonalizedContent"] = 6] = "SelectPersonalizedContent";
16
+ Purpose[Purpose["MeasureAdPerformance"] = 7] = "MeasureAdPerformance";
17
+ Purpose[Purpose["MeasureContentPerformance"] = 8] = "MeasureContentPerformance";
18
+ Purpose[Purpose["ApplyMarketResearchToGenerateAudienceInsights"] = 9] = "ApplyMarketResearchToGenerateAudienceInsights";
19
+ Purpose[Purpose["DevelopAndImproveProducts"] = 10] = "DevelopAndImproveProducts";
20
+ })(Purpose = exports.Purpose || (exports.Purpose = {}));
21
+ var Service;
22
+ (function (Service) {
23
+ Service[Service["All"] = 0] = "All";
24
+ Service[Service["Chat"] = 1] = "Chat";
25
+ })(Service = exports.Service || (exports.Service = {}));
@@ -0,0 +1,72 @@
1
+ import { UserUid } from "./types";
2
+ export declare const ActionTypes: {
3
+ /** value: autosuggest message as a string, settings: ActionShowAutosuggestSettings*/
4
+ readonly SEND_AUTOSUGGEST: 1;
5
+ /** value: array of room unique identifiers, settings: none */
6
+ readonly JOIN_ROOMS: 2;
7
+ /** value: none, settings: none */
8
+ readonly NO_CHATBUTTON: 5;
9
+ /** value: none, settings: none */
10
+ readonly NO_AUTOSUGGEST: 6;
11
+ /** value: JavaScript expression as a string, settings:none */
12
+ readonly RUN_JAVASCRIPT: 7;
13
+ /** value: none, settings: none */
14
+ readonly ENABLE_CHATBUTTON: 8;
15
+ /** value: CSS selector as a string, settings: none */
16
+ readonly SHOW_ELEMENTS: 9;
17
+ /** value: CSS selector as a string, settings: none */
18
+ readonly HIDE_ELEMENTS: 10;
19
+ /** value: URL as a string, settings: none */
20
+ readonly REDIRECT: 11;
21
+ /** value: lead form unique identifier, settings: none */
22
+ readonly LOAD_LEAD_FORM: 13;
23
+ /** value: button text as a string, settings: none */
24
+ readonly CHANGE_CB_TEXT: 14;
25
+ /** value: room unique identifier, settings: none */
26
+ readonly CHANGE_CB_TARGET: 15;
27
+ /** value: language as a RFC 3066 code, settings: none */
28
+ readonly CHANGE_LANGUAGE: 16;
29
+ /** value: lead form unique identifier, settings: none */
30
+ readonly SHOW_LEAD_FORM: 17;
31
+ /** value: lead form processor unique identifier, settings: none */
32
+ readonly SET_LEAD_FORM_PROCESSOR: 18;
33
+ /** value: button unique identifier, settings: none */
34
+ readonly SHOW_BUTTON: 19;
35
+ /** value: unique identifier of the parent room of the window, settings: none */
36
+ readonly SHOW_CHAT_DIALOG: 20;
37
+ /** value: priority as an integer [1 - 10], settings: none */
38
+ readonly SET_VISITOR_PRIORITY: 21;
39
+ /** value: none , settings: none */
40
+ readonly DISABLE_CAPACITY_CHECK: 22;
41
+ /** value: CSS code as a string, settings: none */
42
+ readonly INJECT_CSS: 23;
43
+ /** value: message as a string, settings: ActionSendChatMessageSettings */
44
+ readonly SEND_SYSTEM_MESSAGE: 25;
45
+ /** value: interactionUuid, settings: none */
46
+ readonly LOAD_INTERACTION: 26;
47
+ /** value: asset unique identifier, settings: ActionSendInteractionToChatSettings */
48
+ readonly SEND_INTERACTION_TO_CHAT: 27;
49
+ };
50
+ export declare type ActionType = typeof ActionTypes[keyof typeof ActionTypes];
51
+ export declare type ActionTypeString = keyof typeof ActionTypes;
52
+ export declare const ACTION_TYPES: ("SEND_AUTOSUGGEST" | "JOIN_ROOMS" | "NO_CHATBUTTON" | "NO_AUTOSUGGEST" | "RUN_JAVASCRIPT" | "ENABLE_CHATBUTTON" | "SHOW_ELEMENTS" | "HIDE_ELEMENTS" | "REDIRECT" | "LOAD_LEAD_FORM" | "CHANGE_CB_TEXT" | "CHANGE_CB_TARGET" | "CHANGE_LANGUAGE" | "SHOW_LEAD_FORM" | "SET_LEAD_FORM_PROCESSOR" | "SHOW_BUTTON" | "SHOW_CHAT_DIALOG" | "SET_VISITOR_PRIORITY" | "DISABLE_CAPACITY_CHECK" | "INJECT_CSS" | "SEND_SYSTEM_MESSAGE" | "LOAD_INTERACTION" | "SEND_INTERACTION_TO_CHAT")[];
53
+ export interface ActionShowAutosuggestSettings {
54
+ /** Unique identifier of the user from whom the message shall be sent */
55
+ autosuggest_user_id: UserUid;
56
+ /** Delay before the chat window will be closed in seconds */
57
+ close_delay: number;
58
+ }
59
+ export interface ActionSendChatMessageSettings {
60
+ /** Name of the sender */
61
+ sender_public_name: string;
62
+ }
63
+ export interface ActionSendInteractionToChatSettings {
64
+ /** Name of the sender */
65
+ sender_public_name: string;
66
+ /** Optional message to send alongside of the interaction */
67
+ message?: string;
68
+ }
69
+ export declare type ActionSettingsType = ActionShowAutosuggestSettings | ActionSendChatMessageSettings | ActionSendInteractionToChatSettings | {};
70
+ export declare const ACTION_STYLES: readonly ["primary", "secondary", "info", "success", "warning", "danger", "link", "brand_primary", "brand_secondary"];
71
+ export declare type ActionStyle = typeof ACTION_STYLES[number];
72
+ //# sourceMappingURL=actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,eAAO,MAAM,WAAW;IACtB,qFAAqF;;IAGrF,8DAA8D;;IAG9D,kCAAkC;;IAGlC,kCAAkC;;IAGlC,8DAA8D;;IAG9D,kCAAkC;;IAGlC,sDAAsD;;IAGtD,sDAAsD;;IAGtD,6CAA6C;;IAG7C,yDAAyD;;IAGzD,qDAAqD;;IAGrD,oDAAoD;;IAGpD,yDAAyD;;IAGzD,yDAAyD;;IAGzD,mEAAmE;;IAGnE,sDAAsD;;IAGtD,gFAAgF;;IAGhF,6DAA6D;;IAG7D,mCAAmC;;IAGnC,kDAAkD;;IAGlD,0EAA0E;;IAG1E,6CAA6C;;IAG7C,oFAAoF;;CAE5E,CAAC;AACX,oBAAY,UAAU,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AACtE,oBAAY,gBAAgB,GAAG,MAAM,OAAO,WAAW,CAAC;AACxD,eAAO,MAAM,YAAY,sdAAiD,CAAC;AAE3E,MAAM,WAAW,6BAA6B;IAC5C,wEAAwE;IACxE,mBAAmB,EAAE,OAAO,CAAC;IAE7B,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,WAAW,6BAA6B;IAC5C,yBAAyB;IACzB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,mCAAmC;IAClD,yBAAyB;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oBAAY,kBAAkB,GAC1B,6BAA6B,GAC7B,6BAA6B,GAC7B,mCAAmC,GACnC,EAAE,CAAC;AAEP,eAAO,MAAM,aAAa,uHAUhB,CAAC;AACX,oBAAY,WAAW,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ACTION_STYLES = exports.ACTION_TYPES = exports.ActionTypes = void 0;
4
+ exports.ActionTypes = {
5
+ /** value: autosuggest message as a string, settings: ActionShowAutosuggestSettings*/
6
+ SEND_AUTOSUGGEST: 1,
7
+ /** value: array of room unique identifiers, settings: none */
8
+ JOIN_ROOMS: 2,
9
+ /** value: none, settings: none */
10
+ NO_CHATBUTTON: 5,
11
+ /** value: none, settings: none */
12
+ NO_AUTOSUGGEST: 6,
13
+ /** value: JavaScript expression as a string, settings:none */
14
+ RUN_JAVASCRIPT: 7,
15
+ /** value: none, settings: none */
16
+ ENABLE_CHATBUTTON: 8,
17
+ /** value: CSS selector as a string, settings: none */
18
+ SHOW_ELEMENTS: 9,
19
+ /** value: CSS selector as a string, settings: none */
20
+ HIDE_ELEMENTS: 10,
21
+ /** value: URL as a string, settings: none */
22
+ REDIRECT: 11,
23
+ /** value: lead form unique identifier, settings: none */
24
+ LOAD_LEAD_FORM: 13,
25
+ /** value: button text as a string, settings: none */
26
+ CHANGE_CB_TEXT: 14,
27
+ /** value: room unique identifier, settings: none */
28
+ CHANGE_CB_TARGET: 15,
29
+ /** value: language as a RFC 3066 code, settings: none */
30
+ CHANGE_LANGUAGE: 16,
31
+ /** value: lead form unique identifier, settings: none */
32
+ SHOW_LEAD_FORM: 17,
33
+ /** value: lead form processor unique identifier, settings: none */
34
+ SET_LEAD_FORM_PROCESSOR: 18,
35
+ /** value: button unique identifier, settings: none */
36
+ SHOW_BUTTON: 19,
37
+ /** value: unique identifier of the parent room of the window, settings: none */
38
+ SHOW_CHAT_DIALOG: 20,
39
+ /** value: priority as an integer [1 - 10], settings: none */
40
+ SET_VISITOR_PRIORITY: 21,
41
+ /** value: none , settings: none */
42
+ DISABLE_CAPACITY_CHECK: 22,
43
+ /** value: CSS code as a string, settings: none */
44
+ INJECT_CSS: 23,
45
+ /** value: message as a string, settings: ActionSendChatMessageSettings */
46
+ SEND_SYSTEM_MESSAGE: 25,
47
+ /** value: interactionUuid, settings: none */
48
+ LOAD_INTERACTION: 26,
49
+ /** value: asset unique identifier, settings: ActionSendInteractionToChatSettings */
50
+ SEND_INTERACTION_TO_CHAT: 27,
51
+ };
52
+ exports.ACTION_TYPES = Object.keys(exports.ActionTypes);
53
+ exports.ACTION_STYLES = [
54
+ "primary",
55
+ "secondary",
56
+ "info",
57
+ "success",
58
+ "warning",
59
+ "danger",
60
+ "link",
61
+ "brand_primary",
62
+ "brand_secondary",
63
+ ];
@@ -0,0 +1,99 @@
1
+ import { NestedOrganization } from "./customer";
2
+ import { NestedUser } from "./customer";
3
+ import { PublicNestedAsset } from "./assets";
4
+ import { GiosgAppUid, OrganizationUid, UserUid, AssetUid, GiosgAppInstanceUid, UserPermissionScope } from "./types";
5
+ /** TODO: Add jsdocs and check nullability of fields */
6
+ export interface GiosgAppInstance {
7
+ id: GiosgAppInstanceUid;
8
+ app_id: GiosgAppUid;
9
+ app: NestedGiosgApp;
10
+ organization_id: OrganizationUid;
11
+ organization: NestedOrganization;
12
+ created_at: string;
13
+ updated_at: string;
14
+ app_user_id: UserUid | null;
15
+ app_user: NestedUser | null;
16
+ allowed_scopes: UserPermissionScope[];
17
+ is_disabled: boolean;
18
+ }
19
+ export declare type GiosgAppTriggerCondition = "chat_start" | "chat_end" | "chat_end_with_msgs" | "chat_open" | "chat_close" | "chat_focus" | "console_load" | "setup" | "install" | "uninstall" | "manual_dialog" | "manual_nav";
20
+ /** TODO: Add jsdocs and check nullability of fields */
21
+ export interface GiosgApp {
22
+ id: GiosgAppUid;
23
+ name: string;
24
+ description: string;
25
+ icon_asset_id: AssetUid | null;
26
+ icon_asset: PublicNestedAsset | null;
27
+ owned_by_organization_id: OrganizationUid;
28
+ owned_by_organization: NestedOrganization;
29
+ secret: string;
30
+ is_available_to_anyone: boolean;
31
+ is_available_to_partners: boolean;
32
+ is_app_user_required: boolean;
33
+ app_user_default_first_name: string | null;
34
+ app_user_default_last_name: string | null;
35
+ app_user_default_alias: string | null;
36
+ terms_of_service_url: string;
37
+ privacy_policy_url: string;
38
+ trigger_url: string | null;
39
+ trigger_conditions: GiosgAppTriggerCondition[];
40
+ required_scopes: UserPermissionScope[];
41
+ allowed_redirect_uris: string[];
42
+ installation_count: number;
43
+ created_at: string;
44
+ updated_at: string;
45
+ created_by_user_id: UserUid;
46
+ created_by_user: NestedUser;
47
+ updated_by_user_id: UserUid;
48
+ updated_by_user: NestedUser;
49
+ }
50
+ /** TODO: Add jsdocs and check nullability of fields */
51
+ export interface GiosgAppPayload {
52
+ name: string;
53
+ description: string;
54
+ icon_asset_id?: AssetUid | null;
55
+ is_available_to_anyone?: boolean;
56
+ is_available_to_partners?: boolean;
57
+ is_app_user_required: boolean;
58
+ app_user_default_first_name?: string | null;
59
+ app_user_default_last_name?: string | null;
60
+ app_user_default_alias?: string | null;
61
+ terms_of_service_url: string;
62
+ privacy_policy_url: string;
63
+ trigger_url?: string | null;
64
+ trigger_conditions?: GiosgAppTriggerCondition[];
65
+ required_scopes?: UserPermissionScope[];
66
+ allowed_redirect_uris?: string[];
67
+ }
68
+ /** TODO: Add jsdocs and check nullability of fields */
69
+ export interface InstalledGiosgApp {
70
+ id: GiosgAppUid;
71
+ name: string;
72
+ description: string;
73
+ icon_asset_id: AssetUid;
74
+ icon_asset: PublicNestedAsset;
75
+ owned_by_organization_id: OrganizationUid;
76
+ owned_by_organization: NestedOrganization;
77
+ is_app_user_required: boolean;
78
+ installation_count: number;
79
+ created_at: string;
80
+ updated_at: string;
81
+ trigger_conditions: GiosgAppTriggerCondition[];
82
+ is_disabled: boolean;
83
+ }
84
+ /** TODO: Add jsdocs and check nullability of fields */
85
+ export interface NestedGiosgApp {
86
+ id: GiosgAppUid;
87
+ name: string;
88
+ description: string;
89
+ icon_asset_id: AssetUid;
90
+ icon_asset: PublicNestedAsset;
91
+ owned_by_organization_id: OrganizationUid;
92
+ owned_by_organization: NestedOrganization;
93
+ is_app_user_required: boolean;
94
+ required_scopes: UserPermissionScope[];
95
+ installation_count: number;
96
+ created_at: string;
97
+ updated_at: string;
98
+ }
99
+ //# sourceMappingURL=apps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../src/apps.ts"],"names":[],"mappings":"AAAA,OAA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C;IACxC,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;CAClC;AAED,uDAAuD;AACvD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,WAAW,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,QAAQ,CAAC;IACxB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,wBAAwB,EAAE,eAAe,CAAC;IAC1C,qBAAqB,EAAE,kBAAkB,CAAC;IAC1C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,wBAAwB,EAAE,CAAC;IAC/C,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,uDAAuD;AACvD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,WAAW,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,QAAQ,CAAC;IACxB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,wBAAwB,EAAE,eAAe,CAAC;IAC1C,qBAAqB,EAAE,kBAAkB,CAAC;IAC1C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,eAAe,EAAE,mBAAmB,EAAE,CAAC;IACvC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,144 @@
1
+ import { NestedUser } from "./customer";
2
+ import { AssetUid, OrganizationUid, UserUid, AssetType } from "./types";
3
+ export interface Asset {
4
+ /** Unique identifier of the asset */
5
+ id: AssetUid;
6
+ /** The original file name of the uploaded file */
7
+ file_name: string;
8
+ /** Content type of the uploaded file */
9
+ content_type: string | null;
10
+ /** Kind of file the asset is */
11
+ kind: AssetType | null;
12
+ /** Name of the asset */
13
+ name: string;
14
+ /** Description of the asset */
15
+ description: string | null;
16
+ /** The full URL for original, uploaded file. Use this URL to link to your asset */
17
+ url: string;
18
+ /** Unique identifier of the organization that owns the asset */
19
+ organization_id: OrganizationUid;
20
+ /** Size of the uploaded file in bytes */
21
+ size: number;
22
+ /** Character encoding for a text file */
23
+ charset: string | null;
24
+ /** Date when the asset was created */
25
+ created_at: string;
26
+ /** Date when the asset was changed for the last time */
27
+ updated_at: string;
28
+ /** Unique identifier of the user who created the asset */
29
+ created_by_user_id: UserUid;
30
+ /** Unique identifier of the user who changed the asset for the last time */
31
+ updated_by_user_id: UserUid;
32
+ /** User who created the asset */
33
+ created_by_user: NestedUser;
34
+ /** User who changed the asset for the last time */
35
+ updated_by_user: NestedUser;
36
+ /** The width of an image in pixels. Available for images only. It is null for other types of assets */
37
+ width: number | null;
38
+ /** The height of an image in pixels. Available for images only. It is null for other types of assets */
39
+ height: number | null;
40
+ }
41
+ export interface AssetPayload {
42
+ /** Name for the newly created asset. If omitted, defaults to the file name. Otherwise, it must be a non-empty string value */
43
+ name?: string;
44
+ /** Description of the asset */
45
+ description?: string | null;
46
+ /** Character encoding for a text file */
47
+ charset?: string | null;
48
+ /** The asset file to be uploaded. File name is required */
49
+ upload: File;
50
+ }
51
+ /**
52
+ * @deprecated
53
+ */
54
+ export interface AssetUpdate {
55
+ /** Unique identifier of the asset */
56
+ id: AssetUid;
57
+ /** The original file name of the uploaded file */
58
+ file_name: string;
59
+ /** Content type of the uploaded file */
60
+ content_type: string | null;
61
+ /** Kind of file the asset is */
62
+ kind: AssetType | null;
63
+ /** Name of the asset */
64
+ name: string;
65
+ /** Description of the asset */
66
+ description: string | null;
67
+ /** The full URL for original, uploaded file. Use this URL to link to your asset */
68
+ url: string;
69
+ /** Unique identifier of the organization that owns the asset */
70
+ organization_id: OrganizationUid;
71
+ /** Size of the uploaded file in bytes */
72
+ size: number;
73
+ /** Character encoding for a text file */
74
+ charset: string | null;
75
+ /** Date when the asset was created */
76
+ created_at: string;
77
+ /** Date when the asset was changed for the last time */
78
+ updated_at: string;
79
+ /** Unique identifier of the user who created the asset */
80
+ created_by_user_id: UserUid;
81
+ /** Unique identifier of the user who changed the asset for the last time */
82
+ updated_by_user_id: UserUid;
83
+ /** User who created the asset */
84
+ created_by_user: NestedUser;
85
+ /** User who changed the asset for the last time */
86
+ updated_by_user: NestedUser;
87
+ /** The width of an image in pixels. Available for images only. It is null for other types of assets */
88
+ width: number | null;
89
+ /** The height of an image in pixels. Available for images only. It is null for other types of assets */
90
+ height: number | null;
91
+ /** The asset file to be uploaded. File name is required */
92
+ upload?: File;
93
+ }
94
+ export interface AssetUpdatePayload {
95
+ /** Name of the asset */
96
+ name?: string;
97
+ /** Description of the asset */
98
+ description?: string | null;
99
+ /** Character encoding for a text file */
100
+ charset?: string | null;
101
+ /** The asset file to be uploaded. File name is required */
102
+ upload?: File;
103
+ }
104
+ export interface NestedAsset {
105
+ /** Unique identifier of the asset*/
106
+ id: AssetUid;
107
+ /** The full URL for original, uploaded file. Use this URL to link to your asset */
108
+ url: string;
109
+ /** Name of the asset */
110
+ name: string;
111
+ /** Description of the asset */
112
+ description: string | null;
113
+ /** Kind of file the asset is */
114
+ kind: AssetType | null;
115
+ /** Content type of the uploaded file */
116
+ content_type: string | null;
117
+ /** Size of the uploaded file in bytes */
118
+ size: number;
119
+ /** Character encoding for a text file */
120
+ charset: string | null;
121
+ /** The width of an image in pixels. Available for images only. It is null for other types of assets */
122
+ width: number | null;
123
+ /** The height of an image in pixels. Available for images only. It is null for other types of assets */
124
+ height: number | null;
125
+ }
126
+ export interface PublicNestedAsset {
127
+ /** Unique identifier of the asset */
128
+ id: AssetUid;
129
+ /** The full URL for original, uploaded file. Use this URL to link to your asset */
130
+ url: string;
131
+ /** Kind of file the asset is */
132
+ kind: AssetType | null;
133
+ /** Content type of the uploaded file */
134
+ content_type: string | null;
135
+ /** Size of the uploaded file in bytes */
136
+ size: number;
137
+ /** Character encoding for a text file */
138
+ charset: string | null;
139
+ /** The width of an image in pixels. Available for images only. It is null for other types of assets */
140
+ width: number | null;
141
+ /** The height of an image in pixels. Available for images only. It is null for other types of assets */
142
+ height: number | null;
143
+ }
144
+ //# sourceMappingURL=assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../src/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAExE,MAAM,WAAW,KAAK;IACpB,qCAAqC;IACrC,EAAE,EAAE,QAAQ,CAAC;IAEb,kDAAkD;IAClD,SAAS,EAAE,MAAM,CAAC;IAElB,wCAAwC;IACxC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,gCAAgC;IAChC,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;IAEvB,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;IAEb,+BAA+B;IAC/B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,mFAAmF;IACnF,GAAG,EAAE,MAAM,CAAC;IAEZ,gEAAgE;IAChE,eAAe,EAAE,eAAe,CAAC;IAEjC,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IAEb,yCAAyC;IACzC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,sCAAsC;IACtC,UAAU,EAAE,MAAM,CAAC;IAEnB,wDAAwD;IACxD,UAAU,EAAE,MAAM,CAAC;IAEnB,0DAA0D;IAC1D,kBAAkB,EAAE,OAAO,CAAC;IAE5B,4EAA4E;IAC5E,kBAAkB,EAAE,OAAO,CAAC;IAE5B,iCAAiC;IACjC,eAAe,EAAE,UAAU,CAAC;IAE5B,mDAAmD;IACnD,eAAe,EAAE,UAAU,CAAC;IA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AAyC;IACzC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB,uGAAuG;IACvG,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,wGAAwG;IACxG,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,41 @@
1
+ import { NestedAsset } from "./assets";
2
+ import { NestedOrganization } from "./customer";
3
+ import { NestedUser } from "./customer";
4
+ import { PublicNestedAsset } from "./assets";
5
+ import { BrandUid, OrganizationUid, AssetUid } from "./types";
6
+ /** TODO: Add jsdocs and check nullability of fields */
7
+ export interface Brand {
8
+ id: BrandUid;
9
+ organization: NestedOrganization;
10
+ organization_id: OrganizationUid;
11
+ name: string;
12
+ primary_color_code: string | null;
13
+ secondary_color_code: string | null;
14
+ logo_asset_id: AssetUid | null;
15
+ logo_asset: NestedAsset | null;
16
+ chat_button_asset_id: AssetUid | null;
17
+ chat_button_asset: NestedAsset | null;
18
+ created_at: string;
19
+ updated_at: string;
20
+ created_by_user_id: string;
21
+ updated_by_user_id: string;
22
+ created_by_user: NestedUser;
23
+ updated_by_user: NestedUser;
24
+ }
25
+ /** TODO: Add jsdocs and check nullability of fields */
26
+ export interface BrandPayload {
27
+ name: string;
28
+ primary_color_code: string | null;
29
+ secondary_color_code: string | null;
30
+ logo_asset_id?: AssetUid | null;
31
+ }
32
+ /** TODO: Add jsdocs and check nullability of fields */
33
+ export interface PublicBrand {
34
+ id: BrandUid;
35
+ organization_id: OrganizationUid;
36
+ primary_color_code: string | null;
37
+ secondary_color_code: string | null;
38
+ logo_asset_id: AssetUid | null;
39
+ logo_asset: PublicNestedAsset | null;
40
+ }
41
+ //# sourceMappingURL=brands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brands.d.ts","sourceRoot":"","sources":["../../src/brands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE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