@wix/bex-utils 2.78.0 → 2.79.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/@wix/ambassador-dealer-v1-offer-event/build/cjs/builders.impl.d.ts +22 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/builders.impl.js +275 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/builders.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/http.impl.d.ts +50 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/http.impl.js +250 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/http.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/meta.impl.d.ts +16 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/meta.impl.js +81 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/meta.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/client/proto-generated.d.ts +7116 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/proto-generated.d.ts +3557 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/proto-generated.js +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/server/proto-generated.d.ts +7113 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/rpc.impl.d.ts +59 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/rpc.impl.js +109 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/rpc.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/types.impl.d.ts +343 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/types.impl.js +42 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/cjs/types.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/builders.impl.d.ts +22 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/builders.impl.js +239 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/builders.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/http.impl.d.ts +50 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/http.impl.js +244 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/http.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/meta.impl.d.ts +16 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/meta.impl.js +56 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/meta.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/rpc.impl.d.ts +59 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/rpc.impl.js +84 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/rpc.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/types.impl.d.ts +343 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/types.impl.js +39 -0
- package/@wix/ambassador-dealer-v1-offer-event/build/es/types.impl.js.map +1 -0
- package/@wix/ambassador-dealer-v1-offer-event/builders/package.json +7 -0
- package/@wix/ambassador-dealer-v1-offer-event/http/package.json +7 -0
- package/@wix/ambassador-dealer-v1-offer-event/meta/package.json +7 -0
- package/@wix/ambassador-dealer-v1-offer-event/package.json +52 -0
- package/@wix/ambassador-dealer-v1-offer-event/rpc/package.json +6 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/annotations.proto +451 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/api_errors.proto +142 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/callback.proto +163 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/entity.proto +127 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/errors.proto +127 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/idempotency.proto +25 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/permissions.proto +46 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/subscription.proto +32 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/api/validations.proto +142 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/address.proto +148 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/bulk.proto +53 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/identification.proto +40 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/image.proto +8 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/media.proto +280 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/money.proto +32 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/pageurl.proto +32 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/paging.proto +121 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/query.proto +799 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/sorting.proto +36 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/spi.proto +85 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/tags.proto +55 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/common/wixlink.proto +203 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/dealerOfferEvents/api/v1/dealer-offer-events.proto +211 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/dealerOfferEvents/api/v1/event.proto +131 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/http/field_mask.proto +46 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/spi/definitions.proto +187 -0
- package/@wix/ambassador-dealer-v1-offer-event/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-dealer-v1-offer-event/types/package.json +7 -0
- package/package.json +4 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package wix.common;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
option java_package = "com.wix.common";
|
|
7
|
+
|
|
8
|
+
import "wix/api/annotations.proto";
|
|
9
|
+
import "wix/api/validations.proto";
|
|
10
|
+
import "google/protobuf/wrappers.proto";
|
|
11
|
+
|
|
12
|
+
// Common money formats.
|
|
13
|
+
|
|
14
|
+
// Money.
|
|
15
|
+
// Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.
|
|
16
|
+
message Money {
|
|
17
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
18
|
+
field: "value"
|
|
19
|
+
field: "currency"
|
|
20
|
+
};
|
|
21
|
+
// For special cases, one may use just a value without currency to represent money. But:
|
|
22
|
+
// - money MUST be a decimal string, as described below
|
|
23
|
+
// - currency MUST be provided somewhere at the top level of your object
|
|
24
|
+
|
|
25
|
+
// Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.
|
|
26
|
+
string value = 1 [(.wix.api.format) = DECIMAL_VALUE];
|
|
27
|
+
// Currency code. Must be valid ISO 4217 currency code (e.g., USD).
|
|
28
|
+
string currency = 2 [(.wix.api.format) = CURRENCY];
|
|
29
|
+
// Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative.
|
|
30
|
+
google.protobuf.StringValue formatted_value = 3;
|
|
31
|
+
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package wix.common;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
option java_outer_classname = "PageUrlProto";
|
|
7
|
+
option java_package = "com.wix.common";
|
|
8
|
+
|
|
9
|
+
import "wix/api/annotations.proto";
|
|
10
|
+
import "google/protobuf/wrappers.proto";
|
|
11
|
+
|
|
12
|
+
message PageUrl {
|
|
13
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
14
|
+
field: "base"
|
|
15
|
+
field: "path"
|
|
16
|
+
};
|
|
17
|
+
// The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`.
|
|
18
|
+
string base = 1;
|
|
19
|
+
// The relative path for the page within the site. For example, `/product-page/a-product`.
|
|
20
|
+
string path = 2;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message PageUrlV2 {
|
|
24
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
25
|
+
field: "relative_path"
|
|
26
|
+
field: "url"
|
|
27
|
+
};
|
|
28
|
+
// The relative path for the page within the site. For example, `/product-page/a-product`.
|
|
29
|
+
string relative_path = 1;
|
|
30
|
+
// The page's full URL. For example, `https://mysite.com/product-page/a-product`.
|
|
31
|
+
google.protobuf.StringValue url = 2;
|
|
32
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package wix.common;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/wrappers.proto";
|
|
6
|
+
import "wix/api/annotations.proto";
|
|
7
|
+
import "wix/api/validations.proto";
|
|
8
|
+
|
|
9
|
+
option java_multiple_files = true;
|
|
10
|
+
option java_package = "com.wix.common";
|
|
11
|
+
|
|
12
|
+
message Paging {
|
|
13
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
14
|
+
field: "limit"
|
|
15
|
+
field: "offset"
|
|
16
|
+
};
|
|
17
|
+
// Number of items to load.
|
|
18
|
+
google.protobuf.Int32Value limit = 1 [(.wix.api.min) = 0];
|
|
19
|
+
// Number of items to skip in the current sort order.
|
|
20
|
+
google.protobuf.Int32Value offset = 2 [(.wix.api.min) = 0];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message CursorPaging {
|
|
24
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
25
|
+
field: "limit"
|
|
26
|
+
field: "cursor"
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
// Maximum number of items to return in the results.
|
|
30
|
+
google.protobuf.Int32Value limit = 1 [(.wix.api.min) = 0, (.wix.api.max) = 100];
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
Pointer to the next or previous page in the list of results.
|
|
34
|
+
|
|
35
|
+
Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
36
|
+
Not relevant for the first request.
|
|
37
|
+
*/
|
|
38
|
+
google.protobuf.StringValue cursor = 2 [(.wix.api.maxLength) = 16000];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message PagingMetadata {
|
|
42
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
43
|
+
field: "count"
|
|
44
|
+
field: "offset"
|
|
45
|
+
};
|
|
46
|
+
// Number of items returned in the response.
|
|
47
|
+
google.protobuf.Int32Value count = 1;
|
|
48
|
+
// Offset that was requested.
|
|
49
|
+
google.protobuf.Int32Value offset = 2;
|
|
50
|
+
// Total number of items that match the query.
|
|
51
|
+
google.protobuf.Int32Value total = 3;
|
|
52
|
+
// Flag that indicates the server failed to calculate the `total` field.
|
|
53
|
+
google.protobuf.BoolValue too_many_to_count = 4;
|
|
54
|
+
// Indicates if there are more results after the current page.
|
|
55
|
+
// If `true`, another page of results can be retrieved.
|
|
56
|
+
// If `false`, this is the last page.
|
|
57
|
+
google.protobuf.BoolValue has_next = 5 [(.wix.api.field_exposure) = PRIVATE];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
message PagingMetadataV2 {
|
|
61
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
62
|
+
field: "count"
|
|
63
|
+
field: "offset"
|
|
64
|
+
};
|
|
65
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
66
|
+
field: "count"
|
|
67
|
+
field: "cursors"
|
|
68
|
+
};
|
|
69
|
+
// Number of items returned in the response.
|
|
70
|
+
google.protobuf.Int32Value count = 1;
|
|
71
|
+
// Offset that was requested.
|
|
72
|
+
google.protobuf.Int32Value offset = 2;
|
|
73
|
+
// Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set.
|
|
74
|
+
google.protobuf.Int32Value total = 3;
|
|
75
|
+
// Flag that indicates the server failed to calculate the `total` field.
|
|
76
|
+
google.protobuf.BoolValue too_many_to_count = 4;
|
|
77
|
+
// Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.
|
|
78
|
+
Cursors cursors = 5;
|
|
79
|
+
// Indicates if there are more results after the current page.
|
|
80
|
+
// If `true`, another page of results can be retrieved.
|
|
81
|
+
// If `false`, this is the last page.
|
|
82
|
+
google.protobuf.BoolValue has_next = 6 [(.wix.api.field_exposure) = PRIVATE];
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
// This is the preferred message for cursor-paging enabled services
|
|
87
|
+
|
|
88
|
+
message CursorPagingMetadata {
|
|
89
|
+
option (.wix.api.decomposite_of) = "wix.common.PagingMetadataV2";
|
|
90
|
+
|
|
91
|
+
// Number of items returned in current page.
|
|
92
|
+
google.protobuf.Int32Value count = 1;
|
|
93
|
+
|
|
94
|
+
// Cursor strings that point to the next page, previous page, or both.
|
|
95
|
+
Cursors cursors = 2;
|
|
96
|
+
|
|
97
|
+
/*
|
|
98
|
+
Whether there are more pages to retrieve following the current page.
|
|
99
|
+
|
|
100
|
+
+ `true`: Another page of results can be retrieved.
|
|
101
|
+
+ `false`: This is the last page.
|
|
102
|
+
*/
|
|
103
|
+
google.protobuf.BoolValue has_next = 3;
|
|
104
|
+
|
|
105
|
+
// Total number of items matching the filter.
|
|
106
|
+
// Available only on the first page of *Search* results, not included in *Query* or *List* results.
|
|
107
|
+
// If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.
|
|
108
|
+
google.protobuf.Int32Value total = 4 [(.wix.api.field_exposure) = PRIVATE];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
message Cursors {
|
|
112
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
113
|
+
field: "next"
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
// Cursor string pointing to the next page in the list of results.
|
|
117
|
+
google.protobuf.StringValue next = 1 [(.wix.api.maxLength) = 16000];
|
|
118
|
+
|
|
119
|
+
// Cursor pointing to the previous page in the list of results.
|
|
120
|
+
google.protobuf.StringValue prev = 2 [(.wix.api.maxLength) = 16000];
|
|
121
|
+
}
|