promote-email-templates 0.0.2 → 0.0.4

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.mts CHANGED
@@ -161,6 +161,58 @@ interface NewOrderCreatedBrandProps {
161
161
  photo: string;
162
162
  };
163
163
  }
164
+ interface NewJobCreatedBrandProps {
165
+ brand: {
166
+ name: string;
167
+ };
168
+ campaign: {
169
+ name: string;
170
+ description: string;
171
+ photo: string;
172
+ };
173
+ job: {
174
+ id: string;
175
+ createdAt: string;
176
+ jobCommission: string;
177
+ };
178
+ }
179
+ interface NewJobApplicationsReceivedBrandProps {
180
+ brand: {
181
+ name: string;
182
+ };
183
+ campaign: {
184
+ name: string;
185
+ description: string;
186
+ };
187
+ job: {
188
+ id: string;
189
+ jobCommission: string;
190
+ };
191
+ jobApplication: {
192
+ id: string;
193
+ desired_budget?: number;
194
+ observations?: string;
195
+ };
196
+ creatorCandidate: {
197
+ name: string;
198
+ photo: string;
199
+ username: string;
200
+ };
201
+ }
202
+ interface NewJobApplicationUnapprovedCreatorProps {
203
+ creator: {
204
+ name: string;
205
+ email: string;
206
+ };
207
+ campaign: {
208
+ name: string;
209
+ description: string;
210
+ };
211
+ jobApplication: {
212
+ id: string;
213
+ rejectionReason?: string;
214
+ };
215
+ }
164
216
  interface WelcomeTemplateProps {
165
217
  name?: string;
166
218
  userType: USER_ROLES;
@@ -186,6 +238,90 @@ declare namespace RevertPaymentRequestAdmin {
186
238
  };
187
239
  }
188
240
 
241
+ declare const colors: {
242
+ primary: string;
243
+ white: string;
244
+ black: string;
245
+ grey: string;
246
+ grey01: string;
247
+ };
248
+ declare const rootStyles: {
249
+ width: string;
250
+ height: string;
251
+ backgroundColor: string;
252
+ fontFamily: string;
253
+ };
254
+ declare const baseContentContainer: {
255
+ padding: string;
256
+ maxWidth: string;
257
+ };
258
+ declare const link: {
259
+ color: string;
260
+ textDecoration: string;
261
+ fontWeight: string;
262
+ opacity: number;
263
+ };
264
+ declare const main: {
265
+ backgroundColor: string;
266
+ maxWidth: string;
267
+ width: string;
268
+ height: string;
269
+ marginLeft: string;
270
+ marginRight: string;
271
+ };
272
+ declare const baseContainer: {
273
+ width: string;
274
+ height: string;
275
+ padding: string;
276
+ border: string;
277
+ borderRadius: string;
278
+ };
279
+ declare const button: {
280
+ fontSize: string;
281
+ backgroundColor: string;
282
+ display: string;
283
+ color: string;
284
+ padding: string;
285
+ width: string;
286
+ borderRadius: string;
287
+ justifyContent: string;
288
+ margin: string;
289
+ textAlign: "center";
290
+ fontWeight: string;
291
+ };
292
+ declare const baseText: {
293
+ color: string;
294
+ fontSize: string;
295
+ lineHeight: string;
296
+ };
297
+ declare const centerBlock: {
298
+ display: string;
299
+ margin: string;
300
+ };
301
+ declare const centerText: {
302
+ textAlign: "center";
303
+ };
304
+
305
+ declare const appBaseUrl = "https://promote.co.mz";
306
+ declare const assetsBasePath = "https://s3.us-east-2.amazonaws.com/promote-mz.com/assets";
307
+ declare const appRoutes: {
308
+ homePageRoute: string;
309
+ creatorsList: string;
310
+ creatorPrivateProfile: string;
311
+ termsAndConditions: string;
312
+ jobsList: string;
313
+ creatorOrderDetails: (orderId: string) => string;
314
+ brandOrderDetails: (orderId: string) => string;
315
+ brandJobDetails: (jobId: string) => string;
316
+ adminOrderDetails: (orderId: string) => string;
317
+ creatorPublicProfile: (username: string) => string;
318
+ };
319
+ declare const socialNetworkLinks: {
320
+ linkedin: string;
321
+ instagram: string;
322
+ facebook: string;
323
+ };
324
+
189
325
  declare function OrderEvidencesAcceptedBrand(props: OrderEvidencesAcceptedBrandProps): react_jsx_runtime.JSX.Element;
190
326
  declare namespace OrderEvidencesAcceptedBrand {
191
327
  var PreviewProps: {
@@ -292,6 +428,52 @@ declare namespace OrderRejectedBrand {
292
428
  };
293
429
  }
294
430
 
431
+ declare function NewJobCreatedBrand(props: NewJobCreatedBrandProps): react_jsx_runtime.JSX.Element;
432
+ declare namespace NewJobCreatedBrand {
433
+ var PreviewProps: {
434
+ brand: {
435
+ name: string;
436
+ };
437
+ campaign: {
438
+ name: string;
439
+ description: string;
440
+ photo: string;
441
+ };
442
+ job: {
443
+ id: string;
444
+ createdAt: string;
445
+ jobCommission: string;
446
+ };
447
+ };
448
+ }
449
+
450
+ declare function NewJobApplicationsReceivedBrand(props: NewJobApplicationsReceivedBrandProps): react_jsx_runtime.JSX.Element;
451
+ declare namespace NewJobApplicationsReceivedBrand {
452
+ var PreviewProps: {
453
+ brand: {
454
+ name: string;
455
+ };
456
+ campaign: {
457
+ name: string;
458
+ description: string;
459
+ };
460
+ job: {
461
+ id: string;
462
+ jobCommission: string;
463
+ };
464
+ jobApplication: {
465
+ id: string;
466
+ desired_budget: number;
467
+ observations: string;
468
+ };
469
+ creatorCandidate: {
470
+ name: string;
471
+ photo: string;
472
+ username: string;
473
+ };
474
+ };
475
+ }
476
+
295
477
  declare function EvidenceApprovedCreator(props: EvidenceApprovedCreatorProps): react_jsx_runtime.JSX.Element;
296
478
  declare namespace EvidenceApprovedCreator {
297
479
  var PreviewProps: {
@@ -374,87 +556,23 @@ declare namespace NewOrderCreatedCreator {
374
556
  };
375
557
  }
376
558
 
377
- declare const colors: {
378
- primary: string;
379
- white: string;
380
- black: string;
381
- grey: string;
382
- grey01: string;
383
- };
384
- declare const rootStyles: {
385
- width: string;
386
- height: string;
387
- backgroundColor: string;
388
- fontFamily: string;
389
- };
390
- declare const baseContentContainer: {
391
- padding: string;
392
- maxWidth: string;
393
- };
394
- declare const link: {
395
- color: string;
396
- textDecoration: string;
397
- fontWeight: string;
398
- opacity: number;
399
- };
400
- declare const main: {
401
- backgroundColor: string;
402
- maxWidth: string;
403
- width: string;
404
- height: string;
405
- marginLeft: string;
406
- marginRight: string;
407
- };
408
- declare const baseContainer: {
409
- width: string;
410
- height: string;
411
- padding: string;
412
- border: string;
413
- borderRadius: string;
414
- };
415
- declare const button: {
416
- fontSize: string;
417
- backgroundColor: string;
418
- display: string;
419
- color: string;
420
- padding: string;
421
- width: string;
422
- borderRadius: string;
423
- justifyContent: string;
424
- margin: string;
425
- textAlign: "center";
426
- fontWeight: string;
427
- };
428
- declare const baseText: {
429
- color: string;
430
- fontSize: string;
431
- lineHeight: string;
432
- };
433
- declare const centerBlock: {
434
- display: string;
435
- margin: string;
436
- };
437
- declare const centerText: {
438
- textAlign: "center";
439
- };
440
-
441
- declare const appBaseUrl = "https://promote.co.mz";
442
- declare const assetsBasePath = "https://s3.us-east-2.amazonaws.com/promote-mz.com/assets";
443
- declare const appRoutes: {
444
- homePageRoute: string;
445
- creatorsList: string;
446
- creatorPrivateProfile: string;
447
- termsAndConditions: string;
448
- creatorOrderDetails: (orderId: string) => string;
449
- brandOrderDetails: (orderId: string) => string;
450
- adminOrderDetails: (orderId: string) => string;
451
- creatorPublicProfile: (username: string) => string;
452
- };
453
- declare const socialNetworkLinks: {
454
- linkedin: string;
455
- instagram: string;
456
- facebook: string;
457
- };
559
+ declare function NewJobApplicationUnapprovedCreator(props: NewJobApplicationUnapprovedCreatorProps): react_jsx_runtime.JSX.Element;
560
+ declare namespace NewJobApplicationUnapprovedCreator {
561
+ var PreviewProps: {
562
+ creator: {
563
+ name: string;
564
+ email: string;
565
+ };
566
+ campaign: {
567
+ name: string;
568
+ description: string;
569
+ };
570
+ jobApplication: {
571
+ id: string;
572
+ rejectionReason: string;
573
+ };
574
+ };
575
+ }
458
576
 
459
577
  declare function Welcome({ name, userType }: WelcomeTemplateProps): react_jsx_runtime.JSX.Element;
460
578
  declare namespace Welcome {
@@ -464,4 +582,4 @@ declare namespace Welcome {
464
582
  };
465
583
  }
466
584
 
467
- export { AbortOrderRequest, type AbortOrderRequestProps, EvidenceApprovedCreator, type EvidenceApprovedCreatorProps, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, type EvidencesRejectedProps, EvidencesSubmittedBrand, NewOrderCreatedBrand, type NewOrderCreatedBrandProps, NewOrderCreatedCreator, type NewOrderCreatedCreatorProps, OrderAcceptedBrand, type OrderAcceptedBrandProps, OrderCancelledBrand, type OrderCancelledBrandProps, OrderCancelledCreator, type OrderCancelledCreatorProps, OrderEvidencesAcceptedBrand, type OrderEvidencesAcceptedBrandProps, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderRejectedBrand, type OrderRejectedBrandProps, RevertPaymentRequestAdmin, type RevertPaymentRequestAdminProps, USER_ROLES, Welcome, type WelcomeTemplateProps, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, colors, link, main, rootStyles, socialNetworkLinks };
585
+ export { AbortOrderRequest, type AbortOrderRequestProps, EvidenceApprovedCreator, type EvidenceApprovedCreatorProps, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, type EvidencesRejectedProps, EvidencesSubmittedBrand, NewJobApplicationUnapprovedCreator, type NewJobApplicationUnapprovedCreatorProps, NewJobApplicationsReceivedBrand, type NewJobApplicationsReceivedBrandProps, NewJobCreatedBrand, type NewJobCreatedBrandProps, NewOrderCreatedBrand, type NewOrderCreatedBrandProps, NewOrderCreatedCreator, type NewOrderCreatedCreatorProps, OrderAcceptedBrand, type OrderAcceptedBrandProps, OrderCancelledBrand, type OrderCancelledBrandProps, OrderCancelledCreator, type OrderCancelledCreatorProps, OrderEvidencesAcceptedBrand, type OrderEvidencesAcceptedBrandProps, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderRejectedBrand, type OrderRejectedBrandProps, RevertPaymentRequestAdmin, type RevertPaymentRequestAdminProps, USER_ROLES, Welcome, type WelcomeTemplateProps, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, colors, link, main, rootStyles, socialNetworkLinks };
package/dist/index.d.ts CHANGED
@@ -161,6 +161,58 @@ interface NewOrderCreatedBrandProps {
161
161
  photo: string;
162
162
  };
163
163
  }
164
+ interface NewJobCreatedBrandProps {
165
+ brand: {
166
+ name: string;
167
+ };
168
+ campaign: {
169
+ name: string;
170
+ description: string;
171
+ photo: string;
172
+ };
173
+ job: {
174
+ id: string;
175
+ createdAt: string;
176
+ jobCommission: string;
177
+ };
178
+ }
179
+ interface NewJobApplicationsReceivedBrandProps {
180
+ brand: {
181
+ name: string;
182
+ };
183
+ campaign: {
184
+ name: string;
185
+ description: string;
186
+ };
187
+ job: {
188
+ id: string;
189
+ jobCommission: string;
190
+ };
191
+ jobApplication: {
192
+ id: string;
193
+ desired_budget?: number;
194
+ observations?: string;
195
+ };
196
+ creatorCandidate: {
197
+ name: string;
198
+ photo: string;
199
+ username: string;
200
+ };
201
+ }
202
+ interface NewJobApplicationUnapprovedCreatorProps {
203
+ creator: {
204
+ name: string;
205
+ email: string;
206
+ };
207
+ campaign: {
208
+ name: string;
209
+ description: string;
210
+ };
211
+ jobApplication: {
212
+ id: string;
213
+ rejectionReason?: string;
214
+ };
215
+ }
164
216
  interface WelcomeTemplateProps {
165
217
  name?: string;
166
218
  userType: USER_ROLES;
@@ -186,6 +238,90 @@ declare namespace RevertPaymentRequestAdmin {
186
238
  };
187
239
  }
188
240
 
241
+ declare const colors: {
242
+ primary: string;
243
+ white: string;
244
+ black: string;
245
+ grey: string;
246
+ grey01: string;
247
+ };
248
+ declare const rootStyles: {
249
+ width: string;
250
+ height: string;
251
+ backgroundColor: string;
252
+ fontFamily: string;
253
+ };
254
+ declare const baseContentContainer: {
255
+ padding: string;
256
+ maxWidth: string;
257
+ };
258
+ declare const link: {
259
+ color: string;
260
+ textDecoration: string;
261
+ fontWeight: string;
262
+ opacity: number;
263
+ };
264
+ declare const main: {
265
+ backgroundColor: string;
266
+ maxWidth: string;
267
+ width: string;
268
+ height: string;
269
+ marginLeft: string;
270
+ marginRight: string;
271
+ };
272
+ declare const baseContainer: {
273
+ width: string;
274
+ height: string;
275
+ padding: string;
276
+ border: string;
277
+ borderRadius: string;
278
+ };
279
+ declare const button: {
280
+ fontSize: string;
281
+ backgroundColor: string;
282
+ display: string;
283
+ color: string;
284
+ padding: string;
285
+ width: string;
286
+ borderRadius: string;
287
+ justifyContent: string;
288
+ margin: string;
289
+ textAlign: "center";
290
+ fontWeight: string;
291
+ };
292
+ declare const baseText: {
293
+ color: string;
294
+ fontSize: string;
295
+ lineHeight: string;
296
+ };
297
+ declare const centerBlock: {
298
+ display: string;
299
+ margin: string;
300
+ };
301
+ declare const centerText: {
302
+ textAlign: "center";
303
+ };
304
+
305
+ declare const appBaseUrl = "https://promote.co.mz";
306
+ declare const assetsBasePath = "https://s3.us-east-2.amazonaws.com/promote-mz.com/assets";
307
+ declare const appRoutes: {
308
+ homePageRoute: string;
309
+ creatorsList: string;
310
+ creatorPrivateProfile: string;
311
+ termsAndConditions: string;
312
+ jobsList: string;
313
+ creatorOrderDetails: (orderId: string) => string;
314
+ brandOrderDetails: (orderId: string) => string;
315
+ brandJobDetails: (jobId: string) => string;
316
+ adminOrderDetails: (orderId: string) => string;
317
+ creatorPublicProfile: (username: string) => string;
318
+ };
319
+ declare const socialNetworkLinks: {
320
+ linkedin: string;
321
+ instagram: string;
322
+ facebook: string;
323
+ };
324
+
189
325
  declare function OrderEvidencesAcceptedBrand(props: OrderEvidencesAcceptedBrandProps): react_jsx_runtime.JSX.Element;
190
326
  declare namespace OrderEvidencesAcceptedBrand {
191
327
  var PreviewProps: {
@@ -292,6 +428,52 @@ declare namespace OrderRejectedBrand {
292
428
  };
293
429
  }
294
430
 
431
+ declare function NewJobCreatedBrand(props: NewJobCreatedBrandProps): react_jsx_runtime.JSX.Element;
432
+ declare namespace NewJobCreatedBrand {
433
+ var PreviewProps: {
434
+ brand: {
435
+ name: string;
436
+ };
437
+ campaign: {
438
+ name: string;
439
+ description: string;
440
+ photo: string;
441
+ };
442
+ job: {
443
+ id: string;
444
+ createdAt: string;
445
+ jobCommission: string;
446
+ };
447
+ };
448
+ }
449
+
450
+ declare function NewJobApplicationsReceivedBrand(props: NewJobApplicationsReceivedBrandProps): react_jsx_runtime.JSX.Element;
451
+ declare namespace NewJobApplicationsReceivedBrand {
452
+ var PreviewProps: {
453
+ brand: {
454
+ name: string;
455
+ };
456
+ campaign: {
457
+ name: string;
458
+ description: string;
459
+ };
460
+ job: {
461
+ id: string;
462
+ jobCommission: string;
463
+ };
464
+ jobApplication: {
465
+ id: string;
466
+ desired_budget: number;
467
+ observations: string;
468
+ };
469
+ creatorCandidate: {
470
+ name: string;
471
+ photo: string;
472
+ username: string;
473
+ };
474
+ };
475
+ }
476
+
295
477
  declare function EvidenceApprovedCreator(props: EvidenceApprovedCreatorProps): react_jsx_runtime.JSX.Element;
296
478
  declare namespace EvidenceApprovedCreator {
297
479
  var PreviewProps: {
@@ -374,87 +556,23 @@ declare namespace NewOrderCreatedCreator {
374
556
  };
375
557
  }
376
558
 
377
- declare const colors: {
378
- primary: string;
379
- white: string;
380
- black: string;
381
- grey: string;
382
- grey01: string;
383
- };
384
- declare const rootStyles: {
385
- width: string;
386
- height: string;
387
- backgroundColor: string;
388
- fontFamily: string;
389
- };
390
- declare const baseContentContainer: {
391
- padding: string;
392
- maxWidth: string;
393
- };
394
- declare const link: {
395
- color: string;
396
- textDecoration: string;
397
- fontWeight: string;
398
- opacity: number;
399
- };
400
- declare const main: {
401
- backgroundColor: string;
402
- maxWidth: string;
403
- width: string;
404
- height: string;
405
- marginLeft: string;
406
- marginRight: string;
407
- };
408
- declare const baseContainer: {
409
- width: string;
410
- height: string;
411
- padding: string;
412
- border: string;
413
- borderRadius: string;
414
- };
415
- declare const button: {
416
- fontSize: string;
417
- backgroundColor: string;
418
- display: string;
419
- color: string;
420
- padding: string;
421
- width: string;
422
- borderRadius: string;
423
- justifyContent: string;
424
- margin: string;
425
- textAlign: "center";
426
- fontWeight: string;
427
- };
428
- declare const baseText: {
429
- color: string;
430
- fontSize: string;
431
- lineHeight: string;
432
- };
433
- declare const centerBlock: {
434
- display: string;
435
- margin: string;
436
- };
437
- declare const centerText: {
438
- textAlign: "center";
439
- };
440
-
441
- declare const appBaseUrl = "https://promote.co.mz";
442
- declare const assetsBasePath = "https://s3.us-east-2.amazonaws.com/promote-mz.com/assets";
443
- declare const appRoutes: {
444
- homePageRoute: string;
445
- creatorsList: string;
446
- creatorPrivateProfile: string;
447
- termsAndConditions: string;
448
- creatorOrderDetails: (orderId: string) => string;
449
- brandOrderDetails: (orderId: string) => string;
450
- adminOrderDetails: (orderId: string) => string;
451
- creatorPublicProfile: (username: string) => string;
452
- };
453
- declare const socialNetworkLinks: {
454
- linkedin: string;
455
- instagram: string;
456
- facebook: string;
457
- };
559
+ declare function NewJobApplicationUnapprovedCreator(props: NewJobApplicationUnapprovedCreatorProps): react_jsx_runtime.JSX.Element;
560
+ declare namespace NewJobApplicationUnapprovedCreator {
561
+ var PreviewProps: {
562
+ creator: {
563
+ name: string;
564
+ email: string;
565
+ };
566
+ campaign: {
567
+ name: string;
568
+ description: string;
569
+ };
570
+ jobApplication: {
571
+ id: string;
572
+ rejectionReason: string;
573
+ };
574
+ };
575
+ }
458
576
 
459
577
  declare function Welcome({ name, userType }: WelcomeTemplateProps): react_jsx_runtime.JSX.Element;
460
578
  declare namespace Welcome {
@@ -464,4 +582,4 @@ declare namespace Welcome {
464
582
  };
465
583
  }
466
584
 
467
- export { AbortOrderRequest, type AbortOrderRequestProps, EvidenceApprovedCreator, type EvidenceApprovedCreatorProps, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, type EvidencesRejectedProps, EvidencesSubmittedBrand, NewOrderCreatedBrand, type NewOrderCreatedBrandProps, NewOrderCreatedCreator, type NewOrderCreatedCreatorProps, OrderAcceptedBrand, type OrderAcceptedBrandProps, OrderCancelledBrand, type OrderCancelledBrandProps, OrderCancelledCreator, type OrderCancelledCreatorProps, OrderEvidencesAcceptedBrand, type OrderEvidencesAcceptedBrandProps, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderRejectedBrand, type OrderRejectedBrandProps, RevertPaymentRequestAdmin, type RevertPaymentRequestAdminProps, USER_ROLES, Welcome, type WelcomeTemplateProps, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, colors, link, main, rootStyles, socialNetworkLinks };
585
+ export { AbortOrderRequest, type AbortOrderRequestProps, EvidenceApprovedCreator, type EvidenceApprovedCreatorProps, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, type EvidencesRejectedProps, EvidencesSubmittedBrand, NewJobApplicationUnapprovedCreator, type NewJobApplicationUnapprovedCreatorProps, NewJobApplicationsReceivedBrand, type NewJobApplicationsReceivedBrandProps, NewJobCreatedBrand, type NewJobCreatedBrandProps, NewOrderCreatedBrand, type NewOrderCreatedBrandProps, NewOrderCreatedCreator, type NewOrderCreatedCreatorProps, OrderAcceptedBrand, type OrderAcceptedBrandProps, OrderCancelledBrand, type OrderCancelledBrandProps, OrderCancelledCreator, type OrderCancelledCreatorProps, OrderEvidencesAcceptedBrand, type OrderEvidencesAcceptedBrandProps, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderRejectedBrand, type OrderRejectedBrandProps, RevertPaymentRequestAdmin, type RevertPaymentRequestAdminProps, USER_ROLES, Welcome, type WelcomeTemplateProps, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, colors, link, main, rootStyles, socialNetworkLinks };