@shushed/helpers 0.0.201 → 0.0.202-bug-erp-770-20251202001825
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 +48 -48
- package/dist/index.js +167 -41
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3238,11 +3238,11 @@ declare const schema$e: {
|
|
|
3238
3238
|
readonly maximum: 2085;
|
|
3239
3239
|
};
|
|
3240
3240
|
readonly journey_label: {
|
|
3241
|
-
readonly type: readonly ["string"];
|
|
3242
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
3241
|
+
readonly type: readonly ["string", "null"];
|
|
3242
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
3243
3243
|
};
|
|
3244
3244
|
readonly psp_reference: {
|
|
3245
|
-
readonly type:
|
|
3245
|
+
readonly type: "string";
|
|
3246
3246
|
};
|
|
3247
3247
|
readonly card_brand: {
|
|
3248
3248
|
readonly type: readonly ["string", "null"];
|
|
@@ -3293,7 +3293,7 @@ declare const schema$e: {
|
|
|
3293
3293
|
readonly created_by: {
|
|
3294
3294
|
readonly anyOf: readonly [{
|
|
3295
3295
|
readonly type: "string";
|
|
3296
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
3296
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
3297
3297
|
}, {
|
|
3298
3298
|
readonly type: "string";
|
|
3299
3299
|
readonly format: "email";
|
|
@@ -6676,11 +6676,11 @@ declare const schema$d: {
|
|
|
6676
6676
|
readonly maximum: 2085;
|
|
6677
6677
|
};
|
|
6678
6678
|
readonly journey_label: {
|
|
6679
|
-
readonly type: readonly ["string"];
|
|
6680
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
6679
|
+
readonly type: readonly ["string", "null"];
|
|
6680
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
6681
6681
|
};
|
|
6682
6682
|
readonly psp_reference: {
|
|
6683
|
-
readonly type:
|
|
6683
|
+
readonly type: "string";
|
|
6684
6684
|
};
|
|
6685
6685
|
readonly card_brand: {
|
|
6686
6686
|
readonly type: readonly ["string", "null"];
|
|
@@ -6731,7 +6731,7 @@ declare const schema$d: {
|
|
|
6731
6731
|
readonly created_by: {
|
|
6732
6732
|
readonly anyOf: readonly [{
|
|
6733
6733
|
readonly type: "string";
|
|
6734
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
6734
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
6735
6735
|
}, {
|
|
6736
6736
|
readonly type: "string";
|
|
6737
6737
|
readonly format: "email";
|
|
@@ -10114,11 +10114,11 @@ declare const schema$c: {
|
|
|
10114
10114
|
readonly maximum: 2085;
|
|
10115
10115
|
};
|
|
10116
10116
|
readonly journey_label: {
|
|
10117
|
-
readonly type: readonly ["string"];
|
|
10118
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
10117
|
+
readonly type: readonly ["string", "null"];
|
|
10118
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
10119
10119
|
};
|
|
10120
10120
|
readonly psp_reference: {
|
|
10121
|
-
readonly type:
|
|
10121
|
+
readonly type: "string";
|
|
10122
10122
|
};
|
|
10123
10123
|
readonly card_brand: {
|
|
10124
10124
|
readonly type: readonly ["string", "null"];
|
|
@@ -10169,7 +10169,7 @@ declare const schema$c: {
|
|
|
10169
10169
|
readonly created_by: {
|
|
10170
10170
|
readonly anyOf: readonly [{
|
|
10171
10171
|
readonly type: "string";
|
|
10172
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
10172
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
10173
10173
|
}, {
|
|
10174
10174
|
readonly type: "string";
|
|
10175
10175
|
readonly format: "email";
|
|
@@ -13546,11 +13546,11 @@ declare const schema$b: {
|
|
|
13546
13546
|
readonly maximum: 2085;
|
|
13547
13547
|
};
|
|
13548
13548
|
readonly journey_label: {
|
|
13549
|
-
readonly type: readonly ["string"];
|
|
13550
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
13549
|
+
readonly type: readonly ["string", "null"];
|
|
13550
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
13551
13551
|
};
|
|
13552
13552
|
readonly psp_reference: {
|
|
13553
|
-
readonly type:
|
|
13553
|
+
readonly type: "string";
|
|
13554
13554
|
};
|
|
13555
13555
|
readonly card_brand: {
|
|
13556
13556
|
readonly type: readonly ["string", "null"];
|
|
@@ -13601,7 +13601,7 @@ declare const schema$b: {
|
|
|
13601
13601
|
readonly created_by: {
|
|
13602
13602
|
readonly anyOf: readonly [{
|
|
13603
13603
|
readonly type: "string";
|
|
13604
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
13604
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
13605
13605
|
}, {
|
|
13606
13606
|
readonly type: "string";
|
|
13607
13607
|
readonly format: "email";
|
|
@@ -16984,11 +16984,11 @@ declare const schema$a: {
|
|
|
16984
16984
|
readonly maximum: 2085;
|
|
16985
16985
|
};
|
|
16986
16986
|
readonly journey_label: {
|
|
16987
|
-
readonly type: readonly ["string"];
|
|
16988
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
16987
|
+
readonly type: readonly ["string", "null"];
|
|
16988
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
16989
16989
|
};
|
|
16990
16990
|
readonly psp_reference: {
|
|
16991
|
-
readonly type:
|
|
16991
|
+
readonly type: "string";
|
|
16992
16992
|
};
|
|
16993
16993
|
readonly card_brand: {
|
|
16994
16994
|
readonly type: readonly ["string", "null"];
|
|
@@ -17039,7 +17039,7 @@ declare const schema$a: {
|
|
|
17039
17039
|
readonly created_by: {
|
|
17040
17040
|
readonly anyOf: readonly [{
|
|
17041
17041
|
readonly type: "string";
|
|
17042
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
17042
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
17043
17043
|
}, {
|
|
17044
17044
|
readonly type: "string";
|
|
17045
17045
|
readonly format: "email";
|
|
@@ -20420,11 +20420,11 @@ declare const schema$9: {
|
|
|
20420
20420
|
readonly maximum: 2085;
|
|
20421
20421
|
};
|
|
20422
20422
|
readonly journey_label: {
|
|
20423
|
-
readonly type: readonly ["string"];
|
|
20424
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
20423
|
+
readonly type: readonly ["string", "null"];
|
|
20424
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
20425
20425
|
};
|
|
20426
20426
|
readonly psp_reference: {
|
|
20427
|
-
readonly type:
|
|
20427
|
+
readonly type: "string";
|
|
20428
20428
|
};
|
|
20429
20429
|
readonly card_brand: {
|
|
20430
20430
|
readonly type: readonly ["string", "null"];
|
|
@@ -20475,7 +20475,7 @@ declare const schema$9: {
|
|
|
20475
20475
|
readonly created_by: {
|
|
20476
20476
|
readonly anyOf: readonly [{
|
|
20477
20477
|
readonly type: "string";
|
|
20478
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
20478
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
20479
20479
|
}, {
|
|
20480
20480
|
readonly type: "string";
|
|
20481
20481
|
readonly format: "email";
|
|
@@ -24575,11 +24575,11 @@ declare const schema$5: {
|
|
|
24575
24575
|
readonly maximum: 2085;
|
|
24576
24576
|
};
|
|
24577
24577
|
readonly journey_label: {
|
|
24578
|
-
readonly type: readonly ["string"];
|
|
24579
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
24578
|
+
readonly type: readonly ["string", "null"];
|
|
24579
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
24580
24580
|
};
|
|
24581
24581
|
readonly psp_reference: {
|
|
24582
|
-
readonly type:
|
|
24582
|
+
readonly type: "string";
|
|
24583
24583
|
};
|
|
24584
24584
|
readonly card_brand: {
|
|
24585
24585
|
readonly type: readonly ["string", "null"];
|
|
@@ -24630,7 +24630,7 @@ declare const schema$5: {
|
|
|
24630
24630
|
readonly created_by: {
|
|
24631
24631
|
readonly anyOf: readonly [{
|
|
24632
24632
|
readonly type: "string";
|
|
24633
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
24633
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
24634
24634
|
}, {
|
|
24635
24635
|
readonly type: "string";
|
|
24636
24636
|
readonly format: "email";
|
|
@@ -26826,11 +26826,11 @@ declare const MainModuleObj: {
|
|
|
26826
26826
|
readonly maximum: 2085;
|
|
26827
26827
|
};
|
|
26828
26828
|
readonly journey_label: {
|
|
26829
|
-
readonly type: readonly ["string"];
|
|
26830
|
-
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM"];
|
|
26829
|
+
readonly type: readonly ["string", "null"];
|
|
26830
|
+
readonly enum: readonly ["CHECKOUT", "POS", "EXPRESS", "MOTO", "SYSTEM", null];
|
|
26831
26831
|
};
|
|
26832
26832
|
readonly psp_reference: {
|
|
26833
|
-
readonly type:
|
|
26833
|
+
readonly type: "string";
|
|
26834
26834
|
};
|
|
26835
26835
|
readonly card_brand: {
|
|
26836
26836
|
readonly type: readonly ["string", "null"];
|
|
@@ -26881,7 +26881,7 @@ declare const MainModuleObj: {
|
|
|
26881
26881
|
readonly created_by: {
|
|
26882
26882
|
readonly anyOf: readonly [{
|
|
26883
26883
|
readonly type: "string";
|
|
26884
|
-
readonly enum: readonly ["CUSTOMER", "SYSTEM"];
|
|
26884
|
+
readonly enum: readonly ["CUSTOMER", "SYSTEM", "CENTRA", "SITOO", "STOREFRONT", "MOTO"];
|
|
26885
26885
|
}, {
|
|
26886
26886
|
readonly type: "string";
|
|
26887
26887
|
readonly format: "email";
|
|
@@ -31023,12 +31023,12 @@ interface Payment$6 {
|
|
|
31023
31023
|
card_token?: (string | null);
|
|
31024
31024
|
expiration_month?: (number | null);
|
|
31025
31025
|
expiration_year?: (number | null);
|
|
31026
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
31026
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
31027
31027
|
psp_reference: string;
|
|
31028
31028
|
card_brand?: (string | null);
|
|
31029
31029
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
31030
31030
|
amount: Money$9;
|
|
31031
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
31031
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
31032
31032
|
[k: string]: unknown;
|
|
31033
31033
|
}
|
|
31034
31034
|
interface Money$9 {
|
|
@@ -31323,12 +31323,12 @@ interface Payment$5 {
|
|
|
31323
31323
|
card_token?: (string | null);
|
|
31324
31324
|
expiration_month?: (number | null);
|
|
31325
31325
|
expiration_year?: (number | null);
|
|
31326
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
31326
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
31327
31327
|
psp_reference: string;
|
|
31328
31328
|
card_brand?: (string | null);
|
|
31329
31329
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
31330
31330
|
amount: Money$8;
|
|
31331
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
31331
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
31332
31332
|
[k: string]: unknown;
|
|
31333
31333
|
}
|
|
31334
31334
|
interface Money$8 {
|
|
@@ -31623,12 +31623,12 @@ interface Payment$4 {
|
|
|
31623
31623
|
card_token?: (string | null);
|
|
31624
31624
|
expiration_month?: (number | null);
|
|
31625
31625
|
expiration_year?: (number | null);
|
|
31626
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
31626
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
31627
31627
|
psp_reference: string;
|
|
31628
31628
|
card_brand?: (string | null);
|
|
31629
31629
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
31630
31630
|
amount: Money$7;
|
|
31631
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
31631
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
31632
31632
|
[k: string]: unknown;
|
|
31633
31633
|
}
|
|
31634
31634
|
interface Money$7 {
|
|
@@ -31923,12 +31923,12 @@ interface Payment$3 {
|
|
|
31923
31923
|
card_token?: (string | null);
|
|
31924
31924
|
expiration_month?: (number | null);
|
|
31925
31925
|
expiration_year?: (number | null);
|
|
31926
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
31926
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
31927
31927
|
psp_reference: string;
|
|
31928
31928
|
card_brand?: (string | null);
|
|
31929
31929
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
31930
31930
|
amount: Money$6;
|
|
31931
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
31931
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
31932
31932
|
[k: string]: unknown;
|
|
31933
31933
|
}
|
|
31934
31934
|
interface Money$6 {
|
|
@@ -32224,12 +32224,12 @@ interface Payment$2 {
|
|
|
32224
32224
|
card_token?: (string | null);
|
|
32225
32225
|
expiration_month?: (number | null);
|
|
32226
32226
|
expiration_year?: (number | null);
|
|
32227
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
32227
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
32228
32228
|
psp_reference: string;
|
|
32229
32229
|
card_brand?: (string | null);
|
|
32230
32230
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
32231
32231
|
amount: Money$5;
|
|
32232
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
32232
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
32233
32233
|
[k: string]: unknown;
|
|
32234
32234
|
}
|
|
32235
32235
|
interface Money$5 {
|
|
@@ -32525,12 +32525,12 @@ interface Payment$1 {
|
|
|
32525
32525
|
card_token?: (string | null);
|
|
32526
32526
|
expiration_month?: (number | null);
|
|
32527
32527
|
expiration_year?: (number | null);
|
|
32528
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
32528
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
32529
32529
|
psp_reference: string;
|
|
32530
32530
|
card_brand?: (string | null);
|
|
32531
32531
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
32532
32532
|
amount: Money$4;
|
|
32533
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
32533
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
32534
32534
|
[k: string]: unknown;
|
|
32535
32535
|
}
|
|
32536
32536
|
interface Money$4 {
|
|
@@ -32931,12 +32931,12 @@ interface __MainSchema$a {
|
|
|
32931
32931
|
card_token?: (string | null);
|
|
32932
32932
|
expiration_month?: (number | null);
|
|
32933
32933
|
expiration_year?: (number | null);
|
|
32934
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
32934
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
32935
32935
|
psp_reference: string;
|
|
32936
32936
|
card_brand?: (string | null);
|
|
32937
32937
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
32938
32938
|
amount: Money$2;
|
|
32939
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
32939
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
32940
32940
|
[k: string]: unknown;
|
|
32941
32941
|
}
|
|
32942
32942
|
interface Money$2 {
|
|
@@ -33585,12 +33585,12 @@ interface Payment {
|
|
|
33585
33585
|
card_token?: (string | null);
|
|
33586
33586
|
expiration_month?: (number | null);
|
|
33587
33587
|
expiration_year?: (number | null);
|
|
33588
|
-
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM");
|
|
33588
|
+
journey_label: ("CHECKOUT" | "POS" | "EXPRESS" | "MOTO" | "SYSTEM" | null);
|
|
33589
33589
|
psp_reference: string;
|
|
33590
33590
|
card_brand?: (string | null);
|
|
33591
33591
|
status: ("CAPTURED" | "FAILED" | "FAILED-3DS" | "CANCELLED");
|
|
33592
33592
|
amount: Money$1;
|
|
33593
|
-
created_by: (("CUSTOMER" | "SYSTEM") | string);
|
|
33593
|
+
created_by: (("CUSTOMER" | "SYSTEM" | "CENTRA" | "SITOO" | "STOREFRONT" | "MOTO") | string);
|
|
33594
33594
|
[k: string]: unknown;
|
|
33595
33595
|
}
|
|
33596
33596
|
interface Money$1 {
|