@capibox/bridge-nextjs-client 0.0.40 → 0.0.42

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/dist/index.d.ts CHANGED
@@ -13,70 +13,84 @@ type ParamsLandingPageResponse = {
13
13
 
14
14
  interface components {
15
15
  schemas: {
16
- SendMailToRecipientDto: {
17
- /**
18
- * @description Email recipient address
19
- * @example recipient@example.com
20
- */
21
- to: string;
16
+ TeamResponseDto: {
22
17
  /**
23
- * @description Email subject
24
- * @example Important information about your account
18
+ * @description The unique identifier of the team
19
+ * @example 1
25
20
  */
26
- subject: string;
21
+ id: number;
27
22
  /**
28
- * @description HTML content of the email
29
- * @example <p>Hello, this is an <strong>important</strong> message.</p>
23
+ * @description The title of the team
24
+ * @example Development Team
30
25
  */
31
- htmlPart?: string;
26
+ title: string;
32
27
  /**
33
- * @description Plain text content of the email
34
- * @example Hello, this is an important message.
28
+ * @description The access for element
29
+ * @example [
30
+ * "xx@netzet.com",
31
+ * "xx2@netzet.com"
32
+ * ]
35
33
  */
36
- textPart?: string;
34
+ access?: string[];
37
35
  };
38
- SendMailResponseDto: {
36
+ CreateTeamDto: {
39
37
  /**
40
- * @description Success status
41
- * @example true
38
+ * @description The title of the team
39
+ * @example Development Team
42
40
  */
43
- success: boolean;
44
- };
45
- SendMailToSupportDto: {
41
+ title: string;
46
42
  /**
47
- * @description Email subject
48
- * @example Important information about your account
43
+ * @description The access for element
44
+ * @example [
45
+ * "xx@netzet.com",
46
+ * "xx2@netzet.com"
47
+ * ]
49
48
  */
50
- subject: string;
49
+ access?: string[];
50
+ };
51
+ UpdateTeamDto: {
51
52
  /**
52
- * @description HTML content of the email
53
- * @example <p>Hello, this is an <strong>important</strong> message.</p>
53
+ * @description The title of the team
54
+ * @example Development Team
54
55
  */
55
- htmlPart?: string;
56
+ title?: string;
56
57
  /**
57
- * @description Plain text content of the email
58
- * @example Hello, this is an important message.
58
+ * @description The access for element
59
+ * @example [
60
+ * "xx@netzet.com",
61
+ * "xx2@netzet.com"
62
+ * ]
59
63
  */
60
- textPart?: string;
64
+ access?: string[];
61
65
  };
62
- TeamResponseDto: {
66
+ ProjectGroupResponseDto: {
63
67
  /**
64
- * @description The unique identifier of the team
68
+ * @description The unique identifier of the project group
65
69
  * @example 1
66
70
  */
67
71
  id: number;
68
72
  /**
69
- * @description The title of the team
70
- * @example Development Team
73
+ * @description The title of the project group
74
+ * @example Frontend Projects
71
75
  */
72
76
  title: string;
73
- };
74
- ProjectGroupResponseDto: {
75
77
  /**
76
- * @description The unique identifier of the project group
78
+ * @description The ID of the team this project group belongs to
77
79
  * @example 1
78
80
  */
79
- id: number;
81
+ teamId: number;
82
+ /** @description The team this project group belongs to */
83
+ team: components["schemas"]["TeamResponseDto"];
84
+ /**
85
+ * @description The access for element
86
+ * @example [
87
+ * "xx@netzet.com",
88
+ * "xx2@netzet.com"
89
+ * ]
90
+ */
91
+ access?: string[];
92
+ };
93
+ CreateProjectGroupDto: {
80
94
  /**
81
95
  * @description The title of the project group
82
96
  * @example Frontend Projects
@@ -87,8 +101,34 @@ interface components {
87
101
  * @example 1
88
102
  */
89
103
  teamId: number;
90
- /** @description The team this project group belongs to */
91
- team: components["schemas"]["TeamResponseDto"];
104
+ /**
105
+ * @description The access for element
106
+ * @example [
107
+ * "xx@netzet.com",
108
+ * "xx2@netzet.com"
109
+ * ]
110
+ */
111
+ access?: string[];
112
+ };
113
+ UpdateProjectGroupDto: {
114
+ /**
115
+ * @description The title of the project group
116
+ * @example Frontend Projects
117
+ */
118
+ title?: string;
119
+ /**
120
+ * @description The ID of the team this project group belongs to
121
+ * @example 1
122
+ */
123
+ teamId?: number;
124
+ /**
125
+ * @description The access for element
126
+ * @example [
127
+ * "xx@netzet.com",
128
+ * "xx2@netzet.com"
129
+ * ]
130
+ */
131
+ access?: string[];
92
132
  };
93
133
  ProjectResponseDto: {
94
134
  /**
@@ -135,102 +175,14 @@ interface components {
135
175
  teamId?: number;
136
176
  team?: components["schemas"]["TeamResponseDto"];
137
177
  group?: components["schemas"]["ProjectGroupResponseDto"];
138
- };
139
- CreateProjectDto: {
140
- /**
141
- * @description The title of the project
142
- * @example My Awesome Project
143
- */
144
- title: string;
145
- /**
146
- * @description The URL of the project
147
- * @example https://myproject.example.com
148
- */
149
- url: string;
150
- /**
151
- * @description The support email address for the project
152
- * @example support@example.com
153
- */
154
- support_email?: string;
155
178
  /**
156
- * @description Project language
157
- * @example en
158
- */
159
- language?: string;
160
- /**
161
- * @description The slug of the project
162
- * @example my-awesome-project
163
- */
164
- slug: string;
165
- groupId?: number;
166
- teamId?: number;
167
- };
168
- UpdateProjectDto: {
169
- /**
170
- * @description The title of the project
171
- * @example My Awesome Project
172
- */
173
- title?: string;
174
- /**
175
- * @description The URL of the project
176
- * @example https://myproject.example.com
177
- */
178
- url?: string;
179
- /**
180
- * @description The support email address for the project
181
- * @example support@example.com
182
- */
183
- support_email?: string;
184
- /**
185
- * @description Project language
186
- * @example en
187
- */
188
- language?: string;
189
- /**
190
- * @description The slug of the project
191
- * @example my-awesome-project
192
- */
193
- slug?: string;
194
- groupId?: number;
195
- teamId?: number;
196
- };
197
- CreateTeamDto: {
198
- /**
199
- * @description The title of the team
200
- * @example Development Team
201
- */
202
- title: string;
203
- };
204
- UpdateTeamDto: {
205
- /**
206
- * @description The title of the team
207
- * @example Development Team
208
- */
209
- title?: string;
210
- };
211
- CreateProjectGroupDto: {
212
- /**
213
- * @description The title of the project group
214
- * @example Frontend Projects
215
- */
216
- title: string;
217
- /**
218
- * @description The ID of the team this project group belongs to
219
- * @example 1
220
- */
221
- teamId: number;
222
- };
223
- UpdateProjectGroupDto: {
224
- /**
225
- * @description The title of the project group
226
- * @example Frontend Projects
227
- */
228
- title?: string;
229
- /**
230
- * @description The ID of the team this project group belongs to
231
- * @example 1
179
+ * @description The access for element
180
+ * @example [
181
+ * "xx@netzet.com",
182
+ * "xx2@netzet.com"
183
+ * ]
232
184
  */
233
- teamId?: number;
185
+ access?: string[];
234
186
  };
235
187
  IntegrationResponseDto: {
236
188
  /**
@@ -268,6 +220,14 @@ interface components {
268
220
  options?: Record<string, never>;
269
221
  /** @description The project this integration belongs to */
270
222
  project?: components["schemas"]["ProjectResponseDto"];
223
+ /**
224
+ * @description The access for element
225
+ * @example [
226
+ * "xx@netzet.com",
227
+ * "xx2@netzet.com"
228
+ * ]
229
+ */
230
+ access?: string[];
271
231
  };
272
232
  CreateIntegrationDto: {
273
233
  /**
@@ -298,6 +258,14 @@ interface components {
298
258
  * @example https://example.com/api
299
259
  */
300
260
  url?: string;
261
+ /**
262
+ * @description The access for element
263
+ * @example [
264
+ * "xx@netzet.com",
265
+ * "xx2@netzet.com"
266
+ * ]
267
+ */
268
+ access?: string[];
301
269
  };
302
270
  UpdateIntegrationDto: {
303
271
  /**
@@ -333,6 +301,134 @@ interface components {
333
301
  * }
334
302
  */
335
303
  options?: Record<string, never>;
304
+ /**
305
+ * @description The access for element
306
+ * @example [
307
+ * "xx@netzet.com",
308
+ * "xx2@netzet.com"
309
+ * ]
310
+ */
311
+ access?: string[];
312
+ };
313
+ CreateProjectDto: {
314
+ /**
315
+ * @description The title of the project
316
+ * @example My Awesome Project
317
+ */
318
+ title: string;
319
+ /**
320
+ * @description The URL of the project
321
+ * @example https://myproject.example.com
322
+ */
323
+ url: string;
324
+ /**
325
+ * @description The support email address for the project
326
+ * @example support@example.com
327
+ */
328
+ support_email?: string;
329
+ /**
330
+ * @description Project language
331
+ * @example en
332
+ */
333
+ language?: string;
334
+ /**
335
+ * @description The slug of the project
336
+ * @example my-awesome-project
337
+ */
338
+ slug: string;
339
+ groupId?: number;
340
+ teamId?: number;
341
+ /**
342
+ * @description The access for element
343
+ * @example [
344
+ * "xx@netzet.com",
345
+ * "xx2@netzet.com"
346
+ * ]
347
+ */
348
+ access?: string[];
349
+ };
350
+ UpdateProjectDto: {
351
+ /**
352
+ * @description The title of the project
353
+ * @example My Awesome Project
354
+ */
355
+ title?: string;
356
+ /**
357
+ * @description The URL of the project
358
+ * @example https://myproject.example.com
359
+ */
360
+ url?: string;
361
+ /**
362
+ * @description The support email address for the project
363
+ * @example support@example.com
364
+ */
365
+ support_email?: string;
366
+ /**
367
+ * @description Project language
368
+ * @example en
369
+ */
370
+ language?: string;
371
+ /**
372
+ * @description The slug of the project
373
+ * @example my-awesome-project
374
+ */
375
+ slug?: string;
376
+ groupId?: number;
377
+ teamId?: number;
378
+ /**
379
+ * @description The access for element
380
+ * @example [
381
+ * "xx@netzet.com",
382
+ * "xx2@netzet.com"
383
+ * ]
384
+ */
385
+ access?: string[];
386
+ };
387
+ SendMailToRecipientDto: {
388
+ /**
389
+ * @description Email recipient address
390
+ * @example recipient@example.com
391
+ */
392
+ to: string;
393
+ /**
394
+ * @description Email subject
395
+ * @example Important information about your account
396
+ */
397
+ subject: string;
398
+ /**
399
+ * @description HTML content of the email
400
+ * @example <p>Hello, this is an <strong>important</strong> message.</p>
401
+ */
402
+ htmlPart?: string;
403
+ /**
404
+ * @description Plain text content of the email
405
+ * @example Hello, this is an important message.
406
+ */
407
+ textPart?: string;
408
+ };
409
+ SendMailResponseDto: {
410
+ /**
411
+ * @description Success status
412
+ * @example true
413
+ */
414
+ success: boolean;
415
+ };
416
+ SendMailToSupportDto: {
417
+ /**
418
+ * @description Email subject
419
+ * @example Important information about your account
420
+ */
421
+ subject: string;
422
+ /**
423
+ * @description HTML content of the email
424
+ * @example <p>Hello, this is an <strong>important</strong> message.</p>
425
+ */
426
+ htmlPart?: string;
427
+ /**
428
+ * @description Plain text content of the email
429
+ * @example Hello, this is an important message.
430
+ */
431
+ textPart?: string;
336
432
  };
337
433
  CreateSessionBridgeDto: {
338
434
  extraData?: {
@@ -745,6 +841,29 @@ interface components {
745
841
  */
746
842
  endDate?: string;
747
843
  };
844
+ PaymentRefundRequestDto: {
845
+ /** @description Order ID */
846
+ orderId: string;
847
+ /** @description Transaction or Charge ID */
848
+ transactionId: string;
849
+ /** @description Refund amount */
850
+ amount: number;
851
+ /** @description Original transaction amount */
852
+ originalAmount?: number;
853
+ /** @description Currency */
854
+ currency: string;
855
+ };
856
+ PaymentRefundResponseDto: {
857
+ /** @description Success or not */
858
+ success: boolean;
859
+ /**
860
+ * @description Refund type
861
+ * @enum {string}
862
+ */
863
+ type: "refund" | "cancel";
864
+ /** @description Refund error if exists */
865
+ error: string;
866
+ };
748
867
  PaymentCreateSessionResponseDto: {
749
868
  /** @description Token for initiate payment session */
750
869
  token: string;
@@ -761,6 +880,144 @@ interface components {
761
880
  /** @example COMPLETED */
762
881
  status: string;
763
882
  };
883
+ TokenRetrieveRequestDto: {
884
+ /** @description Main Order ID */
885
+ orderId: string;
886
+ /** @description Charge ID */
887
+ chargeId: string;
888
+ };
889
+ TokenRetrieveResponseDto: {
890
+ /** @description Token */
891
+ token: string;
892
+ /** @description Token type */
893
+ type: string;
894
+ };
895
+ TaxValueCountryStateRequestDto: {
896
+ /**
897
+ * @description ISO 3166-1 alpha-2 country code (e.g., US, CA)
898
+ * @example US
899
+ */
900
+ countryCode: string;
901
+ /**
902
+ * @description State
903
+ * @example Arizona
904
+ */
905
+ state: string;
906
+ /**
907
+ * @description Amount for tax calculation
908
+ * @example 2
909
+ */
910
+ amount: number;
911
+ };
912
+ TaxValueCountryStateResponseDto: {
913
+ /**
914
+ * @description Tax percent
915
+ * @example 5.6
916
+ */
917
+ taxPercent: number;
918
+ /**
919
+ * @description Tax amount
920
+ * @example 2
921
+ */
922
+ taxAmount: number;
923
+ /**
924
+ * @description Amount with tax
925
+ * @example 12
926
+ */
927
+ amountWithTax: number;
928
+ };
929
+ TaxPercentCountryStateRequestDto: {
930
+ /**
931
+ * @description ISO 3166-1 alpha-2 country code (e.g., US, CA)
932
+ * @example US
933
+ */
934
+ countryCode: string;
935
+ /**
936
+ * @description State
937
+ * @example Arizona
938
+ */
939
+ state: string;
940
+ };
941
+ TaxPercentCountryStateResponseDto: {
942
+ /**
943
+ * @description Tax percent
944
+ * @example 5.6
945
+ */
946
+ taxPercent: number;
947
+ };
948
+ FacebookCapiEventDataDto: {
949
+ /** @example USD */
950
+ currency?: string;
951
+ /** @example 129.99 */
952
+ total?: number;
953
+ /** @example https://example.com/product/123 */
954
+ sourceUrl: string;
955
+ };
956
+ CustomClientData: {
957
+ /**
958
+ * @description The user's email address.
959
+ * @example joe@example.com
960
+ */
961
+ email?: string;
962
+ /**
963
+ * @description The user's IP address.
964
+ * @example 123.123.123.123
965
+ */
966
+ ip?: string;
967
+ /**
968
+ * @description The user's browser user agent string.
969
+ * @example Mozilla/5.0 (Windows NT 10.0; Win64; x64) ...
970
+ */
971
+ userAgent?: string;
972
+ /**
973
+ * @description The Facebook click ID.
974
+ * @example fb.1.1554763741205.AbCdEfGhIjKlMnOp
975
+ */
976
+ fbc?: string;
977
+ /**
978
+ * @description The Facebook browser ID.
979
+ * @example fb.1.1558571054389.1098115397
980
+ */
981
+ fbp?: string;
982
+ /**
983
+ * @description The user country.
984
+ * @example US
985
+ */
986
+ country?: string;
987
+ /**
988
+ * @description The user state.
989
+ * @example DE
990
+ */
991
+ state?: string;
992
+ /**
993
+ * @description The user city.
994
+ * @example Berlin
995
+ */
996
+ city?: string;
997
+ /**
998
+ * @description The user zip code.
999
+ * @example 19901
1000
+ */
1001
+ zip?: string;
1002
+ /**
1003
+ * @description The user phone number.
1004
+ * @example +123123231
1005
+ */
1006
+ phone?: string;
1007
+ };
1008
+ FbCapiPayloadBridge: {
1009
+ /** @example EVENT_ID_123 */
1010
+ eventId: string;
1011
+ /** @example Purchase */
1012
+ eventName: string;
1013
+ eventData: components["schemas"]["FacebookCapiEventDataDto"];
1014
+ testEventCode?: string;
1015
+ clientData?: components["schemas"]["CustomClientData"];
1016
+ };
1017
+ FbCapiPayloadSessionBridge: {
1018
+ uuid: string;
1019
+ event: components["schemas"]["FbCapiPayloadBridge"];
1020
+ };
764
1021
  FbCapiCreatePixelBridgeDto: {
765
1022
  /** @description Title (just for UI purposes) */
766
1023
  title: string;
@@ -793,25 +1050,257 @@ interface components {
793
1050
  /** @description Active */
794
1051
  active?: boolean;
795
1052
  };
796
- FacebookCapiEventDataDto: {
797
- /** @example USD */
798
- currency?: string;
799
- /** @example 129.99 */
800
- total?: number;
801
- /** @example https://example.com/product/123 */
802
- sourceUrl: string;
1053
+ FbCapiEventResponseDto: {
1054
+ /** @description Unique Record ID */
1055
+ id: number;
1056
+ /**
1057
+ * Format: date-time
1058
+ * @description Created At
1059
+ */
1060
+ createdAt: string;
1061
+ /** @description Pixel ID */
1062
+ pixel: number;
1063
+ /** @description Event name */
1064
+ event: string;
1065
+ /** @description Request data */
1066
+ request: {
1067
+ [key: string]: unknown;
1068
+ };
1069
+ /** @description Response data */
1070
+ response: {
1071
+ [key: string]: unknown;
1072
+ };
803
1073
  };
804
- FbCapiPayloadBridge: {
805
- /** @example EVENT_ID_123 */
806
- eventId: string;
807
- /** @example Purchase */
808
- eventName: string;
809
- eventData: components["schemas"]["FacebookCapiEventDataDto"];
810
- testEventCode?: string;
1074
+ FbCapiEventFullResponseDto: {
1075
+ /** @description The list events */
1076
+ data: components["schemas"]["FbCapiEventResponseDto"][];
1077
+ /**
1078
+ * @description The total number of order items
1079
+ * @example 25
1080
+ */
1081
+ total: number;
1082
+ /**
1083
+ * @description The current page number
1084
+ * @example 1
1085
+ */
1086
+ page: number;
1087
+ /**
1088
+ * @description The number of order items per page
1089
+ * @example 10
1090
+ */
1091
+ limit: number;
1092
+ /**
1093
+ * @description The total number of pages available
1094
+ * @example 3
1095
+ */
1096
+ totalPages: number;
811
1097
  };
812
- FbCapiPayloadSessionBridge: {
813
- uuid: string;
814
- event: components["schemas"]["FbCapiPayloadBridge"];
1098
+ ReportItemDto: {
1099
+ /**
1100
+ * @description Unique identifier for the report item
1101
+ * @example 1
1102
+ */
1103
+ id: number;
1104
+ /**
1105
+ * @description Unique order identifier
1106
+ * @example ORD-001
1107
+ */
1108
+ orderId: string;
1109
+ /**
1110
+ * @description Country where the order was placed
1111
+ * @example US
1112
+ */
1113
+ country: string;
1114
+ /**
1115
+ * @description Customer gender
1116
+ * @example male
1117
+ */
1118
+ gender: string;
1119
+ /**
1120
+ * @description Customer email
1121
+ * @example xxx@example.com
1122
+ */
1123
+ email: string;
1124
+ /**
1125
+ * @description Customer language
1126
+ * @example en
1127
+ */
1128
+ language: string;
1129
+ /**
1130
+ * @description URL-friendly identifier for the order
1131
+ * @example order-001
1132
+ */
1133
+ slug: string;
1134
+ /**
1135
+ * @description Source/origin of the order
1136
+ * @example http://example.com/
1137
+ */
1138
+ origin: string;
1139
+ };
1140
+ TrustpilotServiceReviewInvitationDto: {
1141
+ /** @example 507f191e810c19729de860ea */
1142
+ templateId: string;
1143
+ /**
1144
+ * @description Preferred send time in UTC (ISO 8601)
1145
+ * @example 2026-01-05T13:37:00Z
1146
+ */
1147
+ preferredSendTime?: string;
1148
+ /** @example http://trustpilot.com */
1149
+ redirectUri: string;
1150
+ /** @example [
1151
+ * "tag1",
1152
+ * "tag2"
1153
+ * ] */
1154
+ tags?: string[];
1155
+ };
1156
+ TrustpilotProductDto: {
1157
+ /** @example ABC-1234 */
1158
+ sku: string;
1159
+ /** @example Metal Toy Car */
1160
+ name: string;
1161
+ /** @example 7TX1641 */
1162
+ mpn: string;
1163
+ /** @example ACME */
1164
+ brand: string;
1165
+ /** @example http://www.mycompanystore.com/products/images/12345.jpg */
1166
+ imageUrl: string;
1167
+ /** @example http://www.mycompanystore.com/products/12345.htm */
1168
+ productUrl: string;
1169
+ /** @example 01234567890 */
1170
+ gtin: string;
1171
+ /** @example 1267 */
1172
+ productCategoryGoogleId: string;
1173
+ };
1174
+ TrustpilotProductReviewInvitationDto: {
1175
+ /** @example 507f191e810c19729de860ea */
1176
+ templateId: string;
1177
+ /** @example 2026-01-05T13:37:00Z */
1178
+ preferredSendTime?: string;
1179
+ /** @example http://trustpilot.com */
1180
+ redirectUri: string;
1181
+ products?: components["schemas"]["TrustpilotProductDto"][];
1182
+ };
1183
+ SendTrustpilotInvitationDto: {
1184
+ /** @example john.doe@trustpilot.com */
1185
+ replyTo?: string;
1186
+ /** @example en-US */
1187
+ locale?: string;
1188
+ /** @example John Doe */
1189
+ senderName?: string;
1190
+ /** @example john.doe@trustpilot.com */
1191
+ senderEmail?: string;
1192
+ /** @example ABC123 */
1193
+ locationId?: string;
1194
+ /** @example inv00001 */
1195
+ referenceNumber: string;
1196
+ /** @example John Doe */
1197
+ consumerName: string;
1198
+ /** @example john.doe@trustpilot.com */
1199
+ consumerEmail: string;
1200
+ /** @example email */
1201
+ type: string;
1202
+ serviceReviewInvitation?: components["schemas"]["TrustpilotServiceReviewInvitationDto"];
1203
+ productReviewInvitation?: components["schemas"]["TrustpilotProductReviewInvitationDto"];
1204
+ };
1205
+ SendTrustpilotInvitationResponseDto: {
1206
+ /** @example 200 */
1207
+ statusCode: number;
1208
+ /** @example Email invitation created successfully */
1209
+ message: string;
1210
+ };
1211
+ CreateTrustpilotInvitationLinkDto: {
1212
+ /** @description Optional Trustpilot location ID */
1213
+ locationId?: string;
1214
+ /** @example inv00001 */
1215
+ referenceId: string;
1216
+ /** @example john.doe@trustpilot.com */
1217
+ email: string;
1218
+ /** @example John Doe */
1219
+ name: string;
1220
+ /** @example en-US */
1221
+ locale: string;
1222
+ /** @example [
1223
+ * "tag1",
1224
+ * "tag2"
1225
+ * ] */
1226
+ tags?: string[];
1227
+ /** @example https://trustpilot.com */
1228
+ redirectUri: string;
1229
+ };
1230
+ CreateTrustpilotInvitationLinkResponseDto: {
1231
+ /** @description Invitation link id */
1232
+ id: string;
1233
+ /** @description Invitation link url */
1234
+ url: string;
1235
+ };
1236
+ TrustpilotTemplatesResponseDto: {
1237
+ id: string;
1238
+ name: string;
1239
+ isDefaultTemplate: boolean;
1240
+ locale?: string;
1241
+ language?: string;
1242
+ type: string;
1243
+ };
1244
+ TrustpilotInviteResponseDto: {
1245
+ /** @example 1 */
1246
+ id: number;
1247
+ /** @example ext-456 */
1248
+ externalId: string | null;
1249
+ /** @example customer@example.com */
1250
+ email: string;
1251
+ /** @example John Doe */
1252
+ name: string | null;
1253
+ /**
1254
+ * Format: date-time
1255
+ * @example 2025-09-09T10:00:00.000Z
1256
+ */
1257
+ scheduledAt: string;
1258
+ /**
1259
+ * Format: date-time
1260
+ * @example 2025-09-09T09:00:00.000Z
1261
+ */
1262
+ initialScheduledAt: string;
1263
+ /**
1264
+ * @example pending
1265
+ * @enum {string}
1266
+ */
1267
+ status: "pending" | "retry" | "sent" | "failed" | "cancelled";
1268
+ /** @example false */
1269
+ sent: boolean;
1270
+ /** @example 0 */
1271
+ attempts: number;
1272
+ /**
1273
+ * Format: date-time
1274
+ * @example 2025-09-08T12:00:00.000Z
1275
+ */
1276
+ lastAttemptAt: string | null;
1277
+ /** @example SMTP error: 550 rejected */
1278
+ lastError: string | null;
1279
+ /** @example batch-uuid-789 */
1280
+ batchId: string | null;
1281
+ /** @example 507f191e810c19729de860ea */
1282
+ templateId: string | null;
1283
+ /**
1284
+ * Format: date-time
1285
+ * @example 2025-09-08T08:00:00.000Z
1286
+ */
1287
+ createdAt: string;
1288
+ /**
1289
+ * Format: date-time
1290
+ * @example 2025-09-08T09:00:00.000Z
1291
+ */
1292
+ updatedAt: string;
1293
+ };
1294
+ PaginatedResponseDtoWithModel: {
1295
+ data: components["schemas"]["TrustpilotInviteResponseDto"][];
1296
+ /** @example 100 */
1297
+ total: number;
1298
+ /** @example 1 */
1299
+ page: number;
1300
+ /** @example 10 */
1301
+ limit: number;
1302
+ /** @example 10 */
1303
+ totalPages: number;
815
1304
  };
816
1305
  };
817
1306
  responses: never;
@@ -932,6 +1421,10 @@ declare const browser: {
932
1421
  }>;
933
1422
  };
934
1423
  };
1424
+ trustpilot: {
1425
+ getLink: (data: components["schemas"]["CreateTrustpilotInvitationLinkDto"]) => Promise<components["schemas"]["CreateTrustpilotInvitationLinkResponseDto"]>;
1426
+ sendInvitation: (data: components["schemas"]["SendTrustpilotInvitationDto"]) => Promise<components["schemas"]["SendTrustpilotInvitationResponseDto"]>;
1427
+ };
935
1428
  };
936
1429
  declare const server: {
937
1430
  middleware: (req: next_server.NextRequest, options?: {