-
Notifications
You must be signed in to change notification settings - Fork 0
/
final.yaml
1152 lines (1148 loc) · 36.9 KB
/
final.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.2
info:
title: Template Variables API
description: API to provide variables for email and document templates.
version: 1.0.0
tags:
- name: variables
description: Variables
security:
- EpilotAuth: []
- EpilotOrg: []
paths:
"/v1/template-variables/categories":
get:
operationId: getCategories
summary: getCategories
description: Get all template variable categories
tags:
- variables
parameters:
- name: lang
in: query
schema:
$ref: "#/components/schemas/Language"
responses:
"200":
description: ok
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/CategoryResult"
example:
- category: contact
description: Contact
- category: account
description: Account
- category: organization
description: Organization
"/v1/template-variables:search":
post:
operationId: searchVariables
summary: searchVariables
description: Search variables
tags:
- variables
requestBody:
content:
application/json:
schema:
type: object
properties:
template_type:
$ref: "#/components/schemas/TemplateType"
query:
type: string
description: Search string
example: logo
from:
type: integer
default: 0
size:
type: integer
default: 25
lang:
$ref: "#/components/schemas/Language"
entity_schemas:
type: array
items:
type: string
description: Schema slug
example: contact
required:
- template_type
- query
responses:
"200":
description: ok
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/VariableResult"
example:
- group: "Personal Details"
insert: "{{account.name}}"
description: "Company name"
type: "simple"
- group: "Personal Details"
insert: "{{account.tax_id}}"
description: "Tax ID"
type: "simple"
- group: "Address details"
qrdata: "{{account.address_details}}"
description: "Address Details"
type: "partial"
- group: "Address Details"
insert: "{{account.address.street}}"
description: "Address - Street name"
type: "simple"
- group: "Address Details"
insert: "{{account.address.street_number}}"
description: "Address - Street number"
type: "simple"
- group: "Address Details"
insert: "{{account.address.postal_code}}"
description: "Address - Postal code"
type: "simple"
- group: "Address Details"
insert: "{{account.address.city}}"
description: "Address - City"
type: "simple"
"/v1/template-variables:context":
post:
operationId: getVariableContext
summary: getVariableContext
description: |
Get full variable context
Calls Entity API, User API, Brand API and others to construct full context object used for template variable replace
tags:
- variables
requestBody:
content:
application/json:
schema:
type: object
properties:
parameters:
$ref: "#/components/schemas/VariableParameters"
responses:
"200":
description: ok
content:
application/json:
schema:
$ref: "#/components/schemas/VariableContext"
"/v1/template-variables:replace":
post:
operationId: replaceTemplates
summary: replaceTemplates
description: |
Replace variables in handlebars templates
Takes in an array of input templates and outputs the output text with replaced variables
tags:
- variables
requestBody:
content:
application/json:
schema:
type: object
properties:
inputs:
type: array
items:
type: string
example: |
Hello, {{contact.first_name}}!
{{{brand.signature}}}
parameters:
$ref: "#/components/schemas/VariableParameters"
responses:
"200":
description: ok
content:
application/json:
schema:
type: object
properties:
outputs:
type: array
items:
type: string
example: |
"[Brand Name GmbH] Order confirmation",
"Hello Customer Name
<span color="#ccc">Brand Name GmbH</span>
<img src="https://logobucket.s3.amazonaws.com/brandlogo.png" alt="Brand Name"/>
<a href="https://company.com/imprint">imprint</a>
"]
"/v1/custom-variables":
get:
operationId: getCustomVariables
summary: Get custom variables
description: Get all custom variables of organization
tags:
- Custom variables
responses:
200:
description: Success
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/CustomVariable"
403:
description: Forbidden
post:
operationId: createCustomVariable
summary: Create custom variable
description: Create custom variable
tags:
- Custom variables
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CustomVariable"
responses:
201:
description: Success
content:
application/json:
schema:
$ref: "#/components/schemas/CustomVariable"
403:
description: Forbidden
409:
description: Conflict - Custom variable with the same key already exists
x-speakeasy-entity-operation: CustomVariable#create
"/v1/custom-variables:search":
post:
operationId: searchCustomVariables
summary: searchCustomVariables
description: Search custom variables
tags:
- Custom variables
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CustomVariablesSearchParams"
responses:
200:
description: Success
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
$ref: "#/components/schemas/CustomVariable"
hits:
type: integer
description: Total number of results
example: 100
403:
description: Forbidden
"/v1/custom-variables/{id}":
put:
operationId: updateCustomVariable
summary: Update custom variable
description: Update custom variable
tags:
- Custom variables
parameters:
- name: id
description: Custom variable ID
in: path
required: true
schema:
type: string
example: rbse777b-3cf8-4bff-bb0c-253fd1123250
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/CustomVariable"
responses:
200:
description: Success
content:
application/json:
schema:
$ref: "#/components/schemas/CustomVariable"
403:
description: Forbidden
409:
description: Conflict - Custom variable with the same key already exists
get:
operationId: getCustomVariable
summary: Get custom variable
description: Get custom variable
tags:
- Custom variables
parameters:
- name: id
description: Custom vairable ID
in: path
required: true
schema:
type: string
example: rbse777b-3cf8-4bff-bb0c-253fd1123250
responses:
200:
description: Success
content:
application/json:
schema:
$ref: "#/components/schemas/CustomVariable"
403:
description: Forbidden
404:
description: Not found
x-speakeasy-entity-operation: CustomVariable#get
delete:
operationId: deleteCustomVariable
summary: Delete custom variable
description: Immediately and permanently deletes a custom variable
tags:
- Custom variables
parameters:
- name: id
description: Custom vairable ID
in: path
required: true
schema:
type: string
example: rbse777b-3cf8-4bff-bb0c-253fd1123250
responses:
204:
description: Success
403:
description: Forbidden
x-speakeasy-entity-operation: CustomVariable#delete
"/v1/custom-variables/order-table-blueprint":
get:
operationId: getBluePrintTableConfig
summary: Get default table config
description: Get default table config
tags:
- Custom variables
responses:
200:
description: Success
content:
application/json:
schema:
$ref: "#/components/schemas/CustomVariable"
403:
description: Forbidden
components:
securitySchemes:
EpilotAuth:
type: http
scheme: bearer
description: Authorization header with epilot OAuth2 bearer token
bearerFormat: JWT
EpilotOrg:
description: Overrides the target organization
name: x-ivy-org-id
in: header
type: apiKey
schemas:
Language:
type: string
description: 2-letter language code (ISO 639-1)
default: de
VariableParameters:
type: object
properties:
template_type:
$ref: "#/components/schemas/TemplateType"
language:
$ref: "#/components/schemas/Language"
main_entity_id:
type: string
format: uuid
description: The main entity ID. Use main entity in order to use the variable without schema slug prefix - or just pass directly to other object ID.
example: 63753437-c9e2-4e83-82bb-b1c666514561
brand_id:
type: number
nullable: true
description: Brand ID
example: 123451
user_id:
type: string
nullable: true
description: User ID
example: 50001
user_org_id:
type: string
nullable: true
description: Organization ID of the user
example: 729224
custom_variables:
type: array
description: Custom variables with specified values form other services.
items:
$ref: "#/components/schemas/ExternalCustomVariable"
context_data:
type: object
description: If context data is avaialble, this data will be used for variable replace.
template_name:
type: string
description: The name of email template
template_tags:
type: array
description: The tags of email template
items:
type: string
variables_version:
type: string
description: The version of the variables syntax supported. Default is 1.0
example: 2
required:
- template_type
VariableResult:
type: object
properties:
type:
type: string
enum:
- simple
- partial
qrdata:
type: string
description: Payload for the QR data
group:
type: string
description: Variable group
insert:
type: string
description: The value which is used to insert to template
description:
type: string
description: Variable description
CustomVariablesSearchParams:
type: object
properties:
type:
type: string
description: Variable type
enum:
- order_table
- custom
- journey_link
tags:
type: array
description: The tags of custom variable
items:
type: string
query:
type: string
description: Search string
example: logo
from:
type: integer
default: 0
size:
type: integer
default: 25
sort_by:
type: string
description: Sort by field
example:
- created_at
- created_at:desc
- name
- name:desc
- key
fields:
type: array
description: Fields to return
items:
type: string
VariableContext:
type: object
properties:
unsubscribe_url:
type: string
example: "https://consent.sls.epilot.io/v1/unsubscribe?token=abc123"
main:
type: object
additionalProperties: true
example:
$ref: "#/components/examples/ExampleMain/value"
contact:
type: object
additionalProperties: true
example:
$ref: "#/components/examples/ExampleContactEntity/value"
brand:
type: object
additionalProperties: true
example:
$ref: "#/components/examples/ExampleBrand/value"
TemplateType:
type: string
enum:
- email
- document
VariableType:
type: string
enum:
- simple
- partial
CategoryResult:
type: object
properties:
category:
type: string
example: contact
description:
type: string
example: Contact
ExternalCustomVariable:
type: object
properties:
variable:
type: string
example: "{{craftsmen.invitation_link}}"
value:
type: string
example: https://partner.epilot.cloud/activate-account?user_name=htny.pct%2Btet%40gmail.com&confirmation_code=EdXPRW19
CustomVariable:
type: object
properties:
id:
type: string
description: ID
example: rbse777b-3cf8-4bff-bb0c-253fd1123250
type:
type: string
description: Custom variable type
enum:
- order_table
- custom
- journey_link
name:
type: string
description: Custom variable name
example: My Custom table
key:
type: string
description: The key which is used for Handlebar variable syntax {{key}}
example: my_custom_table
_tags:
type: array
description: The tags of custom variable
items:
type: string
helper_params:
type: array
description: The helper function parameter's names
items:
type: string
example:
- param1
- param2
helper_logic:
type: string
description: The helper function logic
example: return param1 * param2;
template:
type: string
description: Handlebar template that used to generate the variable content
example: |
<table style="table-layout: fixed;width: 100%;max-width: 1000px;border-collapse: collapse;">
<thead>
<tr style="height: 48px;border-bottom: 1px solid #D5E1ED;">
{{#each table_config.header.columns as |column|}}
{{#if column.enable}}
<th style="{{makeStyle @root.table_config.header.style}};{{makeStyle column.style}};">{{column._label}}</th>
{{/if}}
{{/each}}
</tr>
</thead>
<tbody style="vertical-align: baseline !important;font-weight: 400;font-size: 12px;position: relative;">
<!-- Start rendering products -->
{{#each order.products as |product|}}
{{#if @last}}
<tr style="height: 48px;;font-size:14px;border-bottom: 1px solid #D5E1ED;">
{{else}}
<tr style="height: 48px;;font-size:14px;">
{{/if}}
{{#each @root.table_config.header.columns as |column|}}
{{#if column.enable}}
{{#if (eq column.id 'item')}}
<!-- Item -->
<td style="{{makeStyle @root.table_config.body.product_name.style}}">
{{#if @root.table_config.body.product_name.enable}}
{{product.name}}
{{/if}}
{{#if @root.table_config.body.price_description.enable}}
<br>
<span style="{{makeStyle @root.table_config.body.price_description.style}}">{{product.price.description}}</span>
{{/if}}
{{#if @root.table_config.body.product_description.enable}}
<br>
<span style="{{makeStyle @root.table_config.body.product_description.style}}">{{product.description}}</span>
{{/if}}
</td>
{{/if}}
{{#if (eq column.id 'quantity')}}
<!-- Quantity -->
<td style="{{makeStyle @root.table_config.body.quantity.style}}">{{product.price.quantity}}
</td>
{{/if}}
{{#if (eq column.id 'tax')}}
<!-- Tax -->
<td style="{{makeStyle @root.table_config.body.tax.style}}">
{{product.price.tax_rate}}
</td>
{{/if}}
{{#if (eq column.id 'unit_amount')}}
<!-- Unit amount -->
<td style="{{makeStyle @root.table_config.body.unit_amount.style}}">
{{product.price.unit_amount_net}}
</td>
{{/if}}
{{#if (eq column.id 'net_total')}}
<!-- Amount Subtotal -->
<td style="{{makeStyle @root.table_config.body.net_total.style}}">
{{product.price.amount_subtotal}}
</td>
{{/if}}
{{#if (eq column.id 'amount_tax')}}
<!-- Tax amount-->
<td style="{{makeStyle @root.table_config.body.amount_tax.style}}">
{{product.price.amount_tax}}
</td>
{{/if}}
{{#if (eq column.id 'gross_total')}}
<!-- Gross total -->
<td style="{{makeStyle @root.table_config.body.gross_total.style}}">
{{product.price.amount_total}}
{{#if @root.table_config.body.payment_type.enable}}
{{#if (eq product.price.type 'recurring')}}
<br>
<span style="{{makeStyle @root.table_config.body.payment_type.style}}">{{product.price.billing_period}}</span>
{{/if}}
{{/if}}
</td>
{{/if}}
{{/if}}
{{/each}}
</tr>
{{/each}}
<!-- Finish rendering products -->
{{#if table_config.footer.gross_total.enable}}
{{#each order.total_details.recurrences as |item|}}
<tr style="height: 48px;font-size: 14px;">
<td style="padding-top: 16px; padding-bottom: 8px; border: none !important; vertical-align: top;" colspan="{{calculate_colspan @root.table_config}}"></td>
{{#if @root.table_config.footer.payment_type.enable}}
<td style="{{makeStyle @root.table_config.footer.payment_type.style}}" colspan="2">{{item.billing_period}}</td>
{{/if}}
{{#if (isColumnEnabled @root.table_config 'net_total')}}
{{#if @root.table_config.footer.net_total.enable}}
<td style="{{makeStyle @root.table_config.footer.net_total.style}}">{{item.amount_subtotal}}</td>
{{/if}}
{{/if}}
<td style="{{makeStyle @root.table_config.footer.gross_total.style}}">{{item.amount_total}}
{{#if @root.table_config.footer.amount_tax.enable}}
<br>
<span style="{{makeStyle @root.table_config.footer.amount_tax.style}}">{{item.full_amount_tax}}</span>
{{/if}}
</td>
</tr>
{{/each}}
{{/if}}
<tr style="height:16px !important;"></tr>
</tbody>
</table>
created_at:
type: string
description: Creation time
example: 2022-04-19T12:41:43.662Z
created_by:
type: string
description: Created by
example: 100042
updated_at:
type: string
description: Last update time
example: 2022-04-20T12:41:43.662Z
updated_by:
type: string
description: Updated by
example: 100042
config: {}
examples:
ExampleMain:
value:
_id: 03be777b-3cf8-4bff-bb0c-253fd1128479
_title: Example Customer
customer_number: 123
first_name: Example
last_name: Customer
title: Prof.
salutation: Ms. / Mrs.
birthdate: "2018-03-03"
email:
- email: [email protected]
_tags: ["primary"]
- email: [email protected]
phone:
- phone: "+49123456789"
_tags: ["primary", "support"]
- phone: "+49504305025"
address:
- _tags: ["primary", "delivery"]
country: Germany
city: Köln
postal_code: "50825"
street: Im Mediapark
street_number: "8a"
additional_info: "11th floor"
- _tags: ["billing"]
country: Finland
city: Köln
postal_code: "50670"
street: Im Mediapark
street_number: "8a"
additional_info: ""
account:
- status: Active
_id: c8d20ff6-df7a-465a-a26e-e5d28c2a3f79
tax_id: 123abc
name: name
email:
- email: [email protected]
_tags: ["primary"]
- email: [email protected]
phone:
- phone: "+49123456789"
_tags: ["primary", "support"]
- phone: "+49504305025"
address:
- _tags: ["primary", "delivery"]
country: Germany
city: Köln
postal_code: "50825"
street: Im Mediapark
street_number: "8a"
additional_info: "11th floor"
ExampleContactEntity:
value:
_id: 03be777b-3cf8-4bff-bb0c-253fd1128479
_title: Example Customer
customer_number: 123
first_name: Example
last_name: Customer
title: Prof.
salutation: Ms. / Mrs.
birthdate: "2018-03-03"
email:
- email: [email protected]
_tags: ["primary"]
- email: [email protected]
phone:
- phone: "+49123456789"
_tags: ["primary", "support"]
- phone: "+49504305025"
address:
- _tags: ["primary", "delivery"]
country: Germany
city: Köln
postal_code: "50825"
street: Im Mediapark
street_number: "8a"
additional_info: "11th floor"
- _tags: ["billing"]
country: Finland
city: Köln
postal_code: "50670"
street: Im Mediapark
street_number: "8a"
additional_info: ""
account:
- status: Active
_id: c8d20ff6-df7a-465a-a26e-e5d28c2a3f79
tax_id: 123abc
name: name
email:
- email: [email protected]
_tags: ["primary"]
- email: [email protected]
phone:
- phone: "+49123456789"
_tags: ["primary", "support"]
- phone: "+49504305025"
address:
- _tags: ["primary", "delivery"]
country: Germany
city: KölnSS
postal_code: "50825"
street: Im Mediapark
street_number: "8a"
additional_info: "11th floor"
ExampleAccountEntity:
value:
_id: c8d20ff6-df7a-465a-a26e-e5d28c2a3f79
status: Active
name: TestGmbH
tax_id: 123abc
email:
- email: [email protected]
_tags: ["primary"]
- email: [email protected]
phone:
- phone: "+49123456789"
_tags: ["primary", "support"]
- phone: "+49504305025"
address:
- _tags: ["primary", "delivery"]
country: Germany
city: Köln
postal_code: "50825"
street: Im Mediapark
street_number: "8a"
additional_info: "11th floor"
- _tags: ["billing"]
country: Finland
city: Köln
postal_code: "50670"
street: Im Mediapark
street_number: "8a"
additional_info: ""
contacts:
customer_number: 123
first_name: Example
last_name: Customer
title: Prof.
salutation: Ms. / Mrs.
birthdate: "2018-03-03"
email:
- email: [email protected]
_tags: ["primary"]
- email: [email protected]
phone:
- phone: "+49123456789"
_tags: ["primary", "support"]
- phone: "+49504305025"
address:
- _tags: ["primary", "delivery"]
country: Germany
city: Köln
postal_code: "50825"
street: Im Mediapark
street_number: "8a"
additional_info: "11th floor"
- _tags: ["billing"]
country: Finland
city: Köln
postal_code: "50670"
street: Im Mediapark
street_number: "8a"
additional_info: ""
ExampleProductEntity:
value:
_id: fa5292c8-2d0a-44c6-95e8-929e98bd5001
type: product
code: nbvq7nz03815
name: Product name
active: true
unitLabel: Unit label
shippable: true
priceOptions:
- unitAmount: "EUR 349,99"
type: "One Time"
sales_tax": "Standard (19%)"
tax_behavior: "Exclusive (Price amount excludes Tax)"
description: "My additional options 1"
billingScheme: "Per Unit"
tiersMode: "Standard"
_id: "d6d1148c-7d6f-4c09-9bba-07d217ecebbc"
_schema: "price"
_org: "749660"
_created_at: "2021-10-13T04:04:46.845Z"
_updated_at: "2021-10-13T04:04:46.845Z"
_title: "My additional options 1"
entity_id: "d6d1148c-7d6f-4c09-9bba-07d217ecebbc"
- unitAmount: "EUR 99,999.45"
type: "Recurring"
billingPeriod: "Monthly"
active: true
sales_tax: "Standard (19%)"
tax_behavior: "Inclusive (Price amount includes Tax)"
description: "The fear"
billingScheme: "Per Unit"
tiersMode: "Standard"
_id: "27516b31-dc5a-432f-9ad8-d3678962e104"
_schema: "price"
_org: "749660"
_created_at: "2021-10-13T04:05:52.023Z"
_updated_at: "2021-10-13T04:05:52.023Z"
_title: "The fear"
entity_id: "27516b31-dc5a-432f-9ad8-d3678962e104"
ExampleOrganization:
value:
id: "123450"
name: Organization name
description: This is description
email: [email protected]
phone: + 49 8888 888
website: www.my-website.org
street: Im Mediapark
street_number: "8a"
city: Köln
postal_code: "50670"
country: Finland
signature: "Organization signature"
ExampleBrand:
value:
id: 123453
name: Brand name
signature: "Signature"
ExampleUser:
value:
id: 123452
name: User full name
email: [email protected]
organization_id: 123450
phone: + 49 8888 888
ExampleCustomVariables:
value:
- variable: {? {invitationLink: ''} : ''}
value: https://partner.epilot.cloud/activate-account?user_name=htny.pct%2Btet%40gmail.com&confirmation_code=EdXPRW19
TableConfig:
value:
header:
style:
color: "#222"
background: "#fff"
font-size: "16px"
font-family: ""
padding-bottom: "4px"
font-weight: "bold"
border: "none !important"
text-align: "left"
columns:
- id: "item"
index: 0
label:
en: "Item"
de: "Produkt"
enable: true
draggable: true
style:
padding-left: "10px"
max-width: "30%"
- id: "quantity"
index: 1
label:
en: "Quanity"
de: "Menge"
enable: true
draggable: true
style:
min-width: "60px"
width: "30%"
- id: "tax"
index: 2
label:
en: "Tax Rate"
de: "Steuerrate"
enable: true
draggable: true
style:
min-width: "60px"
width: "30%"
- id: "unit_amount"
index: 3
label:
en: "Unit Net Price"
de: "Nettopreis"
enable: true
draggable: true
style:
min-width: "60px"
width: "30%"
- id: "net_total"
index: 4
label:
en: "Net total"
de: "Nettosumme"
enable: true,
draggable: true
style:
min-width: "60px"
width: "30%"
- id: "gross_total"
index: 5
label:
en: "Total"
de: "Gesamt"
enable: true
draggable: true
style:
min-width: "60px"
width: "30%"