@viu/emporix-sdk 2.36.0 → 2.37.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.
- package/CHANGELOG.md +57 -0
- package/dist/cart.d.cts +21 -3
- package/dist/cart.d.ts +21 -3
- package/dist/category.d.cts +4 -0
- package/dist/category.d.ts +4 -0
- package/dist/{chunk-LQFRJSVT.js → chunk-5XZ6MSXW.js} +13 -2
- package/dist/chunk-5XZ6MSXW.js.map +1 -0
- package/dist/{chunk-PRN3T6TY.js → chunk-UA4BM6OP.js} +20 -2
- package/dist/chunk-UA4BM6OP.js.map +1 -0
- package/dist/companies.d.cts +2 -2
- package/dist/companies.d.ts +2 -2
- package/dist/contacts.d.cts +1 -1
- package/dist/contacts.d.ts +1 -1
- package/dist/{customer-groups-D0OCm8kJ.d.cts → customer-groups-BfHDqExS.d.cts} +2 -0
- package/dist/{customer-groups-WSt4aT62.d.ts → customer-groups-Cs6-Cwzg.d.ts} +2 -0
- package/dist/customer-groups.cjs +11 -0
- package/dist/customer-groups.cjs.map +1 -1
- package/dist/customer-groups.d.cts +1 -1
- package/dist/customer-groups.d.ts +1 -1
- package/dist/customer-groups.js +1 -1
- package/dist/customer.cjs +18 -0
- package/dist/customer.cjs.map +1 -1
- package/dist/customer.d.cts +65 -1
- package/dist/customer.d.ts +65 -1
- package/dist/customer.js +1 -1
- package/dist/index.cjs +30 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +546 -22
- package/dist/index.d.ts +546 -22
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/locations.d.cts +2 -2
- package/dist/locations.d.ts +2 -2
- package/dist/media.d.cts +24 -0
- package/dist/media.d.ts +24 -0
- package/dist/orders.d.cts +118 -6
- package/dist/orders.d.ts +118 -6
- package/dist/payment.d.cts +39 -0
- package/dist/payment.d.ts +39 -0
- package/dist/price.d.cts +45 -0
- package/dist/price.d.ts +45 -0
- package/dist/product.d.cts +20 -0
- package/dist/product.d.ts +20 -0
- package/dist/{types.gen-C_wOXYZB.d.cts → types.gen-fWB4nrso.d.cts} +52 -0
- package/dist/{types.gen-C_wOXYZB.d.ts → types.gen-fWB4nrso.d.ts} +52 -0
- package/package.json +5 -5
- package/dist/chunk-LQFRJSVT.js.map +0 -1
- package/dist/chunk-PRN3T6TY.js.map +0 -1
package/dist/price.d.cts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { C as ClientContext, b as AuthContext } from './context-DK8jg6y5.cjs';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Price
|
|
5
|
+
*/
|
|
3
6
|
type CreatePrice = {
|
|
4
7
|
/**
|
|
5
8
|
* Custom price identifier. If not provided, it is automatically generated.
|
|
@@ -60,6 +63,9 @@ type CreatePrice = {
|
|
|
60
63
|
};
|
|
61
64
|
};
|
|
62
65
|
};
|
|
66
|
+
/**
|
|
67
|
+
* Price
|
|
68
|
+
*/
|
|
63
69
|
type GetPrice = {
|
|
64
70
|
/**
|
|
65
71
|
* A price identifier.
|
|
@@ -113,6 +119,8 @@ type GetPrice = {
|
|
|
113
119
|
metadata?: PriceMetadata;
|
|
114
120
|
};
|
|
115
121
|
/**
|
|
122
|
+
* error
|
|
123
|
+
*
|
|
116
124
|
* Schema for API-specific errors.
|
|
117
125
|
*/
|
|
118
126
|
type ErrorMessage = {
|
|
@@ -192,9 +200,14 @@ type SalePrice = {
|
|
|
192
200
|
description?: string;
|
|
193
201
|
};
|
|
194
202
|
/**
|
|
203
|
+
* currency
|
|
204
|
+
*
|
|
195
205
|
* Currency code, compliant with the ISO 4217 standard.
|
|
196
206
|
*/
|
|
197
207
|
type Currency = string;
|
|
208
|
+
/**
|
|
209
|
+
* Price matching (by session context) request body
|
|
210
|
+
*/
|
|
198
211
|
type MatchByContext = {
|
|
199
212
|
/**
|
|
200
213
|
* List of items (products or prices) for which the prices should be matched.
|
|
@@ -221,6 +234,9 @@ type MatchByContext = {
|
|
|
221
234
|
quantity?: MatchMeasurementUnit;
|
|
222
235
|
}>;
|
|
223
236
|
};
|
|
237
|
+
/**
|
|
238
|
+
* Price matching (by criteria) request body
|
|
239
|
+
*/
|
|
224
240
|
type Match = {
|
|
225
241
|
/**
|
|
226
242
|
* Code of the currency in which the prices should be matched, as defined in the Currency Service.
|
|
@@ -451,6 +467,8 @@ type TierValueRetrieval = {
|
|
|
451
467
|
priceValue: number;
|
|
452
468
|
};
|
|
453
469
|
/**
|
|
470
|
+
* priceModelDefinitionCreation
|
|
471
|
+
*
|
|
454
472
|
* A price model can be defined as a repeatable way to sell products in a market with the intention of making a profit. Price models define basic structures for prices.
|
|
455
473
|
*/
|
|
456
474
|
type PriceModelDefinitionCreation = {
|
|
@@ -561,6 +579,9 @@ type TierDetailsDefinitionCreation = {
|
|
|
561
579
|
[key: string]: unknown;
|
|
562
580
|
};
|
|
563
581
|
};
|
|
582
|
+
/**
|
|
583
|
+
* matchResponse
|
|
584
|
+
*/
|
|
564
585
|
type MatchResponse = {
|
|
565
586
|
/**
|
|
566
587
|
* Price's unique identifier, generated when the price is created.
|
|
@@ -736,6 +757,9 @@ type Location = {
|
|
|
736
757
|
*/
|
|
737
758
|
countryCode: string;
|
|
738
759
|
};
|
|
760
|
+
/**
|
|
761
|
+
* priceListCore
|
|
762
|
+
*/
|
|
739
763
|
type PriceListCore = {
|
|
740
764
|
currency?: Currency;
|
|
741
765
|
/**
|
|
@@ -776,6 +800,9 @@ type PriceListCore = {
|
|
|
776
800
|
[key: string]: unknown;
|
|
777
801
|
};
|
|
778
802
|
};
|
|
803
|
+
/**
|
|
804
|
+
* priceListCreation
|
|
805
|
+
*/
|
|
779
806
|
type PriceListCreation = {
|
|
780
807
|
/**
|
|
781
808
|
* Custom price list identifier. If not provided, it is automatically generated.
|
|
@@ -803,6 +830,9 @@ type PriceListCreation = {
|
|
|
803
830
|
};
|
|
804
831
|
};
|
|
805
832
|
};
|
|
833
|
+
/**
|
|
834
|
+
* priceListUpdate
|
|
835
|
+
*/
|
|
806
836
|
type PriceListUpdate = PriceListCreation & {
|
|
807
837
|
metadata?: {
|
|
808
838
|
/**
|
|
@@ -817,6 +847,9 @@ type PriceListUpdate = PriceListCreation & {
|
|
|
817
847
|
};
|
|
818
848
|
};
|
|
819
849
|
};
|
|
850
|
+
/**
|
|
851
|
+
* priceList
|
|
852
|
+
*/
|
|
820
853
|
type PriceList$1 = {
|
|
821
854
|
/**
|
|
822
855
|
* Unique identifier of the price that belongs to a price list, generated when the price is created and added to the price list.
|
|
@@ -838,6 +871,9 @@ type PriceList$1 = {
|
|
|
838
871
|
};
|
|
839
872
|
};
|
|
840
873
|
};
|
|
874
|
+
/**
|
|
875
|
+
* priceListPriceCore
|
|
876
|
+
*/
|
|
841
877
|
type PriceListPriceCore = {
|
|
842
878
|
/**
|
|
843
879
|
* Item for which the price is defined.
|
|
@@ -871,6 +907,9 @@ type PriceListPriceCore = {
|
|
|
871
907
|
priceValue?: number;
|
|
872
908
|
}>;
|
|
873
909
|
};
|
|
910
|
+
/**
|
|
911
|
+
* priceListPriceCreation
|
|
912
|
+
*/
|
|
874
913
|
type PriceListPriceCreation = PriceListPriceCore & {
|
|
875
914
|
/**
|
|
876
915
|
* Custom price identifier. If not provided, it is automatically generated.
|
|
@@ -880,6 +919,9 @@ type PriceListPriceCreation = PriceListPriceCore & {
|
|
|
880
919
|
[key: string]: unknown;
|
|
881
920
|
};
|
|
882
921
|
};
|
|
922
|
+
/**
|
|
923
|
+
* priceListPriceUpdate
|
|
924
|
+
*/
|
|
883
925
|
type PriceListPriceUpdate = {
|
|
884
926
|
/**
|
|
885
927
|
* Unique identifier of the price that belongs to a price list, generated when the price is created and added to the price list.
|
|
@@ -893,6 +935,9 @@ type PriceListPriceUpdate = {
|
|
|
893
935
|
version: number;
|
|
894
936
|
};
|
|
895
937
|
};
|
|
938
|
+
/**
|
|
939
|
+
* priceListPrice
|
|
940
|
+
*/
|
|
896
941
|
type PriceListPrice$1 = {
|
|
897
942
|
/**
|
|
898
943
|
* Unique identifier of the price that belongs to a price list, generated when the price is created and added to the price list.
|
package/dist/price.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { C as ClientContext, b as AuthContext } from './context-DK8jg6y5.js';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Price
|
|
5
|
+
*/
|
|
3
6
|
type CreatePrice = {
|
|
4
7
|
/**
|
|
5
8
|
* Custom price identifier. If not provided, it is automatically generated.
|
|
@@ -60,6 +63,9 @@ type CreatePrice = {
|
|
|
60
63
|
};
|
|
61
64
|
};
|
|
62
65
|
};
|
|
66
|
+
/**
|
|
67
|
+
* Price
|
|
68
|
+
*/
|
|
63
69
|
type GetPrice = {
|
|
64
70
|
/**
|
|
65
71
|
* A price identifier.
|
|
@@ -113,6 +119,8 @@ type GetPrice = {
|
|
|
113
119
|
metadata?: PriceMetadata;
|
|
114
120
|
};
|
|
115
121
|
/**
|
|
122
|
+
* error
|
|
123
|
+
*
|
|
116
124
|
* Schema for API-specific errors.
|
|
117
125
|
*/
|
|
118
126
|
type ErrorMessage = {
|
|
@@ -192,9 +200,14 @@ type SalePrice = {
|
|
|
192
200
|
description?: string;
|
|
193
201
|
};
|
|
194
202
|
/**
|
|
203
|
+
* currency
|
|
204
|
+
*
|
|
195
205
|
* Currency code, compliant with the ISO 4217 standard.
|
|
196
206
|
*/
|
|
197
207
|
type Currency = string;
|
|
208
|
+
/**
|
|
209
|
+
* Price matching (by session context) request body
|
|
210
|
+
*/
|
|
198
211
|
type MatchByContext = {
|
|
199
212
|
/**
|
|
200
213
|
* List of items (products or prices) for which the prices should be matched.
|
|
@@ -221,6 +234,9 @@ type MatchByContext = {
|
|
|
221
234
|
quantity?: MatchMeasurementUnit;
|
|
222
235
|
}>;
|
|
223
236
|
};
|
|
237
|
+
/**
|
|
238
|
+
* Price matching (by criteria) request body
|
|
239
|
+
*/
|
|
224
240
|
type Match = {
|
|
225
241
|
/**
|
|
226
242
|
* Code of the currency in which the prices should be matched, as defined in the Currency Service.
|
|
@@ -451,6 +467,8 @@ type TierValueRetrieval = {
|
|
|
451
467
|
priceValue: number;
|
|
452
468
|
};
|
|
453
469
|
/**
|
|
470
|
+
* priceModelDefinitionCreation
|
|
471
|
+
*
|
|
454
472
|
* A price model can be defined as a repeatable way to sell products in a market with the intention of making a profit. Price models define basic structures for prices.
|
|
455
473
|
*/
|
|
456
474
|
type PriceModelDefinitionCreation = {
|
|
@@ -561,6 +579,9 @@ type TierDetailsDefinitionCreation = {
|
|
|
561
579
|
[key: string]: unknown;
|
|
562
580
|
};
|
|
563
581
|
};
|
|
582
|
+
/**
|
|
583
|
+
* matchResponse
|
|
584
|
+
*/
|
|
564
585
|
type MatchResponse = {
|
|
565
586
|
/**
|
|
566
587
|
* Price's unique identifier, generated when the price is created.
|
|
@@ -736,6 +757,9 @@ type Location = {
|
|
|
736
757
|
*/
|
|
737
758
|
countryCode: string;
|
|
738
759
|
};
|
|
760
|
+
/**
|
|
761
|
+
* priceListCore
|
|
762
|
+
*/
|
|
739
763
|
type PriceListCore = {
|
|
740
764
|
currency?: Currency;
|
|
741
765
|
/**
|
|
@@ -776,6 +800,9 @@ type PriceListCore = {
|
|
|
776
800
|
[key: string]: unknown;
|
|
777
801
|
};
|
|
778
802
|
};
|
|
803
|
+
/**
|
|
804
|
+
* priceListCreation
|
|
805
|
+
*/
|
|
779
806
|
type PriceListCreation = {
|
|
780
807
|
/**
|
|
781
808
|
* Custom price list identifier. If not provided, it is automatically generated.
|
|
@@ -803,6 +830,9 @@ type PriceListCreation = {
|
|
|
803
830
|
};
|
|
804
831
|
};
|
|
805
832
|
};
|
|
833
|
+
/**
|
|
834
|
+
* priceListUpdate
|
|
835
|
+
*/
|
|
806
836
|
type PriceListUpdate = PriceListCreation & {
|
|
807
837
|
metadata?: {
|
|
808
838
|
/**
|
|
@@ -817,6 +847,9 @@ type PriceListUpdate = PriceListCreation & {
|
|
|
817
847
|
};
|
|
818
848
|
};
|
|
819
849
|
};
|
|
850
|
+
/**
|
|
851
|
+
* priceList
|
|
852
|
+
*/
|
|
820
853
|
type PriceList$1 = {
|
|
821
854
|
/**
|
|
822
855
|
* Unique identifier of the price that belongs to a price list, generated when the price is created and added to the price list.
|
|
@@ -838,6 +871,9 @@ type PriceList$1 = {
|
|
|
838
871
|
};
|
|
839
872
|
};
|
|
840
873
|
};
|
|
874
|
+
/**
|
|
875
|
+
* priceListPriceCore
|
|
876
|
+
*/
|
|
841
877
|
type PriceListPriceCore = {
|
|
842
878
|
/**
|
|
843
879
|
* Item for which the price is defined.
|
|
@@ -871,6 +907,9 @@ type PriceListPriceCore = {
|
|
|
871
907
|
priceValue?: number;
|
|
872
908
|
}>;
|
|
873
909
|
};
|
|
910
|
+
/**
|
|
911
|
+
* priceListPriceCreation
|
|
912
|
+
*/
|
|
874
913
|
type PriceListPriceCreation = PriceListPriceCore & {
|
|
875
914
|
/**
|
|
876
915
|
* Custom price identifier. If not provided, it is automatically generated.
|
|
@@ -880,6 +919,9 @@ type PriceListPriceCreation = PriceListPriceCore & {
|
|
|
880
919
|
[key: string]: unknown;
|
|
881
920
|
};
|
|
882
921
|
};
|
|
922
|
+
/**
|
|
923
|
+
* priceListPriceUpdate
|
|
924
|
+
*/
|
|
883
925
|
type PriceListPriceUpdate = {
|
|
884
926
|
/**
|
|
885
927
|
* Unique identifier of the price that belongs to a price list, generated when the price is created and added to the price list.
|
|
@@ -893,6 +935,9 @@ type PriceListPriceUpdate = {
|
|
|
893
935
|
version: number;
|
|
894
936
|
};
|
|
895
937
|
};
|
|
938
|
+
/**
|
|
939
|
+
* priceListPrice
|
|
940
|
+
*/
|
|
896
941
|
type PriceListPrice$1 = {
|
|
897
942
|
/**
|
|
898
943
|
* Unique identifier of the price that belongs to a price list, generated when the price is created and added to the price list.
|
package/dist/product.d.cts
CHANGED
|
@@ -19,12 +19,18 @@ type ProductTemplateBase = {
|
|
|
19
19
|
*/
|
|
20
20
|
attributes: Array<ProductTemplateAttribute>;
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* productTemplateCreation
|
|
24
|
+
*/
|
|
22
25
|
type ProductTemplateCreation = ProductTemplateBase & {
|
|
23
26
|
/**
|
|
24
27
|
* Identifier of the product template.
|
|
25
28
|
*/
|
|
26
29
|
id?: string;
|
|
27
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* productTemplateAttribute
|
|
33
|
+
*/
|
|
28
34
|
type ProductTemplateAttribute = {
|
|
29
35
|
/**
|
|
30
36
|
* An identifier of the attribute. The key is used as a field name in a product instance created based on the product template. The key can contain only alphanumeric characters.
|
|
@@ -62,6 +68,9 @@ type ProductTemplateAttribute = {
|
|
|
62
68
|
[key: string]: unknown;
|
|
63
69
|
};
|
|
64
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* productTemplateMetadata
|
|
73
|
+
*/
|
|
65
74
|
type ProductTemplateMetadata = {
|
|
66
75
|
/**
|
|
67
76
|
* Schema url of the variant attributes.
|
|
@@ -87,6 +96,9 @@ type ProductTemplateMetadata = {
|
|
|
87
96
|
type ProductTemplateResponse = ProductTemplateCreation & {
|
|
88
97
|
metadata?: ProductTemplateMetadata;
|
|
89
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* productTemplateUpdate
|
|
101
|
+
*/
|
|
90
102
|
type ProductTemplateUpdate = ProductTemplateBase & {
|
|
91
103
|
metadata: {
|
|
92
104
|
/**
|
|
@@ -149,6 +161,8 @@ type ResourceLocation = {
|
|
|
149
161
|
yrn?: Yrn;
|
|
150
162
|
};
|
|
151
163
|
/**
|
|
164
|
+
* YRN (attribute)
|
|
165
|
+
*
|
|
152
166
|
* In YaaS, a global resource identifier is a Uniform Resource Name (URN) with a custom YaaS schema and is called a YaaS Resource Name, or YRN.
|
|
153
167
|
*
|
|
154
168
|
* It is a unique identifier, which stores information about a resource, such as its type, ID or name of the tenant.
|
|
@@ -710,6 +724,9 @@ type Vendor = {
|
|
|
710
724
|
*/
|
|
711
725
|
name?: string;
|
|
712
726
|
};
|
|
727
|
+
/**
|
|
728
|
+
* relatedItem
|
|
729
|
+
*/
|
|
713
730
|
type RelatedItem = {
|
|
714
731
|
/**
|
|
715
732
|
* Identifier of a product which is in the relationship with the main product. The product identifier has to exist.
|
|
@@ -720,6 +737,9 @@ type RelatedItem = {
|
|
|
720
737
|
*/
|
|
721
738
|
type: string;
|
|
722
739
|
};
|
|
740
|
+
/**
|
|
741
|
+
* bulkResponse
|
|
742
|
+
*/
|
|
723
743
|
type BulkResponse = {
|
|
724
744
|
/**
|
|
725
745
|
* Index of the processed product, matching the price position in request body.
|
package/dist/product.d.ts
CHANGED
|
@@ -19,12 +19,18 @@ type ProductTemplateBase = {
|
|
|
19
19
|
*/
|
|
20
20
|
attributes: Array<ProductTemplateAttribute>;
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* productTemplateCreation
|
|
24
|
+
*/
|
|
22
25
|
type ProductTemplateCreation = ProductTemplateBase & {
|
|
23
26
|
/**
|
|
24
27
|
* Identifier of the product template.
|
|
25
28
|
*/
|
|
26
29
|
id?: string;
|
|
27
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* productTemplateAttribute
|
|
33
|
+
*/
|
|
28
34
|
type ProductTemplateAttribute = {
|
|
29
35
|
/**
|
|
30
36
|
* An identifier of the attribute. The key is used as a field name in a product instance created based on the product template. The key can contain only alphanumeric characters.
|
|
@@ -62,6 +68,9 @@ type ProductTemplateAttribute = {
|
|
|
62
68
|
[key: string]: unknown;
|
|
63
69
|
};
|
|
64
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* productTemplateMetadata
|
|
73
|
+
*/
|
|
65
74
|
type ProductTemplateMetadata = {
|
|
66
75
|
/**
|
|
67
76
|
* Schema url of the variant attributes.
|
|
@@ -87,6 +96,9 @@ type ProductTemplateMetadata = {
|
|
|
87
96
|
type ProductTemplateResponse = ProductTemplateCreation & {
|
|
88
97
|
metadata?: ProductTemplateMetadata;
|
|
89
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* productTemplateUpdate
|
|
101
|
+
*/
|
|
90
102
|
type ProductTemplateUpdate = ProductTemplateBase & {
|
|
91
103
|
metadata: {
|
|
92
104
|
/**
|
|
@@ -149,6 +161,8 @@ type ResourceLocation = {
|
|
|
149
161
|
yrn?: Yrn;
|
|
150
162
|
};
|
|
151
163
|
/**
|
|
164
|
+
* YRN (attribute)
|
|
165
|
+
*
|
|
152
166
|
* In YaaS, a global resource identifier is a Uniform Resource Name (URN) with a custom YaaS schema and is called a YaaS Resource Name, or YRN.
|
|
153
167
|
*
|
|
154
168
|
* It is a unique identifier, which stores information about a resource, such as its type, ID or name of the tenant.
|
|
@@ -710,6 +724,9 @@ type Vendor = {
|
|
|
710
724
|
*/
|
|
711
725
|
name?: string;
|
|
712
726
|
};
|
|
727
|
+
/**
|
|
728
|
+
* relatedItem
|
|
729
|
+
*/
|
|
713
730
|
type RelatedItem = {
|
|
714
731
|
/**
|
|
715
732
|
* Identifier of a product which is in the relationship with the main product. The product identifier has to exist.
|
|
@@ -720,6 +737,9 @@ type RelatedItem = {
|
|
|
720
737
|
*/
|
|
721
738
|
type: string;
|
|
722
739
|
};
|
|
740
|
+
/**
|
|
741
|
+
* bulkResponse
|
|
742
|
+
*/
|
|
723
743
|
type BulkResponse = {
|
|
724
744
|
/**
|
|
725
745
|
* Index of the processed product, matching the price position in request body.
|
|
@@ -20,6 +20,9 @@ type Metadata = MetadataUpdate & {
|
|
|
20
20
|
*/
|
|
21
21
|
modifiedAt?: string;
|
|
22
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* Customer group
|
|
25
|
+
*/
|
|
23
26
|
type CustomerGroup = {
|
|
24
27
|
/**
|
|
25
28
|
* The unique identifier of the customer group.
|
|
@@ -34,12 +37,18 @@ type CustomerGroup = {
|
|
|
34
37
|
*/
|
|
35
38
|
role?: string;
|
|
36
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* Resource
|
|
42
|
+
*/
|
|
37
43
|
type ResourceId = {
|
|
38
44
|
/**
|
|
39
45
|
* Id of a resource.
|
|
40
46
|
*/
|
|
41
47
|
id?: string;
|
|
42
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* Legal Entity
|
|
51
|
+
*/
|
|
43
52
|
type LegalEntity = {
|
|
44
53
|
/**
|
|
45
54
|
* The legal entity unique identifier.
|
|
@@ -80,6 +89,9 @@ type LegalEntity = {
|
|
|
80
89
|
[key: string]: unknown;
|
|
81
90
|
};
|
|
82
91
|
};
|
|
92
|
+
/**
|
|
93
|
+
* Account Limit additional information
|
|
94
|
+
*/
|
|
83
95
|
type AccountLimit = {
|
|
84
96
|
/**
|
|
85
97
|
* The account limit currency.
|
|
@@ -90,6 +102,9 @@ type AccountLimit = {
|
|
|
90
102
|
*/
|
|
91
103
|
value?: number;
|
|
92
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* Legal Entity additional information
|
|
107
|
+
*/
|
|
93
108
|
type LegalInfo = {
|
|
94
109
|
/**
|
|
95
110
|
* The legal name of the entity.
|
|
@@ -117,9 +132,14 @@ type LegalInfo = {
|
|
|
117
132
|
registrationId?: string;
|
|
118
133
|
};
|
|
119
134
|
/**
|
|
135
|
+
* Restriction
|
|
136
|
+
*
|
|
120
137
|
* List of restrictions which determine who can view or manage the Legal Entity.
|
|
121
138
|
*/
|
|
122
139
|
type Restrictions = Array<string> | null;
|
|
140
|
+
/**
|
|
141
|
+
* Legal Entity create payload
|
|
142
|
+
*/
|
|
123
143
|
type LegalEntityCreate = {
|
|
124
144
|
/**
|
|
125
145
|
* Custom legal entity identifier. If not provided, it is automatically generated.
|
|
@@ -160,6 +180,9 @@ type LegalEntityCreate = {
|
|
|
160
180
|
[key: string]: unknown;
|
|
161
181
|
};
|
|
162
182
|
};
|
|
183
|
+
/**
|
|
184
|
+
* Legal Entity update payload
|
|
185
|
+
*/
|
|
163
186
|
type LegalEntityUpdate = {
|
|
164
187
|
/**
|
|
165
188
|
* The name of the legal entity.
|
|
@@ -196,6 +219,9 @@ type LegalEntityUpdate = {
|
|
|
196
219
|
[key: string]: unknown;
|
|
197
220
|
};
|
|
198
221
|
};
|
|
222
|
+
/**
|
|
223
|
+
* Customer
|
|
224
|
+
*/
|
|
199
225
|
type Customer = {
|
|
200
226
|
/**
|
|
201
227
|
* The customer unique identifier.
|
|
@@ -218,6 +244,9 @@ type Customer = {
|
|
|
218
244
|
*/
|
|
219
245
|
phone?: string;
|
|
220
246
|
};
|
|
247
|
+
/**
|
|
248
|
+
* Contact Assignment
|
|
249
|
+
*/
|
|
221
250
|
type ContactAssignment = {
|
|
222
251
|
/**
|
|
223
252
|
* The customer assignment unique identifier.
|
|
@@ -241,6 +270,9 @@ type ContactAssignment = {
|
|
|
241
270
|
[key: string]: unknown;
|
|
242
271
|
};
|
|
243
272
|
};
|
|
273
|
+
/**
|
|
274
|
+
* Contact Assignment
|
|
275
|
+
*/
|
|
244
276
|
type ContactAssignmentWithoutExpandedLegalEntity = {
|
|
245
277
|
/**
|
|
246
278
|
* The customer assignment unique identifier.
|
|
@@ -266,6 +298,9 @@ type ContactAssignmentWithoutExpandedLegalEntity = {
|
|
|
266
298
|
primary?: boolean;
|
|
267
299
|
metadata?: Metadata;
|
|
268
300
|
};
|
|
301
|
+
/**
|
|
302
|
+
* Contact Assignment create payload
|
|
303
|
+
*/
|
|
269
304
|
type ContactAssignmentCreate = {
|
|
270
305
|
/**
|
|
271
306
|
* Custom assignment identifier. If not provided, it is automatically generated.
|
|
@@ -305,6 +340,9 @@ type ContactAssignmentCreate = {
|
|
|
305
340
|
[key: string]: unknown;
|
|
306
341
|
};
|
|
307
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* Contact Assignment update payload
|
|
345
|
+
*/
|
|
308
346
|
type ContactAssignmentUpdate = {
|
|
309
347
|
/**
|
|
310
348
|
* The legal entity unique identifier.
|
|
@@ -340,6 +378,9 @@ type ContactAssignmentUpdate = {
|
|
|
340
378
|
[key: string]: unknown;
|
|
341
379
|
};
|
|
342
380
|
};
|
|
381
|
+
/**
|
|
382
|
+
* Location
|
|
383
|
+
*/
|
|
343
384
|
type Location = {
|
|
344
385
|
/**
|
|
345
386
|
* The location unique identifier.
|
|
@@ -362,6 +403,9 @@ type Location = {
|
|
|
362
403
|
[key: string]: unknown;
|
|
363
404
|
};
|
|
364
405
|
};
|
|
406
|
+
/**
|
|
407
|
+
* Location create payload
|
|
408
|
+
*/
|
|
365
409
|
type LocationCreate = {
|
|
366
410
|
/**
|
|
367
411
|
* Custom location identifier. If not provided, it is automatically generated.
|
|
@@ -384,6 +428,9 @@ type LocationCreate = {
|
|
|
384
428
|
[key: string]: unknown;
|
|
385
429
|
};
|
|
386
430
|
};
|
|
431
|
+
/**
|
|
432
|
+
* Location update payload
|
|
433
|
+
*/
|
|
387
434
|
type LocationUpdate = {
|
|
388
435
|
/**
|
|
389
436
|
* The name of the location
|
|
@@ -402,6 +449,9 @@ type LocationUpdate = {
|
|
|
402
449
|
[key: string]: unknown;
|
|
403
450
|
};
|
|
404
451
|
};
|
|
452
|
+
/**
|
|
453
|
+
* Contact Details
|
|
454
|
+
*/
|
|
405
455
|
type ContactDetails = {
|
|
406
456
|
/**
|
|
407
457
|
* The list of contact emails.
|
|
@@ -441,6 +491,8 @@ type ContactDetails = {
|
|
|
441
491
|
tags?: Array<string>;
|
|
442
492
|
};
|
|
443
493
|
/**
|
|
494
|
+
* metadata_create
|
|
495
|
+
*
|
|
444
496
|
* Metadata request.
|
|
445
497
|
*/
|
|
446
498
|
type MetadataCreate = {
|