@joeygrable94/utm-src-pub-validators 0.0.117 → 0.0.119
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.cjs +1122 -966
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +209 -55
- package/dist/index.d.ts +209 -55
- package/dist/index.js +1092 -952
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var v = require('valibot');
|
|
4
4
|
|
|
5
5
|
function _interopNamespace(e) {
|
|
6
6
|
if (e && e.__esModule) return e;
|
|
@@ -20,7 +20,7 @@ function _interopNamespace(e) {
|
|
|
20
20
|
return Object.freeze(n);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var v__namespace = /*#__PURE__*/_interopNamespace(v);
|
|
24
24
|
|
|
25
25
|
// src/actions/generics.actions.ts
|
|
26
26
|
|
|
@@ -149,89 +149,91 @@ var LIMIT_MIN_UTM_TERM = 1;
|
|
|
149
149
|
var LIMIT_MAX_UTM_TERM = 2028;
|
|
150
150
|
var LIMIT_MIN_UTM_ID = 1;
|
|
151
151
|
var LIMIT_MAX_UTM_ID = 2030;
|
|
152
|
-
var IsValidReferenceId =
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
var IsValidReferenceId = v__namespace.pipe(
|
|
153
|
+
v__namespace.number("please provide a valid id"),
|
|
154
|
+
v__namespace.minValue(0, "please provide a valid id")
|
|
155
155
|
);
|
|
156
|
-
var IsValidReferenceDocumentId =
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
156
|
+
var IsValidReferenceDocumentId = v__namespace.pipe(
|
|
157
|
+
v__namespace.string("please provide a valid document id"),
|
|
158
|
+
v__namespace.minLength(1),
|
|
159
|
+
v__namespace.maxLength(255)
|
|
160
160
|
);
|
|
161
|
-
var VPage = () =>
|
|
162
|
-
var
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
161
|
+
var VPage = () => v__namespace.optional(v__namespace.pipe(v__namespace.number(), v__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT)));
|
|
162
|
+
var VPageRequired = () => v__namespace.pipe(v__namespace.number(), v__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT));
|
|
163
|
+
var VSize = (maxSize) => v__namespace.optional(
|
|
164
|
+
v__namespace.pipe(
|
|
165
|
+
v__namespace.number(),
|
|
166
|
+
v__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
167
|
+
v__namespace.maxValue(maxSize)
|
|
167
168
|
)
|
|
168
169
|
);
|
|
169
|
-
var
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
var VSizeRequired = (maxSize) => v__namespace.pipe(v__namespace.number(), v__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT), v__namespace.maxValue(maxSize));
|
|
171
|
+
var IsValidCost = v__namespace.pipe(
|
|
172
|
+
v__namespace.number("please enter a cost value"),
|
|
173
|
+
v__namespace.minValue(0),
|
|
174
|
+
v__namespace.maxValue(
|
|
173
175
|
1e6,
|
|
174
176
|
"your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions"
|
|
175
177
|
)
|
|
176
178
|
);
|
|
177
|
-
var IsValidOrUndefinedCost =
|
|
178
|
-
var IsValidLabel =
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
var IsValidOrUndefinedCost = v__namespace.optional(IsValidCost);
|
|
180
|
+
var IsValidLabel = v__namespace.pipe(
|
|
181
|
+
v__namespace.string("please provide a label"),
|
|
182
|
+
v__namespace.trim(),
|
|
183
|
+
v__namespace.minLength(
|
|
182
184
|
LIMIT_MIN_LABEL,
|
|
183
185
|
`the label is too short, it must be at least ${LIMIT_MIN_LABEL} characters`
|
|
184
186
|
),
|
|
185
|
-
|
|
187
|
+
v__namespace.maxLength(
|
|
186
188
|
LIMIT_MAX_LABEL,
|
|
187
189
|
`the label is too long, it must be ${LIMIT_MAX_LABEL} characters or less`
|
|
188
190
|
)
|
|
189
191
|
);
|
|
190
|
-
var IsValidOrUndefinedLabel =
|
|
191
|
-
var IsValidValue =
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
var IsValidOrUndefinedLabel = v__namespace.optional(IsValidLabel);
|
|
193
|
+
var IsValidValue = v__namespace.pipe(
|
|
194
|
+
v__namespace.string("please provide a value"),
|
|
195
|
+
v__namespace.trim(),
|
|
196
|
+
v__namespace.minLength(
|
|
195
197
|
LIMIT_MIN_VALUE,
|
|
196
198
|
`the value is too short, it must be at least ${LIMIT_MIN_VALUE} characters`
|
|
197
199
|
),
|
|
198
|
-
|
|
200
|
+
v__namespace.maxLength(
|
|
199
201
|
LIMIT_MAX_VALUE,
|
|
200
202
|
`the value is too long, it must be ${LIMIT_MAX_VALUE} characters or less`
|
|
201
203
|
),
|
|
202
|
-
|
|
204
|
+
v__namespace.regex(REGEX_VALUE, `the value ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
203
205
|
);
|
|
204
|
-
var IsValidOrUndefinedValue =
|
|
205
|
-
var IsValidDescription =
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
206
|
+
var IsValidOrUndefinedValue = v__namespace.optional(IsValidValue);
|
|
207
|
+
var IsValidDescription = v__namespace.nullable(
|
|
208
|
+
v__namespace.pipe(
|
|
209
|
+
v__namespace.string("the description must be a string"),
|
|
210
|
+
v__namespace.trim(),
|
|
211
|
+
v__namespace.maxLength(
|
|
210
212
|
LIMIT_MAX_DESCRIPTION,
|
|
211
213
|
`the description is too long, it must be ${LIMIT_MAX_DESCRIPTION} characters or less`
|
|
212
214
|
)
|
|
213
215
|
)
|
|
214
216
|
);
|
|
215
|
-
var IsValidOrUndefinedDescription =
|
|
216
|
-
var IsValidIsActive =
|
|
217
|
-
var IsValidOrUndefinedIsActive =
|
|
218
|
-
var IsValidIsSecure =
|
|
219
|
-
var IsValidOrUndefinedIsSecure =
|
|
220
|
-
var IsValidIsBoolean =
|
|
221
|
-
var IsValidOrUndefinedIsBoolean =
|
|
222
|
-
var IsValidName =
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
217
|
+
var IsValidOrUndefinedDescription = v__namespace.optional(IsValidDescription);
|
|
218
|
+
var IsValidIsActive = v__namespace.boolean("isActive must be a boolean");
|
|
219
|
+
var IsValidOrUndefinedIsActive = v__namespace.optional(IsValidIsActive);
|
|
220
|
+
var IsValidIsSecure = v__namespace.boolean("isSecure must be a boolean");
|
|
221
|
+
var IsValidOrUndefinedIsSecure = v__namespace.optional(IsValidIsSecure);
|
|
222
|
+
var IsValidIsBoolean = v__namespace.boolean("this value must be either true or false");
|
|
223
|
+
var IsValidOrUndefinedIsBoolean = v__namespace.optional(IsValidIsBoolean);
|
|
224
|
+
var IsValidName = v__namespace.pipe(
|
|
225
|
+
v__namespace.string("please provide a name"),
|
|
226
|
+
v__namespace.trim(),
|
|
227
|
+
v__namespace.minLength(
|
|
226
228
|
LIMIT_MIN_NAME,
|
|
227
229
|
`the name is too short, it must be at least ${LIMIT_MIN_NAME} characters`
|
|
228
230
|
),
|
|
229
|
-
|
|
231
|
+
v__namespace.maxLength(
|
|
230
232
|
LIMIT_MAX_NAME,
|
|
231
233
|
`the name is too long, it must be ${LIMIT_MAX_NAME} characters or less`
|
|
232
234
|
)
|
|
233
235
|
);
|
|
234
|
-
var IsValidOrUndefinedName =
|
|
236
|
+
var IsValidOrUndefinedName = v__namespace.optional(IsValidName);
|
|
235
237
|
|
|
236
238
|
// src/permissions/permission.abac.ts
|
|
237
239
|
var ROLE_PERMISSIONS = {
|
|
@@ -721,381 +723,381 @@ function hasPermission(user, permissions, resource, action, data) {
|
|
|
721
723
|
}
|
|
722
724
|
|
|
723
725
|
// src/validators/validators-group-users.ts
|
|
724
|
-
var IsValidGroupUserScopes =
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
726
|
+
var IsValidGroupUserScopes = v__namespace.pipe(
|
|
727
|
+
v__namespace.array(
|
|
728
|
+
v__namespace.pipe(
|
|
729
|
+
v__namespace.string("please provide a valid scope"),
|
|
730
|
+
v__namespace.picklist(GROUP_ENTITY_SCOPES, "invalid group scope provided")
|
|
729
731
|
),
|
|
730
732
|
"please provide an array of scopes"
|
|
731
733
|
),
|
|
732
|
-
|
|
733
|
-
|
|
734
|
+
v__namespace.minLength(1, "you must provide at least one scope"),
|
|
735
|
+
v__namespace.maxLength(
|
|
734
736
|
GROUP_ENTITY_SCOPES.length,
|
|
735
737
|
"you cannot provide more scopes than available"
|
|
736
738
|
)
|
|
737
739
|
);
|
|
738
|
-
var IsValidGroupValue =
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
740
|
+
var IsValidGroupValue = v__namespace.pipe(
|
|
741
|
+
v__namespace.string("please provide a value"),
|
|
742
|
+
v__namespace.trim(),
|
|
743
|
+
v__namespace.minLength(
|
|
742
744
|
LIMIT_MIN_GROUP_VALUE,
|
|
743
745
|
`the value is too short, it must be at least ${LIMIT_MIN_GROUP_VALUE} characters`
|
|
744
746
|
),
|
|
745
|
-
|
|
747
|
+
v__namespace.maxLength(
|
|
746
748
|
LIMIT_MAX_GROUP_VALUE,
|
|
747
749
|
`the value is too long, it must be ${LIMIT_MAX_GROUP_VALUE} characters or less`
|
|
748
750
|
),
|
|
749
|
-
|
|
751
|
+
v__namespace.regex(REGEX_VALUE, `the value ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
750
752
|
);
|
|
751
|
-
var IsValidOrUndefinedGroupValue =
|
|
752
|
-
var IsValidApplyValueTo =
|
|
753
|
-
var IsValidOrUndefinedApplyValueTo =
|
|
754
|
-
var IsValidApplyValueAs =
|
|
755
|
-
var IsValidOrUndefinedApplyValueAs =
|
|
756
|
-
var IsValidProductId =
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
753
|
+
var IsValidOrUndefinedGroupValue = v__namespace.optional(IsValidGroupValue);
|
|
754
|
+
var IsValidApplyValueTo = v__namespace.picklist(GroupApplyValueToOptions);
|
|
755
|
+
var IsValidOrUndefinedApplyValueTo = v__namespace.optional(IsValidApplyValueTo);
|
|
756
|
+
var IsValidApplyValueAs = v__namespace.picklist(GroupApplyValueAsOptions);
|
|
757
|
+
var IsValidOrUndefinedApplyValueAs = v__namespace.optional(IsValidApplyValueAs);
|
|
758
|
+
var IsValidProductId = v__namespace.pipe(
|
|
759
|
+
v__namespace.string("please provide a product_id"),
|
|
760
|
+
v__namespace.trim(),
|
|
761
|
+
v__namespace.minLength(
|
|
760
762
|
LIMIT_MIN_PRODUCT_ID,
|
|
761
763
|
`the product_id is too short, it must be at least ${LIMIT_MIN_PRODUCT_ID} characters`
|
|
762
764
|
),
|
|
763
|
-
|
|
765
|
+
v__namespace.maxLength(
|
|
764
766
|
LIMIT_MAX_PRODUCT_ID,
|
|
765
767
|
`the product_id is too long, it must be ${LIMIT_MAX_PRODUCT_ID} characters or less`
|
|
766
768
|
)
|
|
767
769
|
);
|
|
768
|
-
var IsValidOrUndefinedProductId =
|
|
769
|
-
var IsValidPriceId =
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
770
|
+
var IsValidOrUndefinedProductId = v__namespace.optional(IsValidProductId);
|
|
771
|
+
var IsValidPriceId = v__namespace.pipe(
|
|
772
|
+
v__namespace.string("please provide a price_id"),
|
|
773
|
+
v__namespace.trim(),
|
|
774
|
+
v__namespace.minLength(
|
|
773
775
|
LIMIT_MIN_PRICE_ID,
|
|
774
776
|
`the price_id is too short, it must be at least ${LIMIT_MIN_PRICE_ID} characters`
|
|
775
777
|
),
|
|
776
|
-
|
|
778
|
+
v__namespace.maxLength(
|
|
777
779
|
LIMIT_MAX_PRICE_ID,
|
|
778
780
|
`the price_id is too long, it must be ${LIMIT_MAX_PRICE_ID} characters or less`
|
|
779
781
|
)
|
|
780
782
|
);
|
|
781
|
-
var IsValidOrUndefinedPriceId =
|
|
782
|
-
var IsValidUnitAmount =
|
|
783
|
-
|
|
784
|
-
|
|
783
|
+
var IsValidOrUndefinedPriceId = v__namespace.optional(IsValidPriceId);
|
|
784
|
+
var IsValidUnitAmount = v__namespace.pipe(
|
|
785
|
+
v__namespace.number("please provide a unit_amount"),
|
|
786
|
+
v__namespace.minValue(
|
|
785
787
|
LIMIT_MIN_UNIT_AMOUNT,
|
|
786
788
|
`the unit_amount must be a decimal greater than or equal to ${LIMIT_MIN_UNIT_AMOUNT}`
|
|
787
789
|
)
|
|
788
790
|
);
|
|
789
|
-
var IsValidOrUndefinedUnitAmount =
|
|
790
|
-
var IsValidUnitTermInMonths =
|
|
791
|
-
|
|
792
|
-
|
|
791
|
+
var IsValidOrUndefinedUnitAmount = v__namespace.optional(IsValidUnitAmount);
|
|
792
|
+
var IsValidUnitTermInMonths = v__namespace.pipe(
|
|
793
|
+
v__namespace.number("please provide a unit_term_in_months"),
|
|
794
|
+
v__namespace.minValue(
|
|
793
795
|
LIMIT_MIN_UNIT_TERM_IN_MONTHS,
|
|
794
796
|
`the unit_term_in_months must be an integer greater than or equal to ${LIMIT_MIN_UNIT_TERM_IN_MONTHS}`
|
|
795
797
|
),
|
|
796
|
-
|
|
798
|
+
v__namespace.maxValue(
|
|
797
799
|
LIMIT_MAX_UNIT_TERM_IN_MONTHS,
|
|
798
800
|
`the unit_term_in_months must be an integer less than or equal to ${LIMIT_MAX_UNIT_TERM_IN_MONTHS}`
|
|
799
801
|
)
|
|
800
802
|
);
|
|
801
|
-
var IsValidOrUndefinedUnitTermInMonths =
|
|
802
|
-
var IsValidUrlDestination =
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
803
|
+
var IsValidOrUndefinedUnitTermInMonths = v__namespace.optional(IsValidUnitTermInMonths);
|
|
804
|
+
var IsValidUrlDestination = v__namespace.pipe(
|
|
805
|
+
v__namespace.string("please provide a url destination"),
|
|
806
|
+
v__namespace.trim(),
|
|
807
|
+
v__namespace.minLength(
|
|
806
808
|
LIMIT_MIN_DESTINATION,
|
|
807
809
|
`the url destination is too short, it must be at least ${LIMIT_MIN_DESTINATION} characters`
|
|
808
810
|
),
|
|
809
|
-
|
|
811
|
+
v__namespace.maxLength(
|
|
810
812
|
LIMIT_MAX_DESTINATION,
|
|
811
813
|
`the url destination is too long, it must be ${LIMIT_MAX_DESTINATION} characters or less`
|
|
812
814
|
),
|
|
813
|
-
|
|
815
|
+
v__namespace.url("please provide a valid url")
|
|
814
816
|
);
|
|
815
|
-
var IsValidOrUndefinedUrlDestination =
|
|
816
|
-
var IsValidUrlProtocol =
|
|
817
|
-
|
|
818
|
-
|
|
817
|
+
var IsValidOrUndefinedUrlDestination = v__namespace.optional(IsValidUrlDestination);
|
|
818
|
+
var IsValidUrlProtocol = v__namespace.pipe(
|
|
819
|
+
v__namespace.string(),
|
|
820
|
+
v__namespace.picklist(UrlProtocolOptions, "please provide a valid url protocol")
|
|
819
821
|
);
|
|
820
|
-
var IsValidOrUndefinedUrlProtocol =
|
|
821
|
-
var IsValidUrlDomain =
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
822
|
+
var IsValidOrUndefinedUrlProtocol = v__namespace.optional(IsValidUrlProtocol);
|
|
823
|
+
var IsValidUrlDomain = v__namespace.pipe(
|
|
824
|
+
v__namespace.string("please provide a domain"),
|
|
825
|
+
v__namespace.trim(),
|
|
826
|
+
v__namespace.minLength(
|
|
825
827
|
LIMIT_MIN_DOMAIN,
|
|
826
828
|
`the domain is too short, it must be at least ${LIMIT_MIN_DOMAIN} characters`
|
|
827
829
|
),
|
|
828
|
-
|
|
830
|
+
v__namespace.maxLength(
|
|
829
831
|
LIMIT_MAX_DOMAIN,
|
|
830
832
|
`the domain is too long, it must be ${LIMIT_MAX_DOMAIN} characters or less`
|
|
831
833
|
),
|
|
832
|
-
|
|
834
|
+
v__namespace.regex(REGEX_DOMAIN, ERROR_MESSAGE_REGEX_DOMAIN)
|
|
833
835
|
);
|
|
834
|
-
var IsValidOrUndefinedUrlDomain =
|
|
835
|
-
var IsValidUrlPath =
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
836
|
+
var IsValidOrUndefinedUrlDomain = v__namespace.optional(IsValidUrlDomain);
|
|
837
|
+
var IsValidUrlPath = v__namespace.pipe(
|
|
838
|
+
v__namespace.string("please provide a url path"),
|
|
839
|
+
v__namespace.trim(),
|
|
840
|
+
v__namespace.maxLength(
|
|
839
841
|
LIMIT_MAX_PATH,
|
|
840
842
|
`the url path is too long, it must be ${LIMIT_MAX_PATH} characters or less`
|
|
841
843
|
)
|
|
842
844
|
);
|
|
843
|
-
var IsValidOrUndefinedUrlPath =
|
|
844
|
-
var IsValidUrlQuery =
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
845
|
+
var IsValidOrUndefinedUrlPath = v__namespace.optional(IsValidUrlPath);
|
|
846
|
+
var IsValidUrlQuery = v__namespace.pipe(
|
|
847
|
+
v__namespace.string("please provide a url query"),
|
|
848
|
+
v__namespace.trim(),
|
|
849
|
+
v__namespace.maxLength(
|
|
848
850
|
LIMIT_MAX_QUERY,
|
|
849
851
|
`the url query is too long, it must be ${LIMIT_MAX_QUERY} characters or less`
|
|
850
852
|
)
|
|
851
853
|
);
|
|
852
|
-
var IsValidOrUndefinedUrlQuery =
|
|
853
|
-
var IsValidUrlFragment =
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
854
|
+
var IsValidOrUndefinedUrlQuery = v__namespace.optional(IsValidUrlQuery);
|
|
855
|
+
var IsValidUrlFragment = v__namespace.pipe(
|
|
856
|
+
v__namespace.string("please provide a url hash/fragment"),
|
|
857
|
+
v__namespace.trim(),
|
|
858
|
+
v__namespace.maxLength(
|
|
857
859
|
LIMIT_MAX_FRAGMENT,
|
|
858
860
|
`the url hash/fragment is too long, it must be ${LIMIT_MAX_FRAGMENT} characters or less`
|
|
859
861
|
)
|
|
860
862
|
);
|
|
861
|
-
var IsValidOrUndefinedUrlFragment =
|
|
862
|
-
var IsValidCustomerId =
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
863
|
+
var IsValidOrUndefinedUrlFragment = v__namespace.optional(IsValidUrlFragment);
|
|
864
|
+
var IsValidCustomerId = v__namespace.pipe(
|
|
865
|
+
v__namespace.string("please provide a customer ID"),
|
|
866
|
+
v__namespace.trim(),
|
|
867
|
+
v__namespace.maxLength(
|
|
866
868
|
LIMIT_MAX_STRIPE_ID,
|
|
867
869
|
`the customer ID is too long, it must be ${LIMIT_MAX_STRIPE_ID} characters or less`
|
|
868
870
|
)
|
|
869
871
|
);
|
|
870
|
-
var IsValidOrUndefinedCustomerId =
|
|
871
|
-
var IsValidSubscriptionId =
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
872
|
+
var IsValidOrUndefinedCustomerId = v__namespace.optional(IsValidCustomerId);
|
|
873
|
+
var IsValidSubscriptionId = v__namespace.pipe(
|
|
874
|
+
v__namespace.string("please provide a subscription ID"),
|
|
875
|
+
v__namespace.trim(),
|
|
876
|
+
v__namespace.maxLength(
|
|
875
877
|
LIMIT_MAX_STRIPE_ID,
|
|
876
878
|
`the subscription ID is too long, it must be ${LIMIT_MAX_STRIPE_ID} characters or less`
|
|
877
879
|
)
|
|
878
880
|
);
|
|
879
|
-
var IsValidOrUndefinedSubscriptionId =
|
|
880
|
-
var IsValidSubscriptionStatus =
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
881
|
+
var IsValidOrUndefinedSubscriptionId = v__namespace.optional(IsValidSubscriptionId);
|
|
882
|
+
var IsValidSubscriptionStatus = v__namespace.pipe(
|
|
883
|
+
v__namespace.string("please provide a subscription status"),
|
|
884
|
+
v__namespace.trim(),
|
|
885
|
+
v__namespace.picklist(SubscriptionStatusValues)
|
|
884
886
|
);
|
|
885
|
-
var IsValidOrUndefinedSubscriptionStatus =
|
|
887
|
+
var IsValidOrUndefinedSubscriptionStatus = v__namespace.optional(
|
|
886
888
|
IsValidSubscriptionStatus
|
|
887
889
|
);
|
|
888
|
-
var IsValidCurrentPeriodStart =
|
|
889
|
-
var IsValidOrUndefinedCurrentPeriodStart =
|
|
890
|
+
var IsValidCurrentPeriodStart = v__namespace.nullable(v__namespace.date());
|
|
891
|
+
var IsValidOrUndefinedCurrentPeriodStart = v__namespace.optional(
|
|
890
892
|
IsValidCurrentPeriodStart
|
|
891
893
|
);
|
|
892
|
-
var IsValidCurrentPeriodEnd =
|
|
893
|
-
var IsValidOrUndefinedCurrentPeriodEnd =
|
|
894
|
-
var IsValidTrialPeriodEnd =
|
|
895
|
-
var IsValidOrUndefinedTrialPeriodEnd =
|
|
896
|
-
var IsValidUserLimitationNumber =
|
|
897
|
-
|
|
898
|
-
|
|
894
|
+
var IsValidCurrentPeriodEnd = v__namespace.nullable(v__namespace.date());
|
|
895
|
+
var IsValidOrUndefinedCurrentPeriodEnd = v__namespace.optional(IsValidCurrentPeriodEnd);
|
|
896
|
+
var IsValidTrialPeriodEnd = v__namespace.date();
|
|
897
|
+
var IsValidOrUndefinedTrialPeriodEnd = v__namespace.optional(IsValidTrialPeriodEnd);
|
|
898
|
+
var IsValidUserLimitationNumber = v__namespace.pipe(
|
|
899
|
+
v__namespace.number(),
|
|
900
|
+
v__namespace.minValue(0, "the user limitation number must be a positive number")
|
|
899
901
|
);
|
|
900
|
-
var IsValidUserLimitationNumberFallback =
|
|
902
|
+
var IsValidUserLimitationNumberFallback = v__namespace.fallback(
|
|
901
903
|
IsValidUserLimitationNumber,
|
|
902
904
|
0
|
|
903
905
|
);
|
|
904
|
-
var IsValidOrUndefinedUserLimitationNumber =
|
|
906
|
+
var IsValidOrUndefinedUserLimitationNumber = v__namespace.optional(
|
|
905
907
|
IsValidUserLimitationNumber
|
|
906
908
|
);
|
|
907
|
-
var IsValidUsername =
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
909
|
+
var IsValidUsername = v__namespace.pipe(
|
|
910
|
+
v__namespace.string("please provide a username"),
|
|
911
|
+
v__namespace.trim(),
|
|
912
|
+
v__namespace.minLength(
|
|
911
913
|
LIMIT_MIN_USERNAME,
|
|
912
914
|
`your username is too short, it must be at least ${LIMIT_MIN_USERNAME} characters`
|
|
913
915
|
),
|
|
914
|
-
|
|
916
|
+
v__namespace.maxLength(
|
|
915
917
|
LIMIT_MAX_USERNAME,
|
|
916
918
|
`your username is too long, it must be ${LIMIT_MAX_USERNAME} characters or less`
|
|
917
919
|
),
|
|
918
|
-
|
|
920
|
+
v__namespace.regex(REGEX_VALUE, `your username ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
919
921
|
);
|
|
920
|
-
var IsValidOrUndefinedUsername =
|
|
921
|
-
var IsValidEmail =
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
922
|
+
var IsValidOrUndefinedUsername = v__namespace.optional(IsValidUsername);
|
|
923
|
+
var IsValidEmail = v__namespace.pipe(
|
|
924
|
+
v__namespace.string("please provide an email"),
|
|
925
|
+
v__namespace.trim(),
|
|
926
|
+
v__namespace.minLength(
|
|
925
927
|
LIMIT_MIN_EMAIL,
|
|
926
928
|
`your email is too short, it must be at least ${LIMIT_MIN_EMAIL} characters`
|
|
927
929
|
),
|
|
928
|
-
|
|
930
|
+
v__namespace.maxLength(
|
|
929
931
|
LIMIT_MAX_EMAIL,
|
|
930
932
|
`your email is too long, it must be ${LIMIT_MAX_EMAIL} characters or less`
|
|
931
933
|
),
|
|
932
|
-
|
|
934
|
+
v__namespace.email("please provide a valid email address")
|
|
933
935
|
);
|
|
934
|
-
var IsValidOrUndefinedEmail =
|
|
935
|
-
var IsValidPassword =
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
936
|
+
var IsValidOrUndefinedEmail = v__namespace.optional(IsValidEmail);
|
|
937
|
+
var IsValidPassword = v__namespace.pipe(
|
|
938
|
+
v__namespace.string("a password is required"),
|
|
939
|
+
v__namespace.trim(),
|
|
940
|
+
v__namespace.minLength(
|
|
939
941
|
LIMIT_MIN_PASSWORD,
|
|
940
942
|
`your password is too short, it must be at least ${LIMIT_MIN_PASSWORD} characters`
|
|
941
943
|
),
|
|
942
|
-
|
|
944
|
+
v__namespace.maxLength(
|
|
943
945
|
LIMIT_MAX_PASSWORD,
|
|
944
946
|
`your password is too long, it must be ${LIMIT_MAX_PASSWORD} characters or less`
|
|
945
947
|
)
|
|
946
948
|
);
|
|
947
|
-
var IsValidOrUndefinedPassword =
|
|
948
|
-
var IsValidProvider =
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
949
|
+
var IsValidOrUndefinedPassword = v__namespace.optional(IsValidPassword);
|
|
950
|
+
var IsValidProvider = v__namespace.pipe(
|
|
951
|
+
v__namespace.string("please enter a provider"),
|
|
952
|
+
v__namespace.trim(),
|
|
953
|
+
v__namespace.maxLength(
|
|
952
954
|
LIMIT_MAX_PROVIDER,
|
|
953
955
|
`the provider string is too long, it must be ${LIMIT_MAX_PROVIDER} characters or less`
|
|
954
956
|
)
|
|
955
957
|
);
|
|
956
|
-
var IsValidOrUndefinedProvider =
|
|
957
|
-
var IsValidConfirmed =
|
|
958
|
-
var IsValidOrUndefinedConfirmed =
|
|
959
|
-
var IsValidBlocked =
|
|
960
|
-
var IsValidOrUndefinedBlocked =
|
|
961
|
-
var IsValidUrlUtmPart =
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
958
|
+
var IsValidOrUndefinedProvider = v__namespace.optional(IsValidProvider);
|
|
959
|
+
var IsValidConfirmed = v__namespace.boolean();
|
|
960
|
+
var IsValidOrUndefinedConfirmed = v__namespace.optional(IsValidConfirmed);
|
|
961
|
+
var IsValidBlocked = v__namespace.boolean();
|
|
962
|
+
var IsValidOrUndefinedBlocked = v__namespace.optional(IsValidBlocked);
|
|
963
|
+
var IsValidUrlUtmPart = v__namespace.pipe(
|
|
964
|
+
v__namespace.string(),
|
|
965
|
+
v__namespace.trim(),
|
|
966
|
+
v__namespace.minLength(
|
|
965
967
|
LIMIT_MIN_UTM_PART,
|
|
966
968
|
`this value is too short, it must be at least ${LIMIT_MIN_UTM_PART} characters`
|
|
967
969
|
),
|
|
968
|
-
|
|
970
|
+
v__namespace.maxLength(
|
|
969
971
|
LIMIT_MAX_UTM_PART,
|
|
970
972
|
`the value is too long, it must be ${LIMIT_MAX_UTM_PART} characters or less`
|
|
971
973
|
),
|
|
972
|
-
|
|
974
|
+
v__namespace.regex(REGEX_VALUE, `value ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
973
975
|
);
|
|
974
|
-
var IsValidOrUndefinedUrlUtmPart =
|
|
975
|
-
var IsValidUrlUtmSource =
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
976
|
+
var IsValidOrUndefinedUrlUtmPart = v__namespace.optional(IsValidUrlUtmPart);
|
|
977
|
+
var IsValidUrlUtmSource = v__namespace.pipe(
|
|
978
|
+
v__namespace.string(),
|
|
979
|
+
v__namespace.trim(),
|
|
980
|
+
v__namespace.maxLength(
|
|
979
981
|
LIMIT_MAX_UTM_SOURCE,
|
|
980
982
|
`the utm_source is too long, it must be ${LIMIT_MAX_UTM_SOURCE} characters or less`
|
|
981
983
|
),
|
|
982
|
-
|
|
984
|
+
v__namespace.regex(REGEX_VALUE, `utm_source ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
983
985
|
);
|
|
984
|
-
var IsValidOrUndefinedUrlUtmSource =
|
|
985
|
-
var IsValidUrlUtmMedium =
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
986
|
+
var IsValidOrUndefinedUrlUtmSource = v__namespace.optional(IsValidUrlUtmSource);
|
|
987
|
+
var IsValidUrlUtmMedium = v__namespace.pipe(
|
|
988
|
+
v__namespace.string(),
|
|
989
|
+
v__namespace.trim(),
|
|
990
|
+
v__namespace.maxLength(
|
|
989
991
|
LIMIT_MAX_UTM_MEDIUM,
|
|
990
992
|
`the utm_medium is too long, it must be ${LIMIT_MAX_UTM_MEDIUM} characters or less`
|
|
991
993
|
),
|
|
992
|
-
|
|
994
|
+
v__namespace.regex(REGEX_VALUE, `utm_medium ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
993
995
|
);
|
|
994
|
-
var IsValidOrUndefinedUrlUtmMedium =
|
|
995
|
-
var IsValidUrlUtmCampaign =
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
996
|
+
var IsValidOrUndefinedUrlUtmMedium = v__namespace.optional(IsValidUrlUtmMedium);
|
|
997
|
+
var IsValidUrlUtmCampaign = v__namespace.pipe(
|
|
998
|
+
v__namespace.string(),
|
|
999
|
+
v__namespace.trim(),
|
|
1000
|
+
v__namespace.maxLength(
|
|
999
1001
|
LIMIT_MAX_UTM_CAMPAIGN,
|
|
1000
1002
|
`the utm_campaign is too long, it must be ${LIMIT_MAX_UTM_CAMPAIGN} characters or less`
|
|
1001
1003
|
),
|
|
1002
|
-
|
|
1004
|
+
v__namespace.regex(REGEX_VALUE, `utm_campaign ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
1003
1005
|
);
|
|
1004
|
-
var IsValidOrUndefinedUrlUtmCampaign =
|
|
1005
|
-
var IsValidUrlUtmCreativeFormat =
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1006
|
+
var IsValidOrUndefinedUrlUtmCampaign = v__namespace.optional(IsValidUrlUtmCampaign);
|
|
1007
|
+
var IsValidUrlUtmCreativeFormat = v__namespace.pipe(
|
|
1008
|
+
v__namespace.string(),
|
|
1009
|
+
v__namespace.trim(),
|
|
1010
|
+
v__namespace.maxLength(
|
|
1009
1011
|
LIMIT_MAX_UTM_CREATIVE_FORMAT,
|
|
1010
1012
|
`the utm_creative_format is too long, it must be ${LIMIT_MAX_UTM_CREATIVE_FORMAT} characters or less`
|
|
1011
1013
|
),
|
|
1012
|
-
|
|
1014
|
+
v__namespace.regex(REGEX_VALUE, `utm_creative_format ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
1013
1015
|
);
|
|
1014
|
-
var IsValidOrUndefinedUrlUtmCreativeFormat =
|
|
1016
|
+
var IsValidOrUndefinedUrlUtmCreativeFormat = v__namespace.optional(
|
|
1015
1017
|
IsValidUrlUtmCreativeFormat
|
|
1016
1018
|
);
|
|
1017
|
-
var IsValidUrlUtmContent =
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1019
|
+
var IsValidUrlUtmContent = v__namespace.pipe(
|
|
1020
|
+
v__namespace.string(),
|
|
1021
|
+
v__namespace.trim(),
|
|
1022
|
+
v__namespace.maxLength(
|
|
1021
1023
|
LIMIT_MAX_UTM_CONTENT,
|
|
1022
1024
|
`the utm_content is too long, it must be ${LIMIT_MAX_UTM_CONTENT} characters or less`
|
|
1023
1025
|
),
|
|
1024
|
-
|
|
1026
|
+
v__namespace.regex(REGEX_VALUE, `utm_content ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
1025
1027
|
);
|
|
1026
|
-
var IsValidOrUndefinedUrlUtmContent =
|
|
1027
|
-
var IsValidUrlUtmTerm =
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1028
|
+
var IsValidOrUndefinedUrlUtmContent = v__namespace.optional(IsValidUrlUtmContent);
|
|
1029
|
+
var IsValidUrlUtmTerm = v__namespace.pipe(
|
|
1030
|
+
v__namespace.string(),
|
|
1031
|
+
v__namespace.trim(),
|
|
1032
|
+
v__namespace.maxLength(
|
|
1031
1033
|
LIMIT_MAX_UTM_TERM,
|
|
1032
1034
|
`the utm_term is too long, it must be ${LIMIT_MAX_UTM_TERM} characters or less`
|
|
1033
1035
|
),
|
|
1034
|
-
|
|
1036
|
+
v__namespace.regex(REGEX_VALUE, `utm_term ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
1035
1037
|
);
|
|
1036
|
-
var IsValidOrUndefinedUrlUtmTerm =
|
|
1037
|
-
var IsValidUrlUtmId =
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1038
|
+
var IsValidOrUndefinedUrlUtmTerm = v__namespace.optional(IsValidUrlUtmTerm);
|
|
1039
|
+
var IsValidUrlUtmId = v__namespace.pipe(
|
|
1040
|
+
v__namespace.string(),
|
|
1041
|
+
v__namespace.trim(),
|
|
1042
|
+
v__namespace.maxLength(
|
|
1041
1043
|
LIMIT_MAX_UTM_ID,
|
|
1042
1044
|
`the utm_id is too long, it must be ${LIMIT_MAX_UTM_ID} characters or less`
|
|
1043
1045
|
),
|
|
1044
|
-
|
|
1046
|
+
v__namespace.regex(REGEX_VALUE, `utm_id ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
1045
1047
|
);
|
|
1046
|
-
var IsValidOrUndefinedUrlUtmId =
|
|
1048
|
+
var IsValidOrUndefinedUrlUtmId = v__namespace.optional(IsValidUrlUtmId);
|
|
1047
1049
|
|
|
1048
1050
|
// src/base/base.schema.ts
|
|
1049
|
-
var SBaseDocument =
|
|
1050
|
-
id:
|
|
1051
|
+
var SBaseDocument = v__namespace.object({
|
|
1052
|
+
id: v__namespace.number(),
|
|
1051
1053
|
documentId: IsValidReferenceDocumentId,
|
|
1052
|
-
publishedAt:
|
|
1053
|
-
createdAt:
|
|
1054
|
-
updatedAt:
|
|
1054
|
+
publishedAt: v__namespace.optional(v__namespace.string()),
|
|
1055
|
+
createdAt: v__namespace.string(),
|
|
1056
|
+
updatedAt: v__namespace.string()
|
|
1055
1057
|
});
|
|
1056
1058
|
|
|
1057
1059
|
// src/sort/sort-document.ts
|
|
1058
1060
|
var BaseDocumentSortKeys = Object.keys(
|
|
1059
1061
|
SBaseDocument.entries
|
|
1060
1062
|
);
|
|
1061
|
-
var VSortDocument =
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1063
|
+
var VSortDocument = v__namespace.optional(
|
|
1064
|
+
v__namespace.pipe(
|
|
1065
|
+
v__namespace.array(
|
|
1066
|
+
v__namespace.picklist(
|
|
1065
1067
|
BaseDocumentSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1066
1068
|
)
|
|
1067
1069
|
),
|
|
1068
|
-
|
|
1070
|
+
v__namespace.maxLength(BaseDocumentSortKeys.length)
|
|
1069
1071
|
)
|
|
1070
1072
|
);
|
|
1071
|
-
var SReadUserDocumentToken =
|
|
1072
|
-
token:
|
|
1073
|
+
var SReadUserDocumentToken = v__namespace.object({
|
|
1074
|
+
token: v__namespace.string()
|
|
1073
1075
|
});
|
|
1074
|
-
var SLoginUserDocument =
|
|
1076
|
+
var SLoginUserDocument = v__namespace.object({
|
|
1075
1077
|
identifier: IsValidEmail,
|
|
1076
1078
|
password: IsValidPassword
|
|
1077
1079
|
});
|
|
1078
|
-
var SRegisterUserDocument =
|
|
1080
|
+
var SRegisterUserDocument = v__namespace.object({
|
|
1079
1081
|
username: IsValidUsername,
|
|
1080
1082
|
email: IsValidEmail,
|
|
1081
1083
|
password: IsValidPassword
|
|
1082
1084
|
});
|
|
1083
|
-
var SForgotPasswordUserDocument =
|
|
1085
|
+
var SForgotPasswordUserDocument = v__namespace.object({
|
|
1084
1086
|
email: IsValidEmail
|
|
1085
1087
|
});
|
|
1086
|
-
var SResetPasswordUserDocument =
|
|
1088
|
+
var SResetPasswordUserDocument = v__namespace.object({
|
|
1087
1089
|
password: IsValidPassword,
|
|
1088
1090
|
passwordConfirmation: IsValidPassword,
|
|
1089
|
-
code:
|
|
1091
|
+
code: v__namespace.string()
|
|
1090
1092
|
});
|
|
1091
|
-
var SChangePassword =
|
|
1092
|
-
|
|
1093
|
+
var SChangePassword = v__namespace.pipe(
|
|
1094
|
+
v__namespace.object({
|
|
1093
1095
|
currentPassword: IsValidPassword,
|
|
1094
1096
|
password: IsValidPassword,
|
|
1095
1097
|
passwordConfirmation: IsValidPassword
|
|
1096
1098
|
}),
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
+
v__namespace.forward(
|
|
1100
|
+
v__namespace.partialCheck(
|
|
1099
1101
|
[["password"], ["passwordConfirmation"]],
|
|
1100
1102
|
(input) => input.password === input.passwordConfirmation,
|
|
1101
1103
|
"Your new passwords do not match."
|
|
@@ -1103,10 +1105,10 @@ var SChangePassword = v62__namespace.pipe(
|
|
|
1103
1105
|
["passwordConfirmation"]
|
|
1104
1106
|
)
|
|
1105
1107
|
);
|
|
1106
|
-
var SRequestConfirmEmail =
|
|
1108
|
+
var SRequestConfirmEmail = v__namespace.object({
|
|
1107
1109
|
email: IsValidEmail
|
|
1108
1110
|
});
|
|
1109
|
-
var SBaseGroupDocument =
|
|
1111
|
+
var SBaseGroupDocument = v__namespace.object({
|
|
1110
1112
|
label: IsValidLabel,
|
|
1111
1113
|
value: IsValidGroupValue,
|
|
1112
1114
|
description: IsValidDescription,
|
|
@@ -1116,88 +1118,88 @@ var SBaseGroupDocument = v62__namespace.object({
|
|
|
1116
1118
|
});
|
|
1117
1119
|
|
|
1118
1120
|
// src/entities/group/group.document.ts
|
|
1119
|
-
var SGroupDocument =
|
|
1121
|
+
var SGroupDocument = v__namespace.object({
|
|
1120
1122
|
...SBaseDocument.entries,
|
|
1121
1123
|
...SBaseGroupDocument.entries
|
|
1122
1124
|
});
|
|
1123
|
-
var SBaseTrackingLinkDocument =
|
|
1125
|
+
var SBaseTrackingLinkDocument = v__namespace.object({
|
|
1124
1126
|
value: IsValidUrlDestination,
|
|
1125
1127
|
is_active: IsValidIsActive,
|
|
1126
1128
|
destination: IsValidUrlDestination,
|
|
1127
1129
|
protocol: IsValidUrlProtocol,
|
|
1128
1130
|
domain: IsValidUrlDomain,
|
|
1129
|
-
path:
|
|
1130
|
-
query:
|
|
1131
|
-
fragment:
|
|
1132
|
-
utm_source:
|
|
1133
|
-
utm_medium:
|
|
1134
|
-
utm_campaign:
|
|
1135
|
-
utm_creative_format:
|
|
1136
|
-
utm_content:
|
|
1137
|
-
utm_term:
|
|
1138
|
-
utm_id:
|
|
1131
|
+
path: v__namespace.nullable(IsValidUrlPath),
|
|
1132
|
+
query: v__namespace.nullable(IsValidUrlQuery),
|
|
1133
|
+
fragment: v__namespace.nullable(IsValidUrlFragment),
|
|
1134
|
+
utm_source: v__namespace.nullable(IsValidUrlUtmSource),
|
|
1135
|
+
utm_medium: v__namespace.nullable(IsValidUrlUtmMedium),
|
|
1136
|
+
utm_campaign: v__namespace.nullable(IsValidUrlUtmCampaign),
|
|
1137
|
+
utm_creative_format: v__namespace.nullable(IsValidUrlUtmCreativeFormat),
|
|
1138
|
+
utm_content: v__namespace.nullable(IsValidUrlUtmContent),
|
|
1139
|
+
utm_term: v__namespace.nullable(IsValidUrlUtmTerm),
|
|
1140
|
+
utm_id: v__namespace.nullable(IsValidUrlUtmId)
|
|
1139
1141
|
});
|
|
1140
1142
|
|
|
1141
1143
|
// src/entities/tracking-link/tracking-link.document.ts
|
|
1142
|
-
var STrackingLinkDocument =
|
|
1144
|
+
var STrackingLinkDocument = v__namespace.object({
|
|
1143
1145
|
...SBaseDocument.entries,
|
|
1144
1146
|
...SBaseTrackingLinkDocument.entries
|
|
1145
1147
|
});
|
|
1146
|
-
var SBaseUserDocument =
|
|
1148
|
+
var SBaseUserDocument = v__namespace.object({
|
|
1147
1149
|
username: IsValidUsername,
|
|
1148
1150
|
email: IsValidEmail,
|
|
1149
|
-
confirmed:
|
|
1150
|
-
blocked:
|
|
1151
|
-
provider:
|
|
1151
|
+
confirmed: v__namespace.boolean(),
|
|
1152
|
+
blocked: v__namespace.boolean(),
|
|
1153
|
+
provider: v__namespace.literal("local")
|
|
1152
1154
|
});
|
|
1153
1155
|
|
|
1154
1156
|
// src/entities/user/user.document.ts
|
|
1155
|
-
var SUserDocument =
|
|
1157
|
+
var SUserDocument = v__namespace.object({
|
|
1156
1158
|
...SBaseDocument.entries,
|
|
1157
1159
|
...SBaseUserDocument.entries
|
|
1158
1160
|
});
|
|
1159
1161
|
|
|
1160
1162
|
// src/entities/user/user-draft-pub-created-by.schema.ts
|
|
1161
|
-
var SBaseDocumentCreatedBy =
|
|
1162
|
-
createdBy:
|
|
1163
|
-
updatedBy:
|
|
1163
|
+
var SBaseDocumentCreatedBy = v__namespace.object({
|
|
1164
|
+
createdBy: v__namespace.optional(SUserDocument),
|
|
1165
|
+
updatedBy: v__namespace.optional(SUserDocument)
|
|
1164
1166
|
});
|
|
1165
|
-
var SBaseRoleDocument =
|
|
1166
|
-
type:
|
|
1167
|
-
name:
|
|
1168
|
-
locale:
|
|
1169
|
-
description:
|
|
1167
|
+
var SBaseRoleDocument = v__namespace.object({
|
|
1168
|
+
type: v__namespace.string(),
|
|
1169
|
+
name: v__namespace.string(),
|
|
1170
|
+
locale: v__namespace.string(),
|
|
1171
|
+
description: v__namespace.string()
|
|
1170
1172
|
});
|
|
1171
1173
|
|
|
1172
1174
|
// src/entities/role/role.document.ts
|
|
1173
|
-
var SRoleDocument =
|
|
1175
|
+
var SRoleDocument = v__namespace.object({
|
|
1174
1176
|
...SBaseDocument.entries,
|
|
1175
1177
|
...SBaseRoleDocument.entries
|
|
1176
1178
|
});
|
|
1177
|
-
var SRoleRelationsDocument =
|
|
1178
|
-
user:
|
|
1179
|
+
var SRoleRelationsDocument = v__namespace.object({
|
|
1180
|
+
user: v__namespace.optional(SUserDocument)
|
|
1179
1181
|
});
|
|
1180
|
-
var SBaseUserAccountDocument =
|
|
1181
|
-
customer_id:
|
|
1182
|
-
subscription_id:
|
|
1182
|
+
var SBaseUserAccountDocument = v__namespace.object({
|
|
1183
|
+
customer_id: v__namespace.nullable(IsValidCustomerId),
|
|
1184
|
+
subscription_id: v__namespace.nullable(IsValidCustomerId),
|
|
1183
1185
|
subscription_status: IsValidSubscriptionStatus,
|
|
1184
|
-
current_period_start:
|
|
1185
|
-
current_period_end:
|
|
1186
|
-
trial_period_end:
|
|
1186
|
+
current_period_start: v__namespace.nullable(IsValidCurrentPeriodStart),
|
|
1187
|
+
current_period_end: v__namespace.nullable(IsValidCurrentPeriodEnd),
|
|
1188
|
+
trial_period_end: v__namespace.nullable(IsValidTrialPeriodEnd)
|
|
1187
1189
|
});
|
|
1188
1190
|
|
|
1189
1191
|
// src/entities/user-account/user-account.document.ts
|
|
1190
|
-
var SUserAccountDocument =
|
|
1192
|
+
var SUserAccountDocument = v__namespace.object({
|
|
1191
1193
|
...SBaseDocument.entries,
|
|
1192
1194
|
...SBaseUserAccountDocument.entries
|
|
1193
1195
|
});
|
|
1194
|
-
var SUserAccountRelationsDocument =
|
|
1195
|
-
user:
|
|
1196
|
+
var SUserAccountRelationsDocument = v__namespace.object({
|
|
1197
|
+
user: v__namespace.optional(SUserDocument)
|
|
1196
1198
|
});
|
|
1197
|
-
var SUserAccountRelationsReqDocument =
|
|
1199
|
+
var SUserAccountRelationsReqDocument = v__namespace.object({
|
|
1198
1200
|
user: SUserDocument
|
|
1199
1201
|
});
|
|
1200
|
-
var SBaseUserLimitationsDocument =
|
|
1202
|
+
var SBaseUserLimitationsDocument = v__namespace.object({
|
|
1201
1203
|
limit_groups: IsValidUserLimitationNumberFallback,
|
|
1202
1204
|
limit_group_users: IsValidUserLimitationNumberFallback,
|
|
1203
1205
|
limit_websites: IsValidUserLimitationNumberFallback,
|
|
@@ -1216,75 +1218,75 @@ var SBaseUserLimitationsDocument = v62__namespace.object({
|
|
|
1216
1218
|
});
|
|
1217
1219
|
|
|
1218
1220
|
// src/entities/user-limitations/user-limitations.document.ts
|
|
1219
|
-
var SUserLimitationsDocument =
|
|
1221
|
+
var SUserLimitationsDocument = v__namespace.object({
|
|
1220
1222
|
...SBaseDocument.entries,
|
|
1221
1223
|
...SBaseUserLimitationsDocument.entries
|
|
1222
1224
|
});
|
|
1223
|
-
var SUserLimitationsRelationsDocument =
|
|
1224
|
-
user:
|
|
1225
|
+
var SUserLimitationsRelationsDocument = v__namespace.object({
|
|
1226
|
+
user: v__namespace.optional(SUserDocument)
|
|
1225
1227
|
});
|
|
1226
|
-
var SBaseCampaignIdDocument =
|
|
1228
|
+
var SBaseCampaignIdDocument = v__namespace.object({
|
|
1227
1229
|
cost: IsValidCost,
|
|
1228
1230
|
label: IsValidLabel,
|
|
1229
1231
|
value: IsValidValue,
|
|
1230
1232
|
description: IsValidDescription,
|
|
1231
1233
|
is_active: IsValidIsActive
|
|
1232
1234
|
});
|
|
1233
|
-
var SBaseCampaignPhaseDocument =
|
|
1235
|
+
var SBaseCampaignPhaseDocument = v__namespace.object({
|
|
1234
1236
|
label: IsValidLabel,
|
|
1235
1237
|
value: IsValidValue,
|
|
1236
1238
|
description: IsValidDescription,
|
|
1237
1239
|
is_active: IsValidIsActive
|
|
1238
1240
|
});
|
|
1239
|
-
var SBaseCampaignProductDocument =
|
|
1241
|
+
var SBaseCampaignProductDocument = v__namespace.object({
|
|
1240
1242
|
label: IsValidLabel,
|
|
1241
1243
|
value: IsValidValue,
|
|
1242
1244
|
description: IsValidDescription,
|
|
1243
1245
|
is_active: IsValidIsActive
|
|
1244
1246
|
});
|
|
1245
|
-
var SBaseCampaignTargetDocument =
|
|
1247
|
+
var SBaseCampaignTargetDocument = v__namespace.object({
|
|
1246
1248
|
label: IsValidLabel,
|
|
1247
1249
|
value: IsValidValue,
|
|
1248
1250
|
description: IsValidDescription,
|
|
1249
1251
|
is_active: IsValidIsActive
|
|
1250
1252
|
});
|
|
1251
|
-
var SBaseCampaignKeyDocument =
|
|
1253
|
+
var SBaseCampaignKeyDocument = v__namespace.object({
|
|
1252
1254
|
label: IsValidLabel,
|
|
1253
1255
|
value: IsValidValue,
|
|
1254
1256
|
description: IsValidDescription,
|
|
1255
1257
|
is_active: IsValidIsActive
|
|
1256
1258
|
});
|
|
1257
|
-
var SBaseSourceDocument =
|
|
1259
|
+
var SBaseSourceDocument = v__namespace.object({
|
|
1258
1260
|
label: IsValidLabel,
|
|
1259
1261
|
value: IsValidValue,
|
|
1260
1262
|
description: IsValidDescription,
|
|
1261
1263
|
is_active: IsValidIsActive
|
|
1262
1264
|
});
|
|
1263
|
-
var SBaseMediumDocument =
|
|
1265
|
+
var SBaseMediumDocument = v__namespace.object({
|
|
1264
1266
|
label: IsValidLabel,
|
|
1265
1267
|
value: IsValidValue,
|
|
1266
1268
|
description: IsValidDescription,
|
|
1267
1269
|
is_active: IsValidIsActive
|
|
1268
1270
|
});
|
|
1269
|
-
var SBaseContentDocument =
|
|
1271
|
+
var SBaseContentDocument = v__namespace.object({
|
|
1270
1272
|
label: IsValidLabel,
|
|
1271
1273
|
value: IsValidValue,
|
|
1272
1274
|
description: IsValidDescription,
|
|
1273
1275
|
is_active: IsValidIsActive
|
|
1274
1276
|
});
|
|
1275
|
-
var SBaseCreativeFormatDocument =
|
|
1277
|
+
var SBaseCreativeFormatDocument = v__namespace.object({
|
|
1276
1278
|
label: IsValidLabel,
|
|
1277
1279
|
value: IsValidValue,
|
|
1278
1280
|
description: IsValidDescription,
|
|
1279
1281
|
is_active: IsValidIsActive
|
|
1280
1282
|
});
|
|
1281
|
-
var SBaseCreativeFormatVariantDocument =
|
|
1283
|
+
var SBaseCreativeFormatVariantDocument = v__namespace.object({
|
|
1282
1284
|
label: IsValidLabel,
|
|
1283
1285
|
value: IsValidValue,
|
|
1284
1286
|
description: IsValidDescription,
|
|
1285
1287
|
is_active: IsValidIsActive
|
|
1286
1288
|
});
|
|
1287
|
-
var SBaseTermDocument =
|
|
1289
|
+
var SBaseTermDocument = v__namespace.object({
|
|
1288
1290
|
label: IsValidLabel,
|
|
1289
1291
|
value: IsValidValue,
|
|
1290
1292
|
description: IsValidDescription,
|
|
@@ -1292,95 +1294,95 @@ var SBaseTermDocument = v62__namespace.object({
|
|
|
1292
1294
|
});
|
|
1293
1295
|
|
|
1294
1296
|
// src/entities/utm/param.documents.ts
|
|
1295
|
-
var SCampaignIdDocument =
|
|
1297
|
+
var SCampaignIdDocument = v__namespace.object({
|
|
1296
1298
|
...SBaseDocument.entries,
|
|
1297
1299
|
...SBaseCampaignIdDocument.entries
|
|
1298
1300
|
});
|
|
1299
|
-
var SCampaignPhaseDocument =
|
|
1301
|
+
var SCampaignPhaseDocument = v__namespace.object({
|
|
1300
1302
|
...SBaseDocument.entries,
|
|
1301
1303
|
...SBaseCampaignPhaseDocument.entries
|
|
1302
1304
|
});
|
|
1303
|
-
var SCampaignProductDocument =
|
|
1305
|
+
var SCampaignProductDocument = v__namespace.object({
|
|
1304
1306
|
...SBaseDocument.entries,
|
|
1305
1307
|
...SBaseCampaignProductDocument.entries
|
|
1306
1308
|
});
|
|
1307
|
-
var SCampaignTargetDocument =
|
|
1309
|
+
var SCampaignTargetDocument = v__namespace.object({
|
|
1308
1310
|
...SBaseDocument.entries,
|
|
1309
1311
|
...SBaseCampaignTargetDocument.entries
|
|
1310
1312
|
});
|
|
1311
|
-
var SCampaignKeyDocument =
|
|
1313
|
+
var SCampaignKeyDocument = v__namespace.object({
|
|
1312
1314
|
...SBaseDocument.entries,
|
|
1313
1315
|
...SBaseCampaignKeyDocument.entries
|
|
1314
1316
|
});
|
|
1315
|
-
var SSourceDocument =
|
|
1317
|
+
var SSourceDocument = v__namespace.object({
|
|
1316
1318
|
...SBaseDocument.entries,
|
|
1317
1319
|
...SBaseSourceDocument.entries
|
|
1318
1320
|
});
|
|
1319
|
-
var SMediumDocument =
|
|
1321
|
+
var SMediumDocument = v__namespace.object({
|
|
1320
1322
|
...SBaseDocument.entries,
|
|
1321
1323
|
...SBaseMediumDocument.entries
|
|
1322
1324
|
});
|
|
1323
|
-
var SContentDocument =
|
|
1325
|
+
var SContentDocument = v__namespace.object({
|
|
1324
1326
|
...SBaseDocument.entries,
|
|
1325
1327
|
...SBaseContentDocument.entries
|
|
1326
1328
|
});
|
|
1327
|
-
var SCreativeFormatDocument =
|
|
1329
|
+
var SCreativeFormatDocument = v__namespace.object({
|
|
1328
1330
|
...SBaseDocument.entries,
|
|
1329
1331
|
...SBaseCreativeFormatDocument.entries
|
|
1330
1332
|
});
|
|
1331
|
-
var SCreativeFormatVariantDocument =
|
|
1333
|
+
var SCreativeFormatVariantDocument = v__namespace.object({
|
|
1332
1334
|
...SBaseDocument.entries,
|
|
1333
1335
|
...SBaseCreativeFormatVariantDocument.entries
|
|
1334
1336
|
});
|
|
1335
|
-
var STermDocument =
|
|
1337
|
+
var STermDocument = v__namespace.object({
|
|
1336
1338
|
...SBaseDocument.entries,
|
|
1337
1339
|
...SBaseTermDocument.entries
|
|
1338
1340
|
});
|
|
1339
|
-
var SCampaignIdRelationsDocument =
|
|
1340
|
-
group:
|
|
1341
|
-
creator:
|
|
1341
|
+
var SCampaignIdRelationsDocument = v__namespace.object({
|
|
1342
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1343
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1342
1344
|
});
|
|
1343
|
-
var SCampaignPhaseRelationsDocument =
|
|
1344
|
-
group:
|
|
1345
|
-
creator:
|
|
1345
|
+
var SCampaignPhaseRelationsDocument = v__namespace.object({
|
|
1346
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1347
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1346
1348
|
});
|
|
1347
|
-
var SCampaignProductRelationsDocument =
|
|
1348
|
-
group:
|
|
1349
|
-
creator:
|
|
1349
|
+
var SCampaignProductRelationsDocument = v__namespace.object({
|
|
1350
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1351
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1350
1352
|
});
|
|
1351
|
-
var SCampaignTargetRelationsDocument =
|
|
1352
|
-
group:
|
|
1353
|
-
creator:
|
|
1353
|
+
var SCampaignTargetRelationsDocument = v__namespace.object({
|
|
1354
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1355
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1354
1356
|
});
|
|
1355
|
-
var SCampaignKeyRelationsDocument =
|
|
1356
|
-
group:
|
|
1357
|
-
creator:
|
|
1357
|
+
var SCampaignKeyRelationsDocument = v__namespace.object({
|
|
1358
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1359
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1358
1360
|
});
|
|
1359
|
-
var SSourceRelationsDocument =
|
|
1360
|
-
group:
|
|
1361
|
-
creator:
|
|
1361
|
+
var SSourceRelationsDocument = v__namespace.object({
|
|
1362
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1363
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1362
1364
|
});
|
|
1363
|
-
var SMediumRelationsDocument =
|
|
1364
|
-
group:
|
|
1365
|
-
creator:
|
|
1365
|
+
var SMediumRelationsDocument = v__namespace.object({
|
|
1366
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1367
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1366
1368
|
});
|
|
1367
|
-
var SContentRelationsDocument =
|
|
1368
|
-
group:
|
|
1369
|
-
creator:
|
|
1369
|
+
var SContentRelationsDocument = v__namespace.object({
|
|
1370
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1371
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1370
1372
|
});
|
|
1371
|
-
var SCreativeFormatRelationsDocument =
|
|
1372
|
-
group:
|
|
1373
|
-
creator:
|
|
1373
|
+
var SCreativeFormatRelationsDocument = v__namespace.object({
|
|
1374
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1375
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1374
1376
|
});
|
|
1375
|
-
var SCreativeFormatVariantRelationsDocument =
|
|
1376
|
-
group:
|
|
1377
|
-
creator:
|
|
1377
|
+
var SCreativeFormatVariantRelationsDocument = v__namespace.object({
|
|
1378
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1379
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1378
1380
|
});
|
|
1379
|
-
var STermRelationsDocument =
|
|
1380
|
-
group:
|
|
1381
|
-
creator:
|
|
1381
|
+
var STermRelationsDocument = v__namespace.object({
|
|
1382
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1383
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1382
1384
|
});
|
|
1383
|
-
var SBaseWebsiteDocument =
|
|
1385
|
+
var SBaseWebsiteDocument = v__namespace.object({
|
|
1384
1386
|
domain: IsValidUrlDomain,
|
|
1385
1387
|
description: IsValidDescription,
|
|
1386
1388
|
is_secure: IsValidIsSecure,
|
|
@@ -1388,75 +1390,75 @@ var SBaseWebsiteDocument = v62__namespace.object({
|
|
|
1388
1390
|
});
|
|
1389
1391
|
|
|
1390
1392
|
// src/entities/website/website.document.ts
|
|
1391
|
-
var SWebsiteDocument =
|
|
1393
|
+
var SWebsiteDocument = v__namespace.object({
|
|
1392
1394
|
...SBaseDocument.entries,
|
|
1393
1395
|
...SBaseWebsiteDocument.entries
|
|
1394
1396
|
});
|
|
1395
|
-
var SWebsiteRelationsDocument =
|
|
1396
|
-
group:
|
|
1397
|
-
creator:
|
|
1397
|
+
var SWebsiteRelationsDocument = v__namespace.object({
|
|
1398
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1399
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1398
1400
|
});
|
|
1399
1401
|
|
|
1400
1402
|
// src/entities/user/user.relations.ts
|
|
1401
|
-
var SUserRelationRole =
|
|
1402
|
-
role:
|
|
1403
|
+
var SUserRelationRole = v__namespace.object({
|
|
1404
|
+
role: v__namespace.optional(SRoleDocument)
|
|
1403
1405
|
});
|
|
1404
|
-
var SUserRelationReqRole =
|
|
1406
|
+
var SUserRelationReqRole = v__namespace.object({
|
|
1405
1407
|
role: SRoleDocument
|
|
1406
1408
|
});
|
|
1407
|
-
var SUserRelationAccount =
|
|
1408
|
-
account:
|
|
1409
|
+
var SUserRelationAccount = v__namespace.object({
|
|
1410
|
+
account: v__namespace.optional(SUserAccountDocument)
|
|
1409
1411
|
});
|
|
1410
|
-
var SUserRelationReqAccount =
|
|
1412
|
+
var SUserRelationReqAccount = v__namespace.object({
|
|
1411
1413
|
account: SUserAccountDocument
|
|
1412
1414
|
});
|
|
1413
|
-
var SUserRelationLimits =
|
|
1414
|
-
limits:
|
|
1415
|
+
var SUserRelationLimits = v__namespace.object({
|
|
1416
|
+
limits: v__namespace.optional(SUserLimitationsDocument)
|
|
1415
1417
|
});
|
|
1416
|
-
var SUserRelationReqLimits =
|
|
1418
|
+
var SUserRelationReqLimits = v__namespace.object({
|
|
1417
1419
|
limits: SUserLimitationsDocument
|
|
1418
1420
|
});
|
|
1419
|
-
var SUserRelationAuthorizedGroups =
|
|
1420
|
-
authorized_groups:
|
|
1421
|
+
var SUserRelationAuthorizedGroups = v__namespace.object({
|
|
1422
|
+
authorized_groups: v__namespace.optional(v__namespace.array(SGroupDocument))
|
|
1421
1423
|
});
|
|
1422
|
-
var SUserRelationCreatedWebsites =
|
|
1423
|
-
created_websites:
|
|
1424
|
+
var SUserRelationCreatedWebsites = v__namespace.object({
|
|
1425
|
+
created_websites: v__namespace.optional(v__namespace.array(SWebsiteDocument))
|
|
1424
1426
|
});
|
|
1425
|
-
var SUserRelationTrackingLinks =
|
|
1426
|
-
tracking_links:
|
|
1427
|
+
var SUserRelationTrackingLinks = v__namespace.object({
|
|
1428
|
+
tracking_links: v__namespace.optional(v__namespace.array(STrackingLinkDocument))
|
|
1427
1429
|
});
|
|
1428
|
-
var SUserRelationSources =
|
|
1429
|
-
utm_sources:
|
|
1430
|
+
var SUserRelationSources = v__namespace.object({
|
|
1431
|
+
utm_sources: v__namespace.optional(v__namespace.array(SSourceDocument))
|
|
1430
1432
|
});
|
|
1431
|
-
var SUserRelationMediums =
|
|
1432
|
-
utm_mediums:
|
|
1433
|
+
var SUserRelationMediums = v__namespace.object({
|
|
1434
|
+
utm_mediums: v__namespace.optional(v__namespace.array(SMediumDocument))
|
|
1433
1435
|
});
|
|
1434
|
-
var SUserRelationCampaignIds =
|
|
1435
|
-
utm_ids:
|
|
1436
|
+
var SUserRelationCampaignIds = v__namespace.object({
|
|
1437
|
+
utm_ids: v__namespace.optional(v__namespace.array(SCampaignIdDocument))
|
|
1436
1438
|
});
|
|
1437
|
-
var SUserRelationCampaignPhases =
|
|
1438
|
-
utm_campaign_phases:
|
|
1439
|
+
var SUserRelationCampaignPhases = v__namespace.object({
|
|
1440
|
+
utm_campaign_phases: v__namespace.optional(v__namespace.array(SCampaignPhaseDocument))
|
|
1439
1441
|
});
|
|
1440
|
-
var SUserRelationCampaignProducts =
|
|
1441
|
-
utm_campaign_products:
|
|
1442
|
+
var SUserRelationCampaignProducts = v__namespace.object({
|
|
1443
|
+
utm_campaign_products: v__namespace.optional(v__namespace.array(SCampaignProductDocument))
|
|
1442
1444
|
});
|
|
1443
|
-
var SUserRelationCampaignKeys =
|
|
1444
|
-
utm_campaign_keys:
|
|
1445
|
+
var SUserRelationCampaignKeys = v__namespace.object({
|
|
1446
|
+
utm_campaign_keys: v__namespace.optional(v__namespace.array(SCampaignKeyDocument))
|
|
1445
1447
|
});
|
|
1446
|
-
var SUserRelationContents =
|
|
1447
|
-
utm_contents:
|
|
1448
|
+
var SUserRelationContents = v__namespace.object({
|
|
1449
|
+
utm_contents: v__namespace.optional(v__namespace.array(SContentDocument))
|
|
1448
1450
|
});
|
|
1449
|
-
var SUserRelationCreativeFormats =
|
|
1450
|
-
utm_creative_formats:
|
|
1451
|
+
var SUserRelationCreativeFormats = v__namespace.object({
|
|
1452
|
+
utm_creative_formats: v__namespace.optional(v__namespace.array(SCreativeFormatDocument))
|
|
1451
1453
|
});
|
|
1452
|
-
var SUserRelationCreativeFormatVariants =
|
|
1453
|
-
utm_creative_format_variants:
|
|
1454
|
+
var SUserRelationCreativeFormatVariants = v__namespace.object({
|
|
1455
|
+
utm_creative_format_variants: v__namespace.optional(v__namespace.array(SCreativeFormatVariantDocument))
|
|
1454
1456
|
});
|
|
1455
|
-
var SUserRelationTerms =
|
|
1456
|
-
utm_terms:
|
|
1457
|
+
var SUserRelationTerms = v__namespace.object({
|
|
1458
|
+
utm_terms: v__namespace.optional(v__namespace.array(STermDocument))
|
|
1457
1459
|
});
|
|
1458
|
-
var SUserRelationsDocument =
|
|
1459
|
-
group:
|
|
1460
|
+
var SUserRelationsDocument = v__namespace.object({
|
|
1461
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1460
1462
|
...SUserRelationRole.entries,
|
|
1461
1463
|
...SUserRelationAuthorizedGroups.entries,
|
|
1462
1464
|
...SUserRelationCreatedWebsites.entries,
|
|
@@ -1474,53 +1476,53 @@ var SUserRelationsDocument = v62__namespace.object({
|
|
|
1474
1476
|
});
|
|
1475
1477
|
|
|
1476
1478
|
// src/entities/tracking-link/tracking-link.relations.ts
|
|
1477
|
-
var STrackingLinkRelationsDocument =
|
|
1478
|
-
group:
|
|
1479
|
-
creator:
|
|
1479
|
+
var STrackingLinkRelationsDocument = v__namespace.object({
|
|
1480
|
+
group: v__namespace.optional(SGroupDocument),
|
|
1481
|
+
creator: v__namespace.optional(SUserDocument)
|
|
1480
1482
|
});
|
|
1481
1483
|
|
|
1482
1484
|
// src/entities/group/group.relations.ts
|
|
1483
|
-
var SGroupRelationAuthorizedUsers =
|
|
1484
|
-
authorized_users:
|
|
1485
|
+
var SGroupRelationAuthorizedUsers = v__namespace.object({
|
|
1486
|
+
authorized_users: v__namespace.optional(v__namespace.array(SUserDocument))
|
|
1485
1487
|
});
|
|
1486
|
-
var SGroupRelationWebsites =
|
|
1487
|
-
websites:
|
|
1488
|
+
var SGroupRelationWebsites = v__namespace.object({
|
|
1489
|
+
websites: v__namespace.optional(SWebsiteDocument)
|
|
1488
1490
|
});
|
|
1489
|
-
var SGroupRelationTrackingLinks =
|
|
1490
|
-
tracking_links:
|
|
1491
|
+
var SGroupRelationTrackingLinks = v__namespace.object({
|
|
1492
|
+
tracking_links: v__namespace.optional(v__namespace.array(STrackingLinkDocument))
|
|
1491
1493
|
});
|
|
1492
|
-
var SGroupRelationSources =
|
|
1493
|
-
utm_sources:
|
|
1494
|
+
var SGroupRelationSources = v__namespace.object({
|
|
1495
|
+
utm_sources: v__namespace.optional(v__namespace.array(SSourceDocument))
|
|
1494
1496
|
});
|
|
1495
|
-
var SGroupRelationMediums =
|
|
1496
|
-
utm_mediums:
|
|
1497
|
+
var SGroupRelationMediums = v__namespace.object({
|
|
1498
|
+
utm_mediums: v__namespace.optional(v__namespace.array(SMediumDocument))
|
|
1497
1499
|
});
|
|
1498
|
-
var SGroupRelationCampaignIds =
|
|
1499
|
-
utm_ids:
|
|
1500
|
+
var SGroupRelationCampaignIds = v__namespace.object({
|
|
1501
|
+
utm_ids: v__namespace.optional(v__namespace.array(SCampaignIdDocument))
|
|
1500
1502
|
});
|
|
1501
|
-
var SGroupRelationCampaignPhases =
|
|
1502
|
-
utm_campaign_phases:
|
|
1503
|
+
var SGroupRelationCampaignPhases = v__namespace.object({
|
|
1504
|
+
utm_campaign_phases: v__namespace.optional(v__namespace.array(SCampaignPhaseDocument))
|
|
1503
1505
|
});
|
|
1504
|
-
var SGroupRelationCampaignProducts =
|
|
1505
|
-
utm_campaign_products:
|
|
1506
|
+
var SGroupRelationCampaignProducts = v__namespace.object({
|
|
1507
|
+
utm_campaign_products: v__namespace.optional(v__namespace.array(SCampaignProductDocument))
|
|
1506
1508
|
});
|
|
1507
|
-
var SGroupRelationCampaignKeys =
|
|
1508
|
-
utm_campaign_keys:
|
|
1509
|
+
var SGroupRelationCampaignKeys = v__namespace.object({
|
|
1510
|
+
utm_campaign_keys: v__namespace.optional(v__namespace.array(SCampaignKeyDocument))
|
|
1509
1511
|
});
|
|
1510
|
-
var SGroupRelationContents =
|
|
1511
|
-
utm_contents:
|
|
1512
|
+
var SGroupRelationContents = v__namespace.object({
|
|
1513
|
+
utm_contents: v__namespace.optional(v__namespace.array(SBaseContentDocument))
|
|
1512
1514
|
});
|
|
1513
|
-
var SGroupRelationCreativeFormats =
|
|
1514
|
-
utm_creative_formats:
|
|
1515
|
+
var SGroupRelationCreativeFormats = v__namespace.object({
|
|
1516
|
+
utm_creative_formats: v__namespace.optional(v__namespace.array(SCreativeFormatDocument))
|
|
1515
1517
|
});
|
|
1516
|
-
var SGroupRelationCreativeFormatVariants =
|
|
1517
|
-
utm_creative_format_variants:
|
|
1518
|
+
var SGroupRelationCreativeFormatVariants = v__namespace.object({
|
|
1519
|
+
utm_creative_format_variants: v__namespace.optional(v__namespace.array(SCreativeFormatVariantDocument))
|
|
1518
1520
|
});
|
|
1519
|
-
var SGroupRelationTerms =
|
|
1520
|
-
utm_terms:
|
|
1521
|
+
var SGroupRelationTerms = v__namespace.object({
|
|
1522
|
+
utm_terms: v__namespace.optional(v__namespace.array(STermDocument))
|
|
1521
1523
|
});
|
|
1522
|
-
var SGroupRelationsDocument =
|
|
1523
|
-
creator:
|
|
1524
|
+
var SGroupRelationsDocument = v__namespace.object({
|
|
1525
|
+
creator: v__namespace.optional(SUserDocument),
|
|
1524
1526
|
...SGroupRelationAuthorizedUsers.entries,
|
|
1525
1527
|
...SGroupRelationTrackingLinks.entries,
|
|
1526
1528
|
...SGroupRelationWebsites.entries,
|
|
@@ -1535,20 +1537,20 @@ var SGroupRelationsDocument = v62__namespace.object({
|
|
|
1535
1537
|
...SGroupRelationCreativeFormatVariants.entries,
|
|
1536
1538
|
...SGroupRelationTerms.entries
|
|
1537
1539
|
});
|
|
1538
|
-
var SBaseGroupUserDocument =
|
|
1540
|
+
var SBaseGroupUserDocument = v__namespace.object({
|
|
1539
1541
|
scopes: IsValidGroupUserScopes
|
|
1540
1542
|
});
|
|
1541
1543
|
|
|
1542
1544
|
// src/entities/group-user/group-user.document.ts
|
|
1543
|
-
var SGroupUserDocument =
|
|
1545
|
+
var SGroupUserDocument = v__namespace.object({
|
|
1544
1546
|
...SBaseDocument.entries,
|
|
1545
1547
|
...SBaseGroupUserDocument.entries
|
|
1546
1548
|
});
|
|
1547
|
-
var SGroupUserRelationsDocument =
|
|
1548
|
-
user:
|
|
1549
|
-
group:
|
|
1549
|
+
var SGroupUserRelationsDocument = v__namespace.object({
|
|
1550
|
+
user: v__namespace.optional(SUserDocument),
|
|
1551
|
+
group: v__namespace.optional(SGroupDocument)
|
|
1550
1552
|
});
|
|
1551
|
-
var SGroupUserRelationsReqDocument =
|
|
1553
|
+
var SGroupUserRelationsReqDocument = v__namespace.object({
|
|
1552
1554
|
user: SUserDocument,
|
|
1553
1555
|
group: SGroupDocument
|
|
1554
1556
|
});
|
|
@@ -1557,284 +1559,289 @@ var SGroupUserRelationsReqDocument = v62__namespace.object({
|
|
|
1557
1559
|
var GroupSortKeys = Object.keys(
|
|
1558
1560
|
SGroupDocument.entries
|
|
1559
1561
|
);
|
|
1560
|
-
var VSortGroup =
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1562
|
+
var VSortGroup = v__namespace.optional(
|
|
1563
|
+
v__namespace.pipe(
|
|
1564
|
+
v__namespace.array(
|
|
1565
|
+
v__namespace.picklist(GroupSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1564
1566
|
),
|
|
1565
|
-
|
|
1567
|
+
v__namespace.maxLength(GroupSortKeys.length)
|
|
1566
1568
|
)
|
|
1567
1569
|
);
|
|
1568
1570
|
var GroupUserSortKeys = Object.keys(
|
|
1569
1571
|
SGroupUserDocument.entries
|
|
1570
1572
|
);
|
|
1571
|
-
var VSortGroupUser =
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1573
|
+
var VSortGroupUser = v__namespace.optional(
|
|
1574
|
+
v__namespace.pipe(
|
|
1575
|
+
v__namespace.array(
|
|
1576
|
+
v__namespace.picklist(GroupUserSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1575
1577
|
),
|
|
1576
|
-
|
|
1578
|
+
v__namespace.maxLength(GroupUserSortKeys.length)
|
|
1577
1579
|
)
|
|
1578
1580
|
);
|
|
1579
1581
|
var TrackingLinkSortKeys = Object.keys(
|
|
1580
1582
|
STrackingLinkDocument.entries
|
|
1581
1583
|
);
|
|
1582
|
-
var VSortTrackingLink =
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1584
|
+
var VSortTrackingLink = v__namespace.optional(
|
|
1585
|
+
v__namespace.pipe(
|
|
1586
|
+
v__namespace.array(
|
|
1587
|
+
v__namespace.picklist(
|
|
1586
1588
|
TrackingLinkSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1587
1589
|
)
|
|
1588
1590
|
),
|
|
1589
|
-
|
|
1591
|
+
v__namespace.maxLength(TrackingLinkSortKeys.length)
|
|
1590
1592
|
)
|
|
1591
1593
|
);
|
|
1592
1594
|
var UserSortKeys = Object.keys(
|
|
1593
1595
|
SUserDocument.entries
|
|
1594
1596
|
);
|
|
1595
|
-
var VSortUser =
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1597
|
+
var VSortUser = v__namespace.optional(
|
|
1598
|
+
v__namespace.pipe(
|
|
1599
|
+
v__namespace.array(
|
|
1600
|
+
v__namespace.picklist(UserSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1599
1601
|
),
|
|
1600
|
-
|
|
1602
|
+
v__namespace.maxLength(UserSortKeys.length)
|
|
1601
1603
|
)
|
|
1602
1604
|
);
|
|
1603
1605
|
var UserAccountSortKeys = Object.keys(
|
|
1604
1606
|
SUserAccountDocument.entries
|
|
1605
1607
|
);
|
|
1606
|
-
var VSortUserAccount =
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1608
|
+
var VSortUserAccount = v__namespace.optional(
|
|
1609
|
+
v__namespace.pipe(
|
|
1610
|
+
v__namespace.array(
|
|
1611
|
+
v__namespace.picklist(UserAccountSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1610
1612
|
),
|
|
1611
|
-
|
|
1613
|
+
v__namespace.maxLength(UserAccountSortKeys.length)
|
|
1612
1614
|
)
|
|
1613
1615
|
);
|
|
1614
1616
|
var UserLimitationsSortKeys = Object.keys(
|
|
1615
1617
|
SUserLimitationsDocument.entries
|
|
1616
1618
|
);
|
|
1617
|
-
var VSortUserLimitations =
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1619
|
+
var VSortUserLimitations = v__namespace.optional(
|
|
1620
|
+
v__namespace.pipe(
|
|
1621
|
+
v__namespace.array(
|
|
1622
|
+
v__namespace.picklist(
|
|
1621
1623
|
UserLimitationsSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1622
1624
|
)
|
|
1623
1625
|
),
|
|
1624
|
-
|
|
1626
|
+
v__namespace.maxLength(UserLimitationsSortKeys.length)
|
|
1625
1627
|
)
|
|
1626
1628
|
);
|
|
1627
1629
|
var CampaignIdSortKeys = Object.keys(
|
|
1628
1630
|
SCampaignIdDocument.entries
|
|
1629
1631
|
);
|
|
1630
|
-
var VSortCampaignId =
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1632
|
+
var VSortCampaignId = v__namespace.optional(
|
|
1633
|
+
v__namespace.pipe(
|
|
1634
|
+
v__namespace.array(
|
|
1635
|
+
v__namespace.picklist(CampaignIdSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1634
1636
|
),
|
|
1635
|
-
|
|
1637
|
+
v__namespace.maxLength(CampaignIdSortKeys.length)
|
|
1636
1638
|
)
|
|
1637
1639
|
);
|
|
1638
1640
|
var CampaignKeySortKeys = Object.keys(
|
|
1639
1641
|
SCampaignKeyDocument.entries
|
|
1640
1642
|
);
|
|
1641
|
-
var VSortCampaignKey =
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1643
|
+
var VSortCampaignKey = v__namespace.optional(
|
|
1644
|
+
v__namespace.pipe(
|
|
1645
|
+
v__namespace.array(
|
|
1646
|
+
v__namespace.picklist(CampaignKeySortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1645
1647
|
),
|
|
1646
|
-
|
|
1648
|
+
v__namespace.maxLength(CampaignKeySortKeys.length)
|
|
1647
1649
|
)
|
|
1648
1650
|
);
|
|
1649
1651
|
var CampaignPhaseSortKeys = Object.keys(
|
|
1650
1652
|
SCampaignPhaseDocument.entries
|
|
1651
1653
|
);
|
|
1652
|
-
var VSortCampaignPhase =
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1654
|
+
var VSortCampaignPhase = v__namespace.optional(
|
|
1655
|
+
v__namespace.pipe(
|
|
1656
|
+
v__namespace.array(
|
|
1657
|
+
v__namespace.picklist(
|
|
1656
1658
|
CampaignPhaseSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1657
1659
|
)
|
|
1658
1660
|
),
|
|
1659
|
-
|
|
1661
|
+
v__namespace.maxLength(CampaignPhaseSortKeys.length)
|
|
1660
1662
|
)
|
|
1661
1663
|
);
|
|
1662
1664
|
var CampaignProductSortKeys = Object.keys(
|
|
1663
1665
|
SCampaignProductDocument.entries
|
|
1664
1666
|
);
|
|
1665
|
-
var VSortCampaignProduct =
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1667
|
+
var VSortCampaignProduct = v__namespace.optional(
|
|
1668
|
+
v__namespace.pipe(
|
|
1669
|
+
v__namespace.array(
|
|
1670
|
+
v__namespace.picklist(
|
|
1669
1671
|
CampaignProductSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1670
1672
|
)
|
|
1671
1673
|
),
|
|
1672
|
-
|
|
1674
|
+
v__namespace.maxLength(CampaignProductSortKeys.length)
|
|
1673
1675
|
)
|
|
1674
1676
|
);
|
|
1675
1677
|
var CampaignTargetSortKeys = Object.keys(
|
|
1676
1678
|
SCampaignTargetDocument.entries
|
|
1677
1679
|
);
|
|
1678
|
-
var VSortCampaignTarget =
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1680
|
+
var VSortCampaignTarget = v__namespace.optional(
|
|
1681
|
+
v__namespace.pipe(
|
|
1682
|
+
v__namespace.array(
|
|
1683
|
+
v__namespace.picklist(
|
|
1682
1684
|
CampaignTargetSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1683
1685
|
)
|
|
1684
1686
|
),
|
|
1685
|
-
|
|
1687
|
+
v__namespace.maxLength(CampaignTargetSortKeys.length)
|
|
1686
1688
|
)
|
|
1687
1689
|
);
|
|
1688
1690
|
var ContentSortKeys = Object.keys(
|
|
1689
1691
|
SContentDocument.entries
|
|
1690
1692
|
);
|
|
1691
|
-
var VSortContent =
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1693
|
+
var VSortContent = v__namespace.optional(
|
|
1694
|
+
v__namespace.pipe(
|
|
1695
|
+
v__namespace.array(
|
|
1696
|
+
v__namespace.picklist(ContentSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1695
1697
|
),
|
|
1696
|
-
|
|
1698
|
+
v__namespace.maxLength(ContentSortKeys.length)
|
|
1697
1699
|
)
|
|
1698
1700
|
);
|
|
1699
1701
|
var CreativeFormatSortKeys = Object.keys(
|
|
1700
1702
|
SCreativeFormatDocument.entries
|
|
1701
1703
|
);
|
|
1702
|
-
var VSortCreativeFormat =
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1704
|
+
var VSortCreativeFormat = v__namespace.optional(
|
|
1705
|
+
v__namespace.pipe(
|
|
1706
|
+
v__namespace.array(
|
|
1707
|
+
v__namespace.picklist(
|
|
1706
1708
|
CreativeFormatSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1707
1709
|
)
|
|
1708
1710
|
),
|
|
1709
|
-
|
|
1711
|
+
v__namespace.maxLength(CreativeFormatSortKeys.length)
|
|
1710
1712
|
)
|
|
1711
1713
|
);
|
|
1712
1714
|
var CreativeFormatVariantSortKeys = Object.keys(
|
|
1713
1715
|
SCreativeFormatVariantDocument.entries
|
|
1714
1716
|
);
|
|
1715
|
-
var VSortCreativeFormatVariant =
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1717
|
+
var VSortCreativeFormatVariant = v__namespace.optional(
|
|
1718
|
+
v__namespace.pipe(
|
|
1719
|
+
v__namespace.array(
|
|
1720
|
+
v__namespace.picklist(
|
|
1719
1721
|
CreativeFormatVariantSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`])
|
|
1720
1722
|
)
|
|
1721
1723
|
),
|
|
1722
|
-
|
|
1724
|
+
v__namespace.maxLength(CreativeFormatVariantSortKeys.length)
|
|
1723
1725
|
)
|
|
1724
1726
|
);
|
|
1725
1727
|
var MediumSortKeys = Object.keys(
|
|
1726
1728
|
SMediumDocument.entries
|
|
1727
1729
|
);
|
|
1728
|
-
var VSortMedium =
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1730
|
+
var VSortMedium = v__namespace.optional(
|
|
1731
|
+
v__namespace.pipe(
|
|
1732
|
+
v__namespace.array(
|
|
1733
|
+
v__namespace.picklist(MediumSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1732
1734
|
),
|
|
1733
|
-
|
|
1735
|
+
v__namespace.maxLength(MediumSortKeys.length)
|
|
1734
1736
|
)
|
|
1735
1737
|
);
|
|
1736
1738
|
var SourceSortKeys = Object.keys(
|
|
1737
1739
|
SSourceDocument.entries
|
|
1738
1740
|
);
|
|
1739
|
-
var VSortSource =
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1741
|
+
var VSortSource = v__namespace.optional(
|
|
1742
|
+
v__namespace.pipe(
|
|
1743
|
+
v__namespace.array(
|
|
1744
|
+
v__namespace.picklist(SourceSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1743
1745
|
),
|
|
1744
|
-
|
|
1746
|
+
v__namespace.maxLength(SourceSortKeys.length)
|
|
1745
1747
|
)
|
|
1746
1748
|
);
|
|
1747
1749
|
var TermSortKeys = Object.keys(
|
|
1748
1750
|
STermDocument.entries
|
|
1749
1751
|
);
|
|
1750
|
-
var VSortTerm =
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1752
|
+
var VSortTerm = v__namespace.optional(
|
|
1753
|
+
v__namespace.pipe(
|
|
1754
|
+
v__namespace.array(
|
|
1755
|
+
v__namespace.picklist(TermSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1754
1756
|
),
|
|
1755
|
-
|
|
1757
|
+
v__namespace.maxLength(TermSortKeys.length)
|
|
1756
1758
|
)
|
|
1757
1759
|
);
|
|
1758
1760
|
var WebsiteSortKeys = Object.keys(
|
|
1759
1761
|
SWebsiteDocument.entries
|
|
1760
1762
|
);
|
|
1761
|
-
var VSortWebsite =
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1763
|
+
var VSortWebsite = v__namespace.optional(
|
|
1764
|
+
v__namespace.pipe(
|
|
1765
|
+
v__namespace.array(
|
|
1766
|
+
v__namespace.picklist(WebsiteSortKeys.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))
|
|
1765
1767
|
),
|
|
1766
|
-
|
|
1768
|
+
v__namespace.maxLength(WebsiteSortKeys.length)
|
|
1767
1769
|
)
|
|
1768
1770
|
);
|
|
1769
1771
|
|
|
1770
1772
|
// src/actions/generics.actions.ts
|
|
1771
|
-
var
|
|
1772
|
-
|
|
1773
|
-
documentId: IsValidReferenceDocumentId,
|
|
1773
|
+
var SQueryParamsDocuments = v__namespace.optional(
|
|
1774
|
+
v__namespace.object({
|
|
1774
1775
|
page: VPage(),
|
|
1775
1776
|
size: VSize(WEBSITE_PAGINATION_MAX_SIZE_LIMIT),
|
|
1776
1777
|
sort: VSortDocument
|
|
1777
1778
|
})
|
|
1778
1779
|
);
|
|
1779
|
-
var
|
|
1780
|
-
documentId: IsValidReferenceDocumentId,
|
|
1780
|
+
var SQueryParamsGroupUserDocuments = v__namespace.object({
|
|
1781
1781
|
page: VPage(),
|
|
1782
1782
|
size: VSize(GROUP_USER_PAGINATION_MAX_SIZE_LIMIT),
|
|
1783
1783
|
sort: VSortGroupUser,
|
|
1784
|
-
group:
|
|
1785
|
-
user:
|
|
1784
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
1785
|
+
user: v__namespace.optional(IsValidReferenceDocumentId)
|
|
1786
|
+
});
|
|
1787
|
+
var SQuerySearchGroupUserDocuments = v__namespace.object({
|
|
1788
|
+
page: VPageRequired(),
|
|
1789
|
+
size: VSizeRequired(GROUP_USER_PAGINATION_MAX_SIZE_LIMIT),
|
|
1790
|
+
sort: VSortGroupUser,
|
|
1791
|
+
group: IsValidReferenceDocumentId,
|
|
1792
|
+
user: v__namespace.optional(IsValidReferenceDocumentId)
|
|
1786
1793
|
});
|
|
1787
|
-
var SCreateGroupUserDocument =
|
|
1794
|
+
var SCreateGroupUserDocument = v__namespace.object({
|
|
1788
1795
|
group: IsValidReferenceDocumentId,
|
|
1789
1796
|
user: IsValidReferenceDocumentId,
|
|
1790
1797
|
scopes: IsValidGroupUserScopes
|
|
1791
1798
|
});
|
|
1792
|
-
var SCreateGroupUserAssignMultipleUsers =
|
|
1799
|
+
var SCreateGroupUserAssignMultipleUsers = v__namespace.object({
|
|
1793
1800
|
group: IsValidReferenceDocumentId,
|
|
1794
|
-
user:
|
|
1795
|
-
|
|
1796
|
-
|
|
1801
|
+
user: v__namespace.pipe(
|
|
1802
|
+
v__namespace.array(IsValidReferenceDocumentId),
|
|
1803
|
+
v__namespace.minLength(1, "Please assign at least one user to this group")
|
|
1797
1804
|
),
|
|
1798
1805
|
scopes: IsValidGroupUserScopes
|
|
1799
1806
|
});
|
|
1800
|
-
var SReadGroupUserDocumentById =
|
|
1807
|
+
var SReadGroupUserDocumentById = v__namespace.object({
|
|
1801
1808
|
id: IsValidReferenceId
|
|
1802
1809
|
});
|
|
1803
|
-
var SReadGroupUserDocumentByDocumentId =
|
|
1810
|
+
var SReadGroupUserDocumentByDocumentId = v__namespace.object({
|
|
1804
1811
|
documentId: IsValidReferenceDocumentId
|
|
1805
1812
|
});
|
|
1806
|
-
var SUpdateGroupUserDocument =
|
|
1813
|
+
var SUpdateGroupUserDocument = v__namespace.object({
|
|
1807
1814
|
scopes: IsValidGroupUserScopes
|
|
1808
1815
|
});
|
|
1809
|
-
var SUpdateGroupUserDocumentRequest =
|
|
1816
|
+
var SUpdateGroupUserDocumentRequest = v__namespace.object({
|
|
1810
1817
|
documentId: IsValidReferenceDocumentId,
|
|
1811
1818
|
data: SUpdateGroupUserDocument
|
|
1812
1819
|
});
|
|
1813
|
-
var SDeleteGroupUserDocument =
|
|
1820
|
+
var SDeleteGroupUserDocument = v__namespace.object({
|
|
1814
1821
|
documentId: IsValidReferenceDocumentId
|
|
1815
1822
|
});
|
|
1816
|
-
var SVerifyGroupUserDocument =
|
|
1823
|
+
var SVerifyGroupUserDocument = v__namespace.object({
|
|
1817
1824
|
group: IsValidReferenceDocumentId,
|
|
1818
1825
|
user: IsValidReferenceDocumentId
|
|
1819
1826
|
});
|
|
1820
|
-
var SGroupUserDocumentStatus =
|
|
1821
|
-
verified:
|
|
1822
|
-
is_owner:
|
|
1823
|
-
groupUser:
|
|
1827
|
+
var SGroupUserDocumentStatus = v__namespace.object({
|
|
1828
|
+
verified: v__namespace.boolean(),
|
|
1829
|
+
is_owner: v__namespace.boolean(),
|
|
1830
|
+
groupUser: v__namespace.nullable(IsValidReferenceDocumentId),
|
|
1824
1831
|
scopes: IsValidGroupUserScopes
|
|
1825
1832
|
});
|
|
1826
|
-
var
|
|
1833
|
+
var SQueryParamsGroupDocuments = v__namespace.object({
|
|
1827
1834
|
page: VPage(),
|
|
1828
1835
|
size: VSize(GROUP_PAGINATION_MAX_SIZE_LIMIT),
|
|
1829
1836
|
sort: VSortGroup,
|
|
1830
|
-
label:
|
|
1831
|
-
value:
|
|
1832
|
-
is_active:
|
|
1833
|
-
apply_value_to:
|
|
1834
|
-
apply_value_as:
|
|
1835
|
-
creator:
|
|
1836
|
-
});
|
|
1837
|
-
var SCreateGroupDocument =
|
|
1837
|
+
label: v__namespace.optional(IsValidLabel),
|
|
1838
|
+
value: v__namespace.optional(IsValidGroupValue),
|
|
1839
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
1840
|
+
apply_value_to: v__namespace.optional(IsValidApplyValueTo),
|
|
1841
|
+
apply_value_as: v__namespace.optional(IsValidApplyValueAs),
|
|
1842
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
1843
|
+
});
|
|
1844
|
+
var SCreateGroupDocument = v__namespace.object({
|
|
1838
1845
|
creator: IsValidReferenceDocumentId,
|
|
1839
1846
|
label: IsValidLabel,
|
|
1840
1847
|
value: IsValidGroupValue,
|
|
@@ -1843,13 +1850,13 @@ var SCreateGroupDocument = v62__namespace.object({
|
|
|
1843
1850
|
apply_value_to: IsValidApplyValueTo,
|
|
1844
1851
|
apply_value_as: IsValidApplyValueAs
|
|
1845
1852
|
});
|
|
1846
|
-
var SReadGroupDocumentById =
|
|
1853
|
+
var SReadGroupDocumentById = v__namespace.object({
|
|
1847
1854
|
id: IsValidReferenceId
|
|
1848
1855
|
});
|
|
1849
|
-
var SReadGroupDocumentByDocumentId =
|
|
1856
|
+
var SReadGroupDocumentByDocumentId = v__namespace.object({
|
|
1850
1857
|
documentId: IsValidReferenceDocumentId
|
|
1851
1858
|
});
|
|
1852
|
-
var SUpdateAsCreatorGroupDocument =
|
|
1859
|
+
var SUpdateAsCreatorGroupDocument = v__namespace.object({
|
|
1853
1860
|
label: IsValidOrUndefinedLabel,
|
|
1854
1861
|
value: IsValidOrUndefinedGroupValue,
|
|
1855
1862
|
description: IsValidOrUndefinedDescription,
|
|
@@ -1857,42 +1864,42 @@ var SUpdateAsCreatorGroupDocument = v62__namespace.object({
|
|
|
1857
1864
|
apply_value_to: IsValidOrUndefinedApplyValueTo,
|
|
1858
1865
|
apply_value_as: IsValidOrUndefinedApplyValueAs
|
|
1859
1866
|
});
|
|
1860
|
-
var SUpdateAsCreatorGroupDocumentRequest =
|
|
1867
|
+
var SUpdateAsCreatorGroupDocumentRequest = v__namespace.object({
|
|
1861
1868
|
documentId: IsValidReferenceDocumentId,
|
|
1862
1869
|
data: SUpdateAsCreatorGroupDocument
|
|
1863
1870
|
});
|
|
1864
|
-
var SUpdateAsInvitedGroupDocument =
|
|
1871
|
+
var SUpdateAsInvitedGroupDocument = v__namespace.object({
|
|
1865
1872
|
label: IsValidOrUndefinedLabel,
|
|
1866
1873
|
description: IsValidOrUndefinedDescription
|
|
1867
1874
|
});
|
|
1868
|
-
var SUpdateAsInvitedGroupDocumentRequest =
|
|
1875
|
+
var SUpdateAsInvitedGroupDocumentRequest = v__namespace.object({
|
|
1869
1876
|
documentId: IsValidReferenceDocumentId,
|
|
1870
1877
|
data: SUpdateAsInvitedGroupDocument
|
|
1871
1878
|
});
|
|
1872
|
-
var SUpdateGroupDocumentRequest =
|
|
1879
|
+
var SUpdateGroupDocumentRequest = v__namespace.union([
|
|
1873
1880
|
SUpdateAsCreatorGroupDocument,
|
|
1874
1881
|
SUpdateAsInvitedGroupDocument
|
|
1875
1882
|
]);
|
|
1876
|
-
var SDeleteGroupDocument =
|
|
1883
|
+
var SDeleteGroupDocument = v__namespace.object({
|
|
1877
1884
|
documentId: IsValidReferenceDocumentId
|
|
1878
1885
|
});
|
|
1879
|
-
var SUtmLinkBuilderPartUrlObject =
|
|
1886
|
+
var SUtmLinkBuilderPartUrlObject = v__namespace.object({
|
|
1880
1887
|
url: IsValidUrlDestination
|
|
1881
1888
|
});
|
|
1882
|
-
var SUtmLinkBuilderPartUrlDestinations =
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1889
|
+
var SUtmLinkBuilderPartUrlDestinations = v__namespace.pipe(
|
|
1890
|
+
v__namespace.array(SUtmLinkBuilderPartUrlObject),
|
|
1891
|
+
v__namespace.minLength(1, "Please provide at least one destination URL."),
|
|
1892
|
+
v__namespace.maxLength(10, "You can provide up to 10 destination URLs.")
|
|
1886
1893
|
);
|
|
1887
|
-
var SUtmLinkBuilderPartSources =
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1894
|
+
var SUtmLinkBuilderPartSources = v__namespace.pipe(
|
|
1895
|
+
v__namespace.array(IsValidUrlUtmPart),
|
|
1896
|
+
v__namespace.minLength(1, "Please select at least one source."),
|
|
1897
|
+
v__namespace.maxLength(10, "You can select up to 10 sources.")
|
|
1891
1898
|
);
|
|
1892
|
-
var SUtmLinkBuilderPartMediums =
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1899
|
+
var SUtmLinkBuilderPartMediums = v__namespace.pipe(
|
|
1900
|
+
v__namespace.array(IsValidUrlUtmPart),
|
|
1901
|
+
v__namespace.minLength(1, "Please select at least one medium."),
|
|
1902
|
+
v__namespace.maxLength(10, "You can select up to 10 mediums.")
|
|
1896
1903
|
);
|
|
1897
1904
|
var SUtmLinkBuilderPartCampaignDateFormatOptions = [
|
|
1898
1905
|
"no date",
|
|
@@ -1901,81 +1908,81 @@ var SUtmLinkBuilderPartCampaignDateFormatOptions = [
|
|
|
1901
1908
|
"monthly",
|
|
1902
1909
|
"on a specific date"
|
|
1903
1910
|
];
|
|
1904
|
-
var SUtmLinkBuilderPartCampaignDateFormat =
|
|
1911
|
+
var SUtmLinkBuilderPartCampaignDateFormat = v__namespace.picklist(
|
|
1905
1912
|
SUtmLinkBuilderPartCampaignDateFormatOptions,
|
|
1906
1913
|
"Please select a valid campaign date format."
|
|
1907
1914
|
);
|
|
1908
|
-
var SUtmLinkBuilderPartCampaignDateValueYear =
|
|
1915
|
+
var SUtmLinkBuilderPartCampaignDateValueYear = v__namespace.number(
|
|
1909
1916
|
"Please provide a valid year."
|
|
1910
1917
|
);
|
|
1911
|
-
var SUtmLinkBuilderPartCampaignDateValueQuarter =
|
|
1912
|
-
|
|
1918
|
+
var SUtmLinkBuilderPartCampaignDateValueQuarter = v__namespace.optional(
|
|
1919
|
+
v__namespace.nullable(v__namespace.number())
|
|
1913
1920
|
);
|
|
1914
|
-
var SUtmLinkBuilderPartCampaignDateValueMonth =
|
|
1915
|
-
|
|
1921
|
+
var SUtmLinkBuilderPartCampaignDateValueMonth = v__namespace.optional(
|
|
1922
|
+
v__namespace.nullable(v__namespace.number())
|
|
1916
1923
|
);
|
|
1917
|
-
var SUtmLinkBuilderPartCampaignDateValueDay =
|
|
1918
|
-
|
|
1924
|
+
var SUtmLinkBuilderPartCampaignDateValueDay = v__namespace.optional(
|
|
1925
|
+
v__namespace.nullable(v__namespace.number())
|
|
1919
1926
|
);
|
|
1920
|
-
var SUtmLinkBuilderPartCampaignDateValue =
|
|
1927
|
+
var SUtmLinkBuilderPartCampaignDateValue = v__namespace.object({
|
|
1921
1928
|
year: SUtmLinkBuilderPartCampaignDateValueYear,
|
|
1922
1929
|
quarter: SUtmLinkBuilderPartCampaignDateValueQuarter,
|
|
1923
1930
|
month: SUtmLinkBuilderPartCampaignDateValueMonth,
|
|
1924
1931
|
day: SUtmLinkBuilderPartCampaignDateValueDay
|
|
1925
1932
|
});
|
|
1926
|
-
var SUtmLinkBuilderPartCampaignDateObject =
|
|
1933
|
+
var SUtmLinkBuilderPartCampaignDateObject = v__namespace.object({
|
|
1927
1934
|
format: SUtmLinkBuilderPartCampaignDateFormat,
|
|
1928
1935
|
value: SUtmLinkBuilderPartCampaignDateValue
|
|
1929
1936
|
});
|
|
1930
|
-
var SUtmLinkBuilderPartCampaignPhase =
|
|
1931
|
-
var SUtmLinkBuilderPartCampaignProduct =
|
|
1932
|
-
var SUtmLinkBuilderPartCampaignTargeting =
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1937
|
+
var SUtmLinkBuilderPartCampaignPhase = v__namespace.optional(IsValidUrlUtmPart);
|
|
1938
|
+
var SUtmLinkBuilderPartCampaignProduct = v__namespace.optional(IsValidUrlUtmPart);
|
|
1939
|
+
var SUtmLinkBuilderPartCampaignTargeting = v__namespace.optional(
|
|
1940
|
+
v__namespace.pipe(
|
|
1941
|
+
v__namespace.array(IsValidUrlUtmPart),
|
|
1942
|
+
v__namespace.maxLength(10, "You can select up to 10 targeting audiences.")
|
|
1936
1943
|
)
|
|
1937
1944
|
);
|
|
1938
|
-
var SUtmLinkBuilderPartCampaignKey =
|
|
1939
|
-
var SUtmLinkBuilderPartCampaignObject =
|
|
1945
|
+
var SUtmLinkBuilderPartCampaignKey = v__namespace.optional(IsValidUrlUtmPart);
|
|
1946
|
+
var SUtmLinkBuilderPartCampaignObject = v__namespace.object({
|
|
1940
1947
|
campaign_phase: SUtmLinkBuilderPartCampaignPhase,
|
|
1941
1948
|
campaign_product: SUtmLinkBuilderPartCampaignProduct,
|
|
1942
1949
|
campaign_targeting: SUtmLinkBuilderPartCampaignTargeting,
|
|
1943
1950
|
campaign_key: SUtmLinkBuilderPartCampaignKey,
|
|
1944
1951
|
campaign_date: SUtmLinkBuilderPartCampaignDateObject
|
|
1945
1952
|
});
|
|
1946
|
-
var SUtmLinkBuilderPartCampaigns =
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1953
|
+
var SUtmLinkBuilderPartCampaigns = v__namespace.pipe(
|
|
1954
|
+
v__namespace.array(SUtmLinkBuilderPartCampaignObject),
|
|
1955
|
+
v__namespace.minLength(1, "Please provide at least one campaign."),
|
|
1956
|
+
v__namespace.maxLength(10, "You can provide up to 10 campaigns.")
|
|
1950
1957
|
);
|
|
1951
|
-
var SUtmLinkBuilderPartContents =
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1958
|
+
var SUtmLinkBuilderPartContents = v__namespace.optional(
|
|
1959
|
+
v__namespace.pipe(
|
|
1960
|
+
v__namespace.array(IsValidUrlUtmPart),
|
|
1961
|
+
v__namespace.maxLength(10, "You can select up to 10 contents.")
|
|
1955
1962
|
)
|
|
1956
1963
|
);
|
|
1957
|
-
var SUtmLinkBuilderPartCreativeFormatValue =
|
|
1958
|
-
var SUtmLinkBuilderPartCreativeFormatVariantValue =
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1964
|
+
var SUtmLinkBuilderPartCreativeFormatValue = v__namespace.optional(IsValidUrlUtmPart);
|
|
1965
|
+
var SUtmLinkBuilderPartCreativeFormatVariantValue = v__namespace.optional(
|
|
1966
|
+
v__namespace.pipe(
|
|
1967
|
+
v__namespace.array(IsValidUrlUtmPart),
|
|
1968
|
+
v__namespace.maxLength(10, "You can select up to 10 creative format variations.")
|
|
1962
1969
|
)
|
|
1963
1970
|
);
|
|
1964
|
-
var SUtmLinkBuilderPartCreativeFormatObject =
|
|
1971
|
+
var SUtmLinkBuilderPartCreativeFormatObject = v__namespace.object({
|
|
1965
1972
|
creative_format: SUtmLinkBuilderPartCreativeFormatValue,
|
|
1966
1973
|
creative_format_variants: SUtmLinkBuilderPartCreativeFormatVariantValue
|
|
1967
1974
|
});
|
|
1968
|
-
var SUtmLinkBuilderPartCreativeFormats =
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1975
|
+
var SUtmLinkBuilderPartCreativeFormats = v__namespace.optional(
|
|
1976
|
+
v__namespace.pipe(
|
|
1977
|
+
v__namespace.array(SUtmLinkBuilderPartCreativeFormatObject),
|
|
1978
|
+
v__namespace.maxLength(10, "You can select up to 10 creative formats.")
|
|
1972
1979
|
)
|
|
1973
1980
|
);
|
|
1974
|
-
var SUtmLinkBuilderPartTerms =
|
|
1975
|
-
|
|
1981
|
+
var SUtmLinkBuilderPartTerms = v__namespace.optional(
|
|
1982
|
+
v__namespace.pipe(v__namespace.array(IsValidUrlUtmPart), v__namespace.maxLength(10, "You can select up to 10 terms."))
|
|
1976
1983
|
);
|
|
1977
|
-
var SUtmLinkBuilderPartCampaignId =
|
|
1978
|
-
var SUtmLinkBuilderTableForm =
|
|
1984
|
+
var SUtmLinkBuilderPartCampaignId = v__namespace.optional(IsValidUrlUtmPart);
|
|
1985
|
+
var SUtmLinkBuilderTableForm = v__namespace.object({
|
|
1979
1986
|
group: IsValidReferenceDocumentId,
|
|
1980
1987
|
url_destinations: SUtmLinkBuilderPartUrlDestinations,
|
|
1981
1988
|
sources: SUtmLinkBuilderPartSources,
|
|
@@ -1986,40 +1993,62 @@ var SUtmLinkBuilderTableForm = v62__namespace.object({
|
|
|
1986
1993
|
terms: SUtmLinkBuilderPartTerms,
|
|
1987
1994
|
campaign_id: SUtmLinkBuilderPartCampaignId
|
|
1988
1995
|
});
|
|
1989
|
-
var SStripeCheckoutLineItem =
|
|
1996
|
+
var SStripeCheckoutLineItem = v__namespace.object({
|
|
1990
1997
|
price: IsValidPriceId,
|
|
1991
|
-
quantity:
|
|
1998
|
+
quantity: v__namespace.pipe(v__namespace.number(), v__namespace.minValue(1), v__namespace.maxValue(1))
|
|
1992
1999
|
});
|
|
1993
|
-
var SStripeCheckoutCreateSession =
|
|
1994
|
-
line_items:
|
|
1995
|
-
mode:
|
|
2000
|
+
var SStripeCheckoutCreateSession = v__namespace.object({
|
|
2001
|
+
line_items: v__namespace.pipe(v__namespace.array(SStripeCheckoutLineItem), v__namespace.minLength(1), v__namespace.maxLength(10)),
|
|
2002
|
+
mode: v__namespace.picklist(["payment", "subscription"]),
|
|
1996
2003
|
success_url: IsValidOrUndefinedUrlDestination,
|
|
1997
2004
|
cancel_url: IsValidOrUndefinedUrlDestination
|
|
1998
2005
|
});
|
|
1999
|
-
var
|
|
2006
|
+
var SQueryParamsTrackingLinkDocuments = v__namespace.object({
|
|
2000
2007
|
documentId: IsValidReferenceDocumentId,
|
|
2001
2008
|
page: VPage(),
|
|
2002
2009
|
size: VSize(TRACKING_LINK_PAGINATION_MAX_SIZE_LIMIT),
|
|
2003
2010
|
sort: VSortTrackingLink,
|
|
2004
|
-
is_active:
|
|
2005
|
-
value:
|
|
2006
|
-
destination:
|
|
2007
|
-
protocol:
|
|
2008
|
-
domain:
|
|
2009
|
-
path:
|
|
2010
|
-
query:
|
|
2011
|
-
fragment:
|
|
2012
|
-
utm_source:
|
|
2013
|
-
utm_medium:
|
|
2014
|
-
utm_campaign:
|
|
2015
|
-
utm_creative_format:
|
|
2016
|
-
utm_content:
|
|
2017
|
-
utm_term:
|
|
2018
|
-
utm_id:
|
|
2019
|
-
group:
|
|
2020
|
-
creator:
|
|
2021
|
-
});
|
|
2022
|
-
var
|
|
2011
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2012
|
+
value: v__namespace.optional(IsValidUrlDestination),
|
|
2013
|
+
destination: v__namespace.optional(IsValidUrlDestination),
|
|
2014
|
+
protocol: v__namespace.optional(IsValidUrlProtocol),
|
|
2015
|
+
domain: v__namespace.optional(IsValidUrlDomain),
|
|
2016
|
+
path: v__namespace.optional(IsValidUrlPath),
|
|
2017
|
+
query: v__namespace.optional(IsValidUrlQuery),
|
|
2018
|
+
fragment: v__namespace.optional(IsValidUrlFragment),
|
|
2019
|
+
utm_source: v__namespace.optional(IsValidUrlUtmSource),
|
|
2020
|
+
utm_medium: v__namespace.optional(IsValidUrlUtmMedium),
|
|
2021
|
+
utm_campaign: v__namespace.optional(IsValidUrlUtmCampaign),
|
|
2022
|
+
utm_creative_format: v__namespace.optional(IsValidUrlUtmCreativeFormat),
|
|
2023
|
+
utm_content: v__namespace.optional(IsValidUrlUtmContent),
|
|
2024
|
+
utm_term: v__namespace.optional(IsValidUrlUtmTerm),
|
|
2025
|
+
utm_id: v__namespace.optional(IsValidUrlUtmId),
|
|
2026
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2027
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2028
|
+
});
|
|
2029
|
+
var SQuerySearchTrackingLinkDocuments = v__namespace.object({
|
|
2030
|
+
group: IsValidReferenceDocumentId,
|
|
2031
|
+
page: VPageRequired(),
|
|
2032
|
+
size: VSizeRequired(TRACKING_LINK_PAGINATION_MAX_SIZE_LIMIT),
|
|
2033
|
+
sort: VSortTrackingLink,
|
|
2034
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2035
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2036
|
+
value: v__namespace.optional(IsValidUrlDestination),
|
|
2037
|
+
destination: v__namespace.optional(IsValidUrlDestination),
|
|
2038
|
+
protocol: v__namespace.optional(IsValidUrlProtocol),
|
|
2039
|
+
domain: v__namespace.optional(IsValidUrlDomain),
|
|
2040
|
+
path: v__namespace.optional(IsValidUrlPath),
|
|
2041
|
+
query: v__namespace.optional(IsValidUrlQuery),
|
|
2042
|
+
fragment: v__namespace.optional(IsValidUrlFragment),
|
|
2043
|
+
utm_source: v__namespace.optional(IsValidUrlUtmSource),
|
|
2044
|
+
utm_medium: v__namespace.optional(IsValidUrlUtmMedium),
|
|
2045
|
+
utm_campaign: v__namespace.optional(IsValidUrlUtmCampaign),
|
|
2046
|
+
utm_creative_format: v__namespace.optional(IsValidUrlUtmCreativeFormat),
|
|
2047
|
+
utm_content: v__namespace.optional(IsValidUrlUtmContent),
|
|
2048
|
+
utm_term: v__namespace.optional(IsValidUrlUtmTerm),
|
|
2049
|
+
utm_id: v__namespace.optional(IsValidUrlUtmId)
|
|
2050
|
+
});
|
|
2051
|
+
var SCreateTrackingLinkDocument = v__namespace.object({
|
|
2023
2052
|
group: IsValidReferenceDocumentId,
|
|
2024
2053
|
creator: IsValidReferenceDocumentId,
|
|
2025
2054
|
is_active: IsValidIsActive,
|
|
@@ -2038,30 +2067,30 @@ var SCreateTrackingLinkDocument = v62__namespace.object({
|
|
|
2038
2067
|
utm_term: IsValidUrlUtmTerm,
|
|
2039
2068
|
utm_id: IsValidUrlUtmId
|
|
2040
2069
|
});
|
|
2041
|
-
var SCreateMultipleTrackingLinkDocuments =
|
|
2042
|
-
tracking_links:
|
|
2043
|
-
|
|
2044
|
-
|
|
2070
|
+
var SCreateMultipleTrackingLinkDocuments = v__namespace.object({
|
|
2071
|
+
tracking_links: v__namespace.pipe(
|
|
2072
|
+
v__namespace.array(SCreateTrackingLinkDocument),
|
|
2073
|
+
v__namespace.minLength(1, "Please create at least one tracking link")
|
|
2045
2074
|
)
|
|
2046
2075
|
});
|
|
2047
|
-
var SCreatePreviewTrackingLinkDocument =
|
|
2076
|
+
var SCreatePreviewTrackingLinkDocument = v__namespace.object({
|
|
2048
2077
|
...SCreateTrackingLinkDocument.entries,
|
|
2049
|
-
is_duplicate:
|
|
2050
|
-
is_saved:
|
|
2078
|
+
is_duplicate: v__namespace.boolean(),
|
|
2079
|
+
is_saved: v__namespace.boolean()
|
|
2051
2080
|
});
|
|
2052
|
-
var SCreatePreviewMultipleTrackingLinkDocuments =
|
|
2053
|
-
tracking_links:
|
|
2054
|
-
|
|
2055
|
-
|
|
2081
|
+
var SCreatePreviewMultipleTrackingLinkDocuments = v__namespace.object({
|
|
2082
|
+
tracking_links: v__namespace.pipe(
|
|
2083
|
+
v__namespace.array(SCreatePreviewTrackingLinkDocument),
|
|
2084
|
+
v__namespace.minLength(1, "Please create at least one tracking link")
|
|
2056
2085
|
)
|
|
2057
2086
|
});
|
|
2058
|
-
var SReadTrackingLinkDocumentById =
|
|
2087
|
+
var SReadTrackingLinkDocumentById = v__namespace.object({
|
|
2059
2088
|
id: IsValidReferenceId
|
|
2060
2089
|
});
|
|
2061
|
-
var SReadTrackingLinkDocumentByDocumentId =
|
|
2090
|
+
var SReadTrackingLinkDocumentByDocumentId = v__namespace.object({
|
|
2062
2091
|
documentId: IsValidReferenceDocumentId
|
|
2063
2092
|
});
|
|
2064
|
-
var SUpdateAsCreatorTrackingLinkDocument =
|
|
2093
|
+
var SUpdateAsCreatorTrackingLinkDocument = v__namespace.object({
|
|
2065
2094
|
is_active: IsValidOrUndefinedIsActive,
|
|
2066
2095
|
value: IsValidOrUndefinedUrlDestination,
|
|
2067
2096
|
destination: IsValidOrUndefinedUrlDestination,
|
|
@@ -2078,11 +2107,11 @@ var SUpdateAsCreatorTrackingLinkDocument = v62__namespace.object({
|
|
|
2078
2107
|
utm_term: IsValidOrUndefinedUrlUtmTerm,
|
|
2079
2108
|
utm_id: IsValidOrUndefinedUrlUtmId
|
|
2080
2109
|
});
|
|
2081
|
-
var SUpdateAsCreatorTrackingLinkDocumentRequest =
|
|
2110
|
+
var SUpdateAsCreatorTrackingLinkDocumentRequest = v__namespace.object({
|
|
2082
2111
|
documentId: IsValidReferenceDocumentId,
|
|
2083
2112
|
data: SUpdateAsCreatorTrackingLinkDocument
|
|
2084
2113
|
});
|
|
2085
|
-
var SUpdateAsInvitedTrackingLinkDocument =
|
|
2114
|
+
var SUpdateAsInvitedTrackingLinkDocument = v__namespace.object({
|
|
2086
2115
|
is_active: IsValidOrUndefinedIsActive,
|
|
2087
2116
|
value: IsValidOrUndefinedUrlDestination,
|
|
2088
2117
|
destination: IsValidOrUndefinedUrlDestination,
|
|
@@ -2099,19 +2128,18 @@ var SUpdateAsInvitedTrackingLinkDocument = v62__namespace.object({
|
|
|
2099
2128
|
utm_term: IsValidOrUndefinedUrlUtmTerm,
|
|
2100
2129
|
utm_id: IsValidOrUndefinedUrlUtmId
|
|
2101
2130
|
});
|
|
2102
|
-
var SUpdateAsInvitedTrackingLinkDocumentRequest =
|
|
2131
|
+
var SUpdateAsInvitedTrackingLinkDocumentRequest = v__namespace.object({
|
|
2103
2132
|
documentId: IsValidReferenceDocumentId,
|
|
2104
2133
|
data: SUpdateAsInvitedTrackingLinkDocument
|
|
2105
2134
|
});
|
|
2106
|
-
var SUpdateTrackingLinkDocumentRequest =
|
|
2135
|
+
var SUpdateTrackingLinkDocumentRequest = v__namespace.union([
|
|
2107
2136
|
SUpdateAsCreatorTrackingLinkDocument,
|
|
2108
2137
|
SUpdateAsInvitedTrackingLinkDocument
|
|
2109
2138
|
]);
|
|
2110
|
-
var SDeleteTrackingLinkDocument =
|
|
2139
|
+
var SDeleteTrackingLinkDocument = v__namespace.object({
|
|
2111
2140
|
documentId: IsValidReferenceDocumentId
|
|
2112
2141
|
});
|
|
2113
|
-
var
|
|
2114
|
-
documentId: IsValidReferenceDocumentId,
|
|
2142
|
+
var SQueryParamsUserAccountDocuments = v__namespace.object({
|
|
2115
2143
|
page: VPage(),
|
|
2116
2144
|
size: VSize(USER_ACCOUNT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2117
2145
|
sort: VSortUserAccount,
|
|
@@ -2125,7 +2153,7 @@ var SQueryListUserAccountDocuments = v62__namespace.object({
|
|
|
2125
2153
|
trial_period_end_after: IsValidOrUndefinedTrialPeriodEnd,
|
|
2126
2154
|
trial_period_end_before: IsValidOrUndefinedTrialPeriodEnd
|
|
2127
2155
|
});
|
|
2128
|
-
var SCreateUserAccountDocument =
|
|
2156
|
+
var SCreateUserAccountDocument = v__namespace.object({
|
|
2129
2157
|
user: IsValidReferenceDocumentId,
|
|
2130
2158
|
customer_id: IsValidOrUndefinedCustomerId,
|
|
2131
2159
|
subscription_id: IsValidOrUndefinedSubscriptionId,
|
|
@@ -2134,13 +2162,13 @@ var SCreateUserAccountDocument = v62__namespace.object({
|
|
|
2134
2162
|
current_period_end: IsValidCurrentPeriodEnd,
|
|
2135
2163
|
trial_period_end: IsValidOrUndefinedTrialPeriodEnd
|
|
2136
2164
|
});
|
|
2137
|
-
var SReadUserAccountDocumentById =
|
|
2165
|
+
var SReadUserAccountDocumentById = v__namespace.object({
|
|
2138
2166
|
id: IsValidReferenceId
|
|
2139
2167
|
});
|
|
2140
|
-
var SReadUserAccountDocumentByDocumentId =
|
|
2168
|
+
var SReadUserAccountDocumentByDocumentId = v__namespace.object({
|
|
2141
2169
|
documentId: IsValidReferenceDocumentId
|
|
2142
2170
|
});
|
|
2143
|
-
var SUpdateUserAccountDocument =
|
|
2171
|
+
var SUpdateUserAccountDocument = v__namespace.object({
|
|
2144
2172
|
customer_id: IsValidOrUndefinedCustomerId,
|
|
2145
2173
|
subscription_id: IsValidOrUndefinedSubscriptionId,
|
|
2146
2174
|
subscription_status: IsValidOrUndefinedSubscriptionStatus,
|
|
@@ -2148,13 +2176,12 @@ var SUpdateUserAccountDocument = v62__namespace.object({
|
|
|
2148
2176
|
current_period_end: IsValidOrUndefinedCurrentPeriodEnd,
|
|
2149
2177
|
trial_period_end: IsValidOrUndefinedTrialPeriodEnd
|
|
2150
2178
|
});
|
|
2151
|
-
var
|
|
2152
|
-
documentId: IsValidReferenceDocumentId,
|
|
2179
|
+
var SQueryParamsUserLimitationDocuments = v__namespace.object({
|
|
2153
2180
|
page: VPage(),
|
|
2154
2181
|
size: VSize(USER_LIMITATION_PAGINATION_MAX_SIZE_LIMIT),
|
|
2155
2182
|
sort: VSortUserLimitations
|
|
2156
2183
|
});
|
|
2157
|
-
var SCreateUserLimitationsDocument =
|
|
2184
|
+
var SCreateUserLimitationsDocument = v__namespace.object({
|
|
2158
2185
|
user: IsValidReferenceDocumentId,
|
|
2159
2186
|
limit_groups: IsValidUserLimitationNumberFallback,
|
|
2160
2187
|
limit_group_users: IsValidUserLimitationNumberFallback,
|
|
@@ -2172,13 +2199,13 @@ var SCreateUserLimitationsDocument = v62__namespace.object({
|
|
|
2172
2199
|
limit_creative_format_variants: IsValidUserLimitationNumberFallback,
|
|
2173
2200
|
limit_terms: IsValidUserLimitationNumberFallback
|
|
2174
2201
|
});
|
|
2175
|
-
var SReadUserLimitationsDocumentById =
|
|
2202
|
+
var SReadUserLimitationsDocumentById = v__namespace.object({
|
|
2176
2203
|
id: IsValidReferenceId
|
|
2177
2204
|
});
|
|
2178
|
-
var SReadUserLimitationsDocumentByDocumentId =
|
|
2205
|
+
var SReadUserLimitationsDocumentByDocumentId = v__namespace.object({
|
|
2179
2206
|
documentId: IsValidReferenceDocumentId
|
|
2180
2207
|
});
|
|
2181
|
-
var SUpdateUserLimitationsDocument =
|
|
2208
|
+
var SUpdateUserLimitationsDocument = v__namespace.object({
|
|
2182
2209
|
limit_groups: IsValidOrUndefinedUserLimitationNumber,
|
|
2183
2210
|
limit_group_users: IsValidOrUndefinedUserLimitationNumber,
|
|
2184
2211
|
limit_websites: IsValidOrUndefinedUserLimitationNumber,
|
|
@@ -2195,21 +2222,21 @@ var SUpdateUserLimitationsDocument = v62__namespace.object({
|
|
|
2195
2222
|
limit_creative_format_variants: IsValidOrUndefinedUserLimitationNumber,
|
|
2196
2223
|
limit_terms: IsValidOrUndefinedUserLimitationNumber
|
|
2197
2224
|
});
|
|
2198
|
-
var
|
|
2225
|
+
var SQueryParamsUserDocuments = v__namespace.object({
|
|
2199
2226
|
page: VPage(),
|
|
2200
2227
|
size: VSize(USER_PAGINATION_MAX_SIZE_LIMIT),
|
|
2201
2228
|
sort: VSortUser,
|
|
2202
|
-
email:
|
|
2203
|
-
username:
|
|
2204
|
-
confirmed:
|
|
2205
|
-
blocked:
|
|
2229
|
+
email: v__namespace.optional(IsValidEmail),
|
|
2230
|
+
username: v__namespace.optional(IsValidUsername),
|
|
2231
|
+
confirmed: v__namespace.optional(IsValidIsActive),
|
|
2232
|
+
blocked: v__namespace.optional(IsValidIsActive)
|
|
2206
2233
|
});
|
|
2207
|
-
var
|
|
2208
|
-
identifier:
|
|
2234
|
+
var SQueryParamsUserDocumentsByIdentifier = v__namespace.object({
|
|
2235
|
+
identifier: v__namespace.pipe(v__namespace.string(), v__namespace.maxLength(255)),
|
|
2209
2236
|
page: VPage(),
|
|
2210
2237
|
size: VSize(USER_PAGINATION_MAX_SIZE_LIMIT)
|
|
2211
2238
|
});
|
|
2212
|
-
var SCreateUserDocument =
|
|
2239
|
+
var SCreateUserDocument = v__namespace.object({
|
|
2213
2240
|
username: IsValidUsername,
|
|
2214
2241
|
email: IsValidEmail,
|
|
2215
2242
|
password: IsValidPassword,
|
|
@@ -2217,35 +2244,47 @@ var SCreateUserDocument = v62__namespace.object({
|
|
|
2217
2244
|
confirmed: IsValidIsBoolean,
|
|
2218
2245
|
role: IsValidReferenceId
|
|
2219
2246
|
});
|
|
2220
|
-
var SReadUserDocumentById =
|
|
2247
|
+
var SReadUserDocumentById = v__namespace.object({
|
|
2221
2248
|
id: IsValidReferenceId
|
|
2222
2249
|
});
|
|
2223
|
-
var SReadUserDocumentByDocumentId =
|
|
2250
|
+
var SReadUserDocumentByDocumentId = v__namespace.object({
|
|
2224
2251
|
documentId: IsValidReferenceDocumentId
|
|
2225
2252
|
});
|
|
2226
|
-
var SUpdateUserDocument =
|
|
2253
|
+
var SUpdateUserDocument = v__namespace.object({
|
|
2227
2254
|
username: IsValidOrUndefinedUsername,
|
|
2228
2255
|
email: IsValidOrUndefinedEmail,
|
|
2229
2256
|
password: IsValidOrUndefinedPassword,
|
|
2230
2257
|
blocked: IsValidOrUndefinedIsBoolean,
|
|
2231
2258
|
confirmed: IsValidOrUndefinedIsBoolean,
|
|
2232
|
-
role:
|
|
2259
|
+
role: v__namespace.optional(IsValidReferenceId)
|
|
2233
2260
|
});
|
|
2234
|
-
var
|
|
2235
|
-
documentId: IsValidReferenceDocumentId,
|
|
2261
|
+
var SQueryParamsCampaignIdDocuments = v__namespace.object({
|
|
2236
2262
|
page: VPage(),
|
|
2237
2263
|
size: VSize(CAMPAIGN_ID_PAGINATION_MAX_SIZE_LIMIT),
|
|
2238
2264
|
sort: VSortCampaignId,
|
|
2239
|
-
cost:
|
|
2240
|
-
min_cost:
|
|
2241
|
-
max_cost:
|
|
2242
|
-
label:
|
|
2243
|
-
value:
|
|
2244
|
-
is_active:
|
|
2245
|
-
group:
|
|
2246
|
-
creator:
|
|
2247
|
-
});
|
|
2248
|
-
var
|
|
2265
|
+
cost: v__namespace.optional(IsValidCost),
|
|
2266
|
+
min_cost: v__namespace.optional(IsValidCost),
|
|
2267
|
+
max_cost: v__namespace.optional(IsValidCost),
|
|
2268
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2269
|
+
value: v__namespace.optional(IsValidValue),
|
|
2270
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2271
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2272
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2273
|
+
});
|
|
2274
|
+
var SQuerySearchCampaignIdDocuments = v__namespace.object({
|
|
2275
|
+
group: IsValidReferenceDocumentId,
|
|
2276
|
+
page: VPageRequired(),
|
|
2277
|
+
size: VSizeRequired(CAMPAIGN_ID_PAGINATION_MAX_SIZE_LIMIT),
|
|
2278
|
+
sort: VSortCampaignId,
|
|
2279
|
+
cost: v__namespace.optional(IsValidCost),
|
|
2280
|
+
min_cost: v__namespace.optional(IsValidCost),
|
|
2281
|
+
max_cost: v__namespace.optional(IsValidCost),
|
|
2282
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2283
|
+
value: v__namespace.optional(IsValidValue),
|
|
2284
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2285
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2286
|
+
});
|
|
2287
|
+
var SCreateCampaignIdDocument = v__namespace.object({
|
|
2249
2288
|
group: IsValidReferenceDocumentId,
|
|
2250
2289
|
creator: IsValidReferenceDocumentId,
|
|
2251
2290
|
cost: IsValidCost,
|
|
@@ -2254,57 +2293,66 @@ var SCreateCampaignIdDocument = v62__namespace.object({
|
|
|
2254
2293
|
description: IsValidDescription,
|
|
2255
2294
|
is_active: IsValidIsActive
|
|
2256
2295
|
});
|
|
2257
|
-
var SCreateMultipleCampaignIdDocuments =
|
|
2258
|
-
campaign_ids:
|
|
2259
|
-
|
|
2260
|
-
|
|
2296
|
+
var SCreateMultipleCampaignIdDocuments = v__namespace.object({
|
|
2297
|
+
campaign_ids: v__namespace.pipe(
|
|
2298
|
+
v__namespace.array(SCreateCampaignIdDocument),
|
|
2299
|
+
v__namespace.minLength(1, "At least one campaign ID is required")
|
|
2261
2300
|
)
|
|
2262
2301
|
});
|
|
2263
|
-
var SReadCampaignIdDocumentById =
|
|
2302
|
+
var SReadCampaignIdDocumentById = v__namespace.object({
|
|
2264
2303
|
id: IsValidReferenceId
|
|
2265
2304
|
});
|
|
2266
|
-
var SReadCampaignIdDocumentByDocumentId =
|
|
2305
|
+
var SReadCampaignIdDocumentByDocumentId = v__namespace.object({
|
|
2267
2306
|
documentId: IsValidReferenceDocumentId
|
|
2268
2307
|
});
|
|
2269
|
-
var SUpdateAsCreatorCampaignIdDocument =
|
|
2308
|
+
var SUpdateAsCreatorCampaignIdDocument = v__namespace.object({
|
|
2270
2309
|
cost: IsValidOrUndefinedCost,
|
|
2271
2310
|
label: IsValidOrUndefinedLabel,
|
|
2272
2311
|
value: IsValidOrUndefinedValue,
|
|
2273
2312
|
description: IsValidOrUndefinedDescription,
|
|
2274
2313
|
is_active: IsValidOrUndefinedIsActive
|
|
2275
2314
|
});
|
|
2276
|
-
var SUpdateAsCreatorCampaignIdDocumentRequest =
|
|
2315
|
+
var SUpdateAsCreatorCampaignIdDocumentRequest = v__namespace.object({
|
|
2277
2316
|
documentId: IsValidReferenceDocumentId,
|
|
2278
2317
|
data: SUpdateAsCreatorCampaignIdDocument
|
|
2279
2318
|
});
|
|
2280
|
-
var SUpdateAsInvitedCampaignIdDocument =
|
|
2319
|
+
var SUpdateAsInvitedCampaignIdDocument = v__namespace.object({
|
|
2281
2320
|
label: IsValidOrUndefinedLabel,
|
|
2282
2321
|
description: IsValidOrUndefinedDescription,
|
|
2283
2322
|
is_active: IsValidOrUndefinedIsActive
|
|
2284
2323
|
});
|
|
2285
|
-
var SUpdateAsInvitedCampaignIdDocumentRequest =
|
|
2324
|
+
var SUpdateAsInvitedCampaignIdDocumentRequest = v__namespace.object({
|
|
2286
2325
|
documentId: IsValidReferenceDocumentId,
|
|
2287
2326
|
data: SUpdateAsInvitedCampaignIdDocument
|
|
2288
2327
|
});
|
|
2289
|
-
var SUpdateCampaignIdDocumentRequest =
|
|
2328
|
+
var SUpdateCampaignIdDocumentRequest = v__namespace.union([
|
|
2290
2329
|
SUpdateAsCreatorCampaignIdDocument,
|
|
2291
2330
|
SUpdateAsInvitedCampaignIdDocument
|
|
2292
2331
|
]);
|
|
2293
|
-
var SDeleteCampaignIdDocument =
|
|
2332
|
+
var SDeleteCampaignIdDocument = v__namespace.object({
|
|
2294
2333
|
documentId: IsValidReferenceDocumentId
|
|
2295
2334
|
});
|
|
2296
|
-
var
|
|
2297
|
-
documentId: IsValidReferenceDocumentId,
|
|
2335
|
+
var SQueryParamsCampaignKeyDocuments = v__namespace.object({
|
|
2298
2336
|
page: VPage(),
|
|
2299
2337
|
size: VSize(CAMPAIGN_KEY_PAGINATION_MAX_SIZE_LIMIT),
|
|
2300
2338
|
sort: VSortCampaignKey,
|
|
2301
|
-
label:
|
|
2302
|
-
value:
|
|
2303
|
-
is_active:
|
|
2304
|
-
group:
|
|
2305
|
-
creator:
|
|
2339
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2340
|
+
value: v__namespace.optional(IsValidValue),
|
|
2341
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2342
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2343
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2306
2344
|
});
|
|
2307
|
-
var
|
|
2345
|
+
var SQuerySearchCampaignKeyDocuments = v__namespace.object({
|
|
2346
|
+
group: IsValidReferenceDocumentId,
|
|
2347
|
+
page: VPageRequired(),
|
|
2348
|
+
size: VSizeRequired(CAMPAIGN_KEY_PAGINATION_MAX_SIZE_LIMIT),
|
|
2349
|
+
sort: VSortCampaignKey,
|
|
2350
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2351
|
+
value: v__namespace.optional(IsValidValue),
|
|
2352
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2353
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2354
|
+
});
|
|
2355
|
+
var SCreateCampaignKeyDocument = v__namespace.object({
|
|
2308
2356
|
group: IsValidReferenceDocumentId,
|
|
2309
2357
|
creator: IsValidReferenceDocumentId,
|
|
2310
2358
|
label: IsValidLabel,
|
|
@@ -2312,56 +2360,66 @@ var SCreateCampaignKeyDocument = v62__namespace.object({
|
|
|
2312
2360
|
description: IsValidDescription,
|
|
2313
2361
|
is_active: IsValidIsActive
|
|
2314
2362
|
});
|
|
2315
|
-
var SCreateMultipleCampaignKeyDocuments =
|
|
2316
|
-
campaign_keys:
|
|
2317
|
-
|
|
2318
|
-
|
|
2363
|
+
var SCreateMultipleCampaignKeyDocuments = v__namespace.object({
|
|
2364
|
+
campaign_keys: v__namespace.pipe(
|
|
2365
|
+
v__namespace.array(SCreateCampaignKeyDocument),
|
|
2366
|
+
v__namespace.minLength(1, "At least one campaign key is required")
|
|
2319
2367
|
)
|
|
2320
2368
|
});
|
|
2321
|
-
var SReadCampaignKeyDocumentById =
|
|
2369
|
+
var SReadCampaignKeyDocumentById = v__namespace.object({
|
|
2322
2370
|
id: IsValidReferenceId
|
|
2323
2371
|
});
|
|
2324
|
-
var SReadCampaignKeyDocumentByDocumentId =
|
|
2372
|
+
var SReadCampaignKeyDocumentByDocumentId = v__namespace.object({
|
|
2325
2373
|
documentId: IsValidReferenceDocumentId
|
|
2326
2374
|
});
|
|
2327
|
-
var SUpdateAsCreatorCampaignKeyDocument =
|
|
2375
|
+
var SUpdateAsCreatorCampaignKeyDocument = v__namespace.object({
|
|
2328
2376
|
label: IsValidOrUndefinedLabel,
|
|
2329
2377
|
value: IsValidOrUndefinedValue,
|
|
2330
2378
|
description: IsValidOrUndefinedDescription,
|
|
2331
2379
|
is_active: IsValidOrUndefinedIsActive
|
|
2332
2380
|
});
|
|
2333
|
-
var SUpdateAsCreatorCampaignKeyDocumentRequest =
|
|
2381
|
+
var SUpdateAsCreatorCampaignKeyDocumentRequest = v__namespace.object({
|
|
2334
2382
|
documentId: IsValidReferenceDocumentId,
|
|
2335
2383
|
data: SUpdateAsCreatorCampaignKeyDocument
|
|
2336
2384
|
});
|
|
2337
|
-
var SUpdateAsInvitedCampaignKeyDocument =
|
|
2385
|
+
var SUpdateAsInvitedCampaignKeyDocument = v__namespace.object({
|
|
2338
2386
|
label: IsValidOrUndefinedLabel,
|
|
2339
2387
|
description: IsValidDescription,
|
|
2340
2388
|
is_active: IsValidOrUndefinedIsActive
|
|
2341
2389
|
});
|
|
2342
|
-
var SUpdateAsInvitedCampaignKeyDocumentRequest =
|
|
2390
|
+
var SUpdateAsInvitedCampaignKeyDocumentRequest = v__namespace.object({
|
|
2343
2391
|
documentId: IsValidReferenceDocumentId,
|
|
2344
2392
|
data: SUpdateAsInvitedCampaignKeyDocument
|
|
2345
2393
|
});
|
|
2346
|
-
var SUpdateCampaignKeyDocumentRequest =
|
|
2394
|
+
var SUpdateCampaignKeyDocumentRequest = v__namespace.union([
|
|
2347
2395
|
SUpdateAsCreatorCampaignKeyDocument,
|
|
2348
2396
|
SUpdateAsInvitedCampaignKeyDocument
|
|
2349
2397
|
]);
|
|
2350
|
-
var SDeleteCampaignKeyDocument =
|
|
2398
|
+
var SDeleteCampaignKeyDocument = v__namespace.object({
|
|
2351
2399
|
documentId: IsValidReferenceDocumentId
|
|
2352
2400
|
});
|
|
2353
|
-
var
|
|
2401
|
+
var SQueryParamsCampaignPhaseDocuments = v__namespace.object({
|
|
2354
2402
|
documentId: IsValidReferenceDocumentId,
|
|
2355
2403
|
page: VPage(),
|
|
2356
2404
|
size: VSize(CAMPAIGN_PHASE_PAGINATION_MAX_SIZE_LIMIT),
|
|
2357
2405
|
sort: VSortCampaignPhase,
|
|
2358
|
-
label:
|
|
2359
|
-
value:
|
|
2360
|
-
is_active:
|
|
2361
|
-
group:
|
|
2362
|
-
creator:
|
|
2406
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2407
|
+
value: v__namespace.optional(IsValidValue),
|
|
2408
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2409
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2410
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2411
|
+
});
|
|
2412
|
+
var SQuerySearchCampaignPhaseDocuments = v__namespace.object({
|
|
2413
|
+
group: IsValidReferenceDocumentId,
|
|
2414
|
+
page: VPageRequired(),
|
|
2415
|
+
size: VSizeRequired(CAMPAIGN_PHASE_PAGINATION_MAX_SIZE_LIMIT),
|
|
2416
|
+
sort: VSortCampaignPhase,
|
|
2417
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2418
|
+
value: v__namespace.optional(IsValidValue),
|
|
2419
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2420
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2363
2421
|
});
|
|
2364
|
-
var SCreateCampaignPhaseDocument =
|
|
2422
|
+
var SCreateCampaignPhaseDocument = v__namespace.object({
|
|
2365
2423
|
group: IsValidReferenceDocumentId,
|
|
2366
2424
|
creator: IsValidReferenceDocumentId,
|
|
2367
2425
|
label: IsValidLabel,
|
|
@@ -2369,56 +2427,65 @@ var SCreateCampaignPhaseDocument = v62__namespace.object({
|
|
|
2369
2427
|
description: IsValidDescription,
|
|
2370
2428
|
is_active: IsValidIsActive
|
|
2371
2429
|
});
|
|
2372
|
-
var SCreateMultipleCampaignPhaseDocuments =
|
|
2373
|
-
campaign_phases:
|
|
2374
|
-
|
|
2375
|
-
|
|
2430
|
+
var SCreateMultipleCampaignPhaseDocuments = v__namespace.object({
|
|
2431
|
+
campaign_phases: v__namespace.pipe(
|
|
2432
|
+
v__namespace.array(SCreateCampaignPhaseDocument),
|
|
2433
|
+
v__namespace.minLength(1, "At least one campaign phase is required")
|
|
2376
2434
|
)
|
|
2377
2435
|
});
|
|
2378
|
-
var SReadCampaignPhaseDocumentById =
|
|
2436
|
+
var SReadCampaignPhaseDocumentById = v__namespace.object({
|
|
2379
2437
|
id: IsValidReferenceId
|
|
2380
2438
|
});
|
|
2381
|
-
var SReadCampaignPhaseDocumentByDocumentId =
|
|
2439
|
+
var SReadCampaignPhaseDocumentByDocumentId = v__namespace.object({
|
|
2382
2440
|
documentId: IsValidReferenceDocumentId
|
|
2383
2441
|
});
|
|
2384
|
-
var SUpdateAsCreatorCampaignPhaseDocument =
|
|
2442
|
+
var SUpdateAsCreatorCampaignPhaseDocument = v__namespace.object({
|
|
2385
2443
|
label: IsValidOrUndefinedLabel,
|
|
2386
2444
|
value: IsValidOrUndefinedValue,
|
|
2387
2445
|
description: IsValidOrUndefinedDescription,
|
|
2388
2446
|
is_active: IsValidOrUndefinedIsActive
|
|
2389
2447
|
});
|
|
2390
|
-
var SUpdateAsCreatorCampaignPhaseDocumentRequest =
|
|
2448
|
+
var SUpdateAsCreatorCampaignPhaseDocumentRequest = v__namespace.object({
|
|
2391
2449
|
documentId: IsValidReferenceDocumentId,
|
|
2392
2450
|
data: SUpdateAsCreatorCampaignPhaseDocument
|
|
2393
2451
|
});
|
|
2394
|
-
var SUpdateAsInvitedCampaignPhaseDocument =
|
|
2452
|
+
var SUpdateAsInvitedCampaignPhaseDocument = v__namespace.object({
|
|
2395
2453
|
label: IsValidOrUndefinedLabel,
|
|
2396
2454
|
description: IsValidDescription,
|
|
2397
2455
|
is_active: IsValidOrUndefinedIsActive
|
|
2398
2456
|
});
|
|
2399
|
-
var SUpdateAsInvitedCampaignPhaseDocumentRequest =
|
|
2457
|
+
var SUpdateAsInvitedCampaignPhaseDocumentRequest = v__namespace.object({
|
|
2400
2458
|
documentId: IsValidReferenceDocumentId,
|
|
2401
2459
|
data: SUpdateAsInvitedCampaignPhaseDocument
|
|
2402
2460
|
});
|
|
2403
|
-
var SUpdateCampaignPhaseDocumentRequest =
|
|
2461
|
+
var SUpdateCampaignPhaseDocumentRequest = v__namespace.union([
|
|
2404
2462
|
SUpdateAsCreatorCampaignPhaseDocument,
|
|
2405
2463
|
SUpdateAsInvitedCampaignPhaseDocument
|
|
2406
2464
|
]);
|
|
2407
|
-
var SDeleteCampaignPhaseDocument =
|
|
2465
|
+
var SDeleteCampaignPhaseDocument = v__namespace.object({
|
|
2408
2466
|
documentId: IsValidReferenceDocumentId
|
|
2409
2467
|
});
|
|
2410
|
-
var
|
|
2411
|
-
documentId: IsValidReferenceDocumentId,
|
|
2468
|
+
var SQueryParamsCampaignProductDocuments = v__namespace.object({
|
|
2412
2469
|
page: VPage(),
|
|
2413
2470
|
size: VSize(CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2414
2471
|
sort: VSortCampaignProduct,
|
|
2415
|
-
label:
|
|
2416
|
-
value:
|
|
2417
|
-
is_active:
|
|
2418
|
-
group:
|
|
2419
|
-
creator:
|
|
2472
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2473
|
+
value: v__namespace.optional(IsValidValue),
|
|
2474
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2475
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2476
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2420
2477
|
});
|
|
2421
|
-
var
|
|
2478
|
+
var SQuerySearchCampaignProductDocuments = v__namespace.object({
|
|
2479
|
+
group: IsValidReferenceDocumentId,
|
|
2480
|
+
page: VPageRequired(),
|
|
2481
|
+
size: VSizeRequired(CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2482
|
+
sort: VSortCampaignProduct,
|
|
2483
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2484
|
+
value: v__namespace.optional(IsValidValue),
|
|
2485
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2486
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2487
|
+
});
|
|
2488
|
+
var SCreateCampaignProductDocument = v__namespace.object({
|
|
2422
2489
|
group: IsValidReferenceDocumentId,
|
|
2423
2490
|
creator: IsValidReferenceDocumentId,
|
|
2424
2491
|
label: IsValidLabel,
|
|
@@ -2426,56 +2493,66 @@ var SCreateCampaignProductDocument = v62__namespace.object({
|
|
|
2426
2493
|
description: IsValidDescription,
|
|
2427
2494
|
is_active: IsValidIsActive
|
|
2428
2495
|
});
|
|
2429
|
-
var SCreateMultipleCampaignProductDocuments =
|
|
2430
|
-
campaign_products:
|
|
2431
|
-
|
|
2432
|
-
|
|
2496
|
+
var SCreateMultipleCampaignProductDocuments = v__namespace.object({
|
|
2497
|
+
campaign_products: v__namespace.pipe(
|
|
2498
|
+
v__namespace.array(SCreateCampaignProductDocument),
|
|
2499
|
+
v__namespace.minLength(1, "At least one campaign product is required")
|
|
2433
2500
|
)
|
|
2434
2501
|
});
|
|
2435
|
-
var SReadCampaignProductDocumentById =
|
|
2502
|
+
var SReadCampaignProductDocumentById = v__namespace.object({
|
|
2436
2503
|
id: IsValidReferenceId
|
|
2437
2504
|
});
|
|
2438
|
-
var SReadCampaignProductDocumentByDocumentId =
|
|
2505
|
+
var SReadCampaignProductDocumentByDocumentId = v__namespace.object({
|
|
2439
2506
|
documentId: IsValidReferenceDocumentId
|
|
2440
2507
|
});
|
|
2441
|
-
var SUpdateAsCreatorCampaignProductDocument =
|
|
2508
|
+
var SUpdateAsCreatorCampaignProductDocument = v__namespace.object({
|
|
2442
2509
|
label: IsValidOrUndefinedLabel,
|
|
2443
2510
|
value: IsValidOrUndefinedValue,
|
|
2444
2511
|
description: IsValidOrUndefinedDescription,
|
|
2445
2512
|
is_active: IsValidOrUndefinedIsActive
|
|
2446
2513
|
});
|
|
2447
|
-
var SUpdateAsCreatorCampaignProductDocumentRequest =
|
|
2514
|
+
var SUpdateAsCreatorCampaignProductDocumentRequest = v__namespace.object({
|
|
2448
2515
|
documentId: IsValidReferenceDocumentId,
|
|
2449
2516
|
data: SUpdateAsCreatorCampaignProductDocument
|
|
2450
2517
|
});
|
|
2451
|
-
var SUpdateAsInvitedCampaignProductDocument =
|
|
2518
|
+
var SUpdateAsInvitedCampaignProductDocument = v__namespace.object({
|
|
2452
2519
|
label: IsValidOrUndefinedLabel,
|
|
2453
2520
|
description: IsValidDescription,
|
|
2454
2521
|
is_active: IsValidOrUndefinedIsActive
|
|
2455
2522
|
});
|
|
2456
|
-
var SUpdateAsInvitedCampaignProductDocumentRequest =
|
|
2523
|
+
var SUpdateAsInvitedCampaignProductDocumentRequest = v__namespace.object({
|
|
2457
2524
|
documentId: IsValidReferenceDocumentId,
|
|
2458
2525
|
data: SUpdateAsInvitedCampaignProductDocument
|
|
2459
2526
|
});
|
|
2460
|
-
var SUpdateCampaignProductDocumentRequest =
|
|
2527
|
+
var SUpdateCampaignProductDocumentRequest = v__namespace.union([
|
|
2461
2528
|
SUpdateAsCreatorCampaignProductDocument,
|
|
2462
2529
|
SUpdateAsInvitedCampaignProductDocument
|
|
2463
2530
|
]);
|
|
2464
|
-
var SDeleteCampaignProductDocument =
|
|
2531
|
+
var SDeleteCampaignProductDocument = v__namespace.object({
|
|
2465
2532
|
documentId: IsValidReferenceDocumentId
|
|
2466
2533
|
});
|
|
2467
|
-
var
|
|
2534
|
+
var SQueryParamsCampaignTargetDocuments = v__namespace.object({
|
|
2468
2535
|
documentId: IsValidReferenceDocumentId,
|
|
2469
2536
|
page: VPage(),
|
|
2470
2537
|
size: VSize(CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2471
2538
|
sort: VSortCampaignTarget,
|
|
2472
|
-
label:
|
|
2473
|
-
value:
|
|
2474
|
-
is_active:
|
|
2475
|
-
group:
|
|
2476
|
-
creator:
|
|
2539
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2540
|
+
value: v__namespace.optional(IsValidValue),
|
|
2541
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2542
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2543
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2544
|
+
});
|
|
2545
|
+
var SQuerySearchCampaignTargetDocuments = v__namespace.object({
|
|
2546
|
+
group: IsValidReferenceDocumentId,
|
|
2547
|
+
page: VPageRequired(),
|
|
2548
|
+
size: VSizeRequired(CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2549
|
+
sort: VSortCampaignTarget,
|
|
2550
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2551
|
+
value: v__namespace.optional(IsValidValue),
|
|
2552
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2553
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2477
2554
|
});
|
|
2478
|
-
var SCreateCampaignTargetDocument =
|
|
2555
|
+
var SCreateCampaignTargetDocument = v__namespace.object({
|
|
2479
2556
|
group: IsValidReferenceDocumentId,
|
|
2480
2557
|
creator: IsValidReferenceDocumentId,
|
|
2481
2558
|
label: IsValidLabel,
|
|
@@ -2483,56 +2560,65 @@ var SCreateCampaignTargetDocument = v62__namespace.object({
|
|
|
2483
2560
|
description: IsValidDescription,
|
|
2484
2561
|
is_active: IsValidIsActive
|
|
2485
2562
|
});
|
|
2486
|
-
var SCreateMultipleCampaignTargetDocuments =
|
|
2487
|
-
campaign_targets:
|
|
2488
|
-
|
|
2489
|
-
|
|
2563
|
+
var SCreateMultipleCampaignTargetDocuments = v__namespace.object({
|
|
2564
|
+
campaign_targets: v__namespace.pipe(
|
|
2565
|
+
v__namespace.array(SCreateCampaignTargetDocument),
|
|
2566
|
+
v__namespace.minLength(1, "At least one campaign target is required")
|
|
2490
2567
|
)
|
|
2491
2568
|
});
|
|
2492
|
-
var SReadCampaignTargetDocumentById =
|
|
2569
|
+
var SReadCampaignTargetDocumentById = v__namespace.object({
|
|
2493
2570
|
id: IsValidReferenceId
|
|
2494
2571
|
});
|
|
2495
|
-
var SReadCampaignTargetDocumentByDocumentId =
|
|
2572
|
+
var SReadCampaignTargetDocumentByDocumentId = v__namespace.object({
|
|
2496
2573
|
documentId: IsValidReferenceDocumentId
|
|
2497
2574
|
});
|
|
2498
|
-
var SUpdateAsCreatorCampaignTargetDocument =
|
|
2575
|
+
var SUpdateAsCreatorCampaignTargetDocument = v__namespace.object({
|
|
2499
2576
|
label: IsValidOrUndefinedLabel,
|
|
2500
2577
|
value: IsValidOrUndefinedValue,
|
|
2501
2578
|
description: IsValidOrUndefinedDescription,
|
|
2502
2579
|
is_active: IsValidOrUndefinedIsActive
|
|
2503
2580
|
});
|
|
2504
|
-
var SUpdateAsCreatorCampaignTargetDocumentRequest =
|
|
2581
|
+
var SUpdateAsCreatorCampaignTargetDocumentRequest = v__namespace.object({
|
|
2505
2582
|
documentId: IsValidReferenceDocumentId,
|
|
2506
2583
|
data: SUpdateAsCreatorCampaignTargetDocument
|
|
2507
2584
|
});
|
|
2508
|
-
var SUpdateAsInvitedCampaignTargetDocument =
|
|
2585
|
+
var SUpdateAsInvitedCampaignTargetDocument = v__namespace.object({
|
|
2509
2586
|
label: IsValidOrUndefinedLabel,
|
|
2510
2587
|
description: IsValidDescription,
|
|
2511
2588
|
is_active: IsValidOrUndefinedIsActive
|
|
2512
2589
|
});
|
|
2513
|
-
var SUpdateAsInvitedCampaignTargetDocumentRequest =
|
|
2590
|
+
var SUpdateAsInvitedCampaignTargetDocumentRequest = v__namespace.object({
|
|
2514
2591
|
documentId: IsValidReferenceDocumentId,
|
|
2515
2592
|
data: SUpdateAsInvitedCampaignTargetDocument
|
|
2516
2593
|
});
|
|
2517
|
-
var SUpdateCampaignTargetDocumentRequest =
|
|
2594
|
+
var SUpdateCampaignTargetDocumentRequest = v__namespace.union([
|
|
2518
2595
|
SUpdateAsCreatorCampaignTargetDocument,
|
|
2519
2596
|
SUpdateAsInvitedCampaignTargetDocument
|
|
2520
2597
|
]);
|
|
2521
|
-
var SDeleteCampaignTargetDocument =
|
|
2598
|
+
var SDeleteCampaignTargetDocument = v__namespace.object({
|
|
2522
2599
|
documentId: IsValidReferenceDocumentId
|
|
2523
2600
|
});
|
|
2524
|
-
var
|
|
2525
|
-
documentId: IsValidReferenceDocumentId,
|
|
2601
|
+
var SQueryParamsContentDocuments = v__namespace.object({
|
|
2526
2602
|
page: VPage(),
|
|
2527
2603
|
size: VSize(CONTENT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2528
2604
|
sort: VSortContent,
|
|
2529
|
-
label:
|
|
2530
|
-
value:
|
|
2531
|
-
is_active:
|
|
2532
|
-
group:
|
|
2533
|
-
creator:
|
|
2605
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2606
|
+
value: v__namespace.optional(IsValidValue),
|
|
2607
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2608
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2609
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2534
2610
|
});
|
|
2535
|
-
var
|
|
2611
|
+
var SQuerySearchContentDocuments = v__namespace.object({
|
|
2612
|
+
group: IsValidReferenceDocumentId,
|
|
2613
|
+
page: VPageRequired(),
|
|
2614
|
+
size: VSizeRequired(CONTENT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2615
|
+
sort: VSortContent,
|
|
2616
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2617
|
+
value: v__namespace.optional(IsValidValue),
|
|
2618
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2619
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2620
|
+
});
|
|
2621
|
+
var SCreateContentDocument = v__namespace.object({
|
|
2536
2622
|
group: IsValidReferenceDocumentId,
|
|
2537
2623
|
creator: IsValidReferenceDocumentId,
|
|
2538
2624
|
label: IsValidLabel,
|
|
@@ -2540,56 +2626,65 @@ var SCreateContentDocument = v62__namespace.object({
|
|
|
2540
2626
|
description: IsValidDescription,
|
|
2541
2627
|
is_active: IsValidIsActive
|
|
2542
2628
|
});
|
|
2543
|
-
var SCreateMultipleContentDocuments =
|
|
2544
|
-
contents:
|
|
2545
|
-
|
|
2546
|
-
|
|
2629
|
+
var SCreateMultipleContentDocuments = v__namespace.object({
|
|
2630
|
+
contents: v__namespace.pipe(
|
|
2631
|
+
v__namespace.array(SCreateContentDocument),
|
|
2632
|
+
v__namespace.minLength(1, "At least one term is required")
|
|
2547
2633
|
)
|
|
2548
2634
|
});
|
|
2549
|
-
var SReadContentDocumentById =
|
|
2635
|
+
var SReadContentDocumentById = v__namespace.object({
|
|
2550
2636
|
id: IsValidReferenceId
|
|
2551
2637
|
});
|
|
2552
|
-
var SReadContentDocumentByDocumentId =
|
|
2638
|
+
var SReadContentDocumentByDocumentId = v__namespace.object({
|
|
2553
2639
|
documentId: IsValidReferenceDocumentId
|
|
2554
2640
|
});
|
|
2555
|
-
var SUpdateAsCreatorContentDocument =
|
|
2641
|
+
var SUpdateAsCreatorContentDocument = v__namespace.object({
|
|
2556
2642
|
label: IsValidOrUndefinedLabel,
|
|
2557
2643
|
value: IsValidOrUndefinedValue,
|
|
2558
2644
|
description: IsValidOrUndefinedDescription,
|
|
2559
2645
|
is_active: IsValidOrUndefinedIsActive
|
|
2560
2646
|
});
|
|
2561
|
-
var SUpdateAsCreatorContentDocumentRequest =
|
|
2647
|
+
var SUpdateAsCreatorContentDocumentRequest = v__namespace.object({
|
|
2562
2648
|
documentId: IsValidReferenceDocumentId,
|
|
2563
2649
|
data: SUpdateAsCreatorContentDocument
|
|
2564
2650
|
});
|
|
2565
|
-
var SUpdateAsInvitedContentDocument =
|
|
2651
|
+
var SUpdateAsInvitedContentDocument = v__namespace.object({
|
|
2566
2652
|
label: IsValidOrUndefinedLabel,
|
|
2567
2653
|
description: IsValidDescription,
|
|
2568
2654
|
is_active: IsValidOrUndefinedIsActive
|
|
2569
2655
|
});
|
|
2570
|
-
var SUpdateAsInvitedContentDocumentRequest =
|
|
2656
|
+
var SUpdateAsInvitedContentDocumentRequest = v__namespace.object({
|
|
2571
2657
|
documentId: IsValidReferenceDocumentId,
|
|
2572
2658
|
data: SUpdateAsInvitedContentDocument
|
|
2573
2659
|
});
|
|
2574
|
-
var SUpdateContentDocumentRequest =
|
|
2660
|
+
var SUpdateContentDocumentRequest = v__namespace.union([
|
|
2575
2661
|
SUpdateAsCreatorContentDocument,
|
|
2576
2662
|
SUpdateAsInvitedContentDocument
|
|
2577
2663
|
]);
|
|
2578
|
-
var SDeleteContentDocument =
|
|
2664
|
+
var SDeleteContentDocument = v__namespace.object({
|
|
2579
2665
|
documentId: IsValidReferenceDocumentId
|
|
2580
2666
|
});
|
|
2581
|
-
var
|
|
2582
|
-
documentId: IsValidReferenceDocumentId,
|
|
2667
|
+
var SQueryParamsCreativeFormatVariantDocuments = v__namespace.object({
|
|
2583
2668
|
page: VPage(),
|
|
2584
2669
|
size: VSize(CREATIVE_FORMAT_VARIANT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2585
2670
|
sort: VSortCreativeFormatVariant,
|
|
2586
|
-
label:
|
|
2587
|
-
value:
|
|
2588
|
-
is_active:
|
|
2589
|
-
group:
|
|
2590
|
-
creator:
|
|
2671
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2672
|
+
value: v__namespace.optional(IsValidValue),
|
|
2673
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2674
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2675
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2591
2676
|
});
|
|
2592
|
-
var
|
|
2677
|
+
var SQuerySearchCreativeFormatVariantDocuments = v__namespace.object({
|
|
2678
|
+
group: IsValidReferenceDocumentId,
|
|
2679
|
+
page: VPageRequired(),
|
|
2680
|
+
size: VSizeRequired(CREATIVE_FORMAT_VARIANT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2681
|
+
sort: VSortCreativeFormatVariant,
|
|
2682
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2683
|
+
value: v__namespace.optional(IsValidValue),
|
|
2684
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2685
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2686
|
+
});
|
|
2687
|
+
var SCreateCreativeFormatVariantDocument = v__namespace.object({
|
|
2593
2688
|
group: IsValidReferenceDocumentId,
|
|
2594
2689
|
creator: IsValidReferenceDocumentId,
|
|
2595
2690
|
label: IsValidLabel,
|
|
@@ -2597,56 +2692,65 @@ var SCreateCreativeFormatVariantDocument = v62__namespace.object({
|
|
|
2597
2692
|
description: IsValidDescription,
|
|
2598
2693
|
is_active: IsValidIsActive
|
|
2599
2694
|
});
|
|
2600
|
-
var SCreateMultipleCreativeFormatVariantDocuments =
|
|
2601
|
-
creative_format_variants:
|
|
2602
|
-
|
|
2603
|
-
|
|
2695
|
+
var SCreateMultipleCreativeFormatVariantDocuments = v__namespace.object({
|
|
2696
|
+
creative_format_variants: v__namespace.pipe(
|
|
2697
|
+
v__namespace.array(SCreateCreativeFormatVariantDocument),
|
|
2698
|
+
v__namespace.minLength(1, "At least one term is required")
|
|
2604
2699
|
)
|
|
2605
2700
|
});
|
|
2606
|
-
var SReadCreativeFormatVariantDocumentById =
|
|
2701
|
+
var SReadCreativeFormatVariantDocumentById = v__namespace.object({
|
|
2607
2702
|
id: IsValidReferenceId
|
|
2608
2703
|
});
|
|
2609
|
-
var SReadCreativeFormatVariantDocumentByDocumentId =
|
|
2704
|
+
var SReadCreativeFormatVariantDocumentByDocumentId = v__namespace.object({
|
|
2610
2705
|
documentId: IsValidReferenceDocumentId
|
|
2611
2706
|
});
|
|
2612
|
-
var SUpdateAsCreatorCreativeFormatVariantDocument =
|
|
2707
|
+
var SUpdateAsCreatorCreativeFormatVariantDocument = v__namespace.object({
|
|
2613
2708
|
label: IsValidOrUndefinedLabel,
|
|
2614
2709
|
value: IsValidOrUndefinedValue,
|
|
2615
2710
|
description: IsValidOrUndefinedDescription,
|
|
2616
2711
|
is_active: IsValidOrUndefinedIsActive
|
|
2617
2712
|
});
|
|
2618
|
-
var SUpdateAsCreatorCreativeFormatVariantDocumentRequest =
|
|
2713
|
+
var SUpdateAsCreatorCreativeFormatVariantDocumentRequest = v__namespace.object({
|
|
2619
2714
|
documentId: IsValidReferenceDocumentId,
|
|
2620
2715
|
data: SUpdateAsCreatorCreativeFormatVariantDocument
|
|
2621
2716
|
});
|
|
2622
|
-
var SUpdateAsInvitedCreativeFormatVariantDocument =
|
|
2717
|
+
var SUpdateAsInvitedCreativeFormatVariantDocument = v__namespace.object({
|
|
2623
2718
|
label: IsValidOrUndefinedLabel,
|
|
2624
2719
|
description: IsValidDescription,
|
|
2625
2720
|
is_active: IsValidOrUndefinedIsActive
|
|
2626
2721
|
});
|
|
2627
|
-
var SUpdateAsInvitedCreativeFormatVariantDocumentRequest =
|
|
2722
|
+
var SUpdateAsInvitedCreativeFormatVariantDocumentRequest = v__namespace.object({
|
|
2628
2723
|
documentId: IsValidReferenceDocumentId,
|
|
2629
2724
|
data: SUpdateAsInvitedCreativeFormatVariantDocument
|
|
2630
2725
|
});
|
|
2631
|
-
var SUpdateCreativeFormatVariantDocumentRequest =
|
|
2726
|
+
var SUpdateCreativeFormatVariantDocumentRequest = v__namespace.union([
|
|
2632
2727
|
SUpdateAsCreatorCreativeFormatVariantDocument,
|
|
2633
2728
|
SUpdateAsInvitedCreativeFormatVariantDocument
|
|
2634
2729
|
]);
|
|
2635
|
-
var SDeleteCreativeFormatVariantDocument =
|
|
2730
|
+
var SDeleteCreativeFormatVariantDocument = v__namespace.object({
|
|
2636
2731
|
documentId: IsValidReferenceDocumentId
|
|
2637
2732
|
});
|
|
2638
|
-
var
|
|
2639
|
-
documentId: IsValidReferenceDocumentId,
|
|
2733
|
+
var SQueryParamsCreativeFormatDocuments = v__namespace.object({
|
|
2640
2734
|
page: VPage(),
|
|
2641
2735
|
size: VSize(CREATIVE_FORMAT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2642
2736
|
sort: VSortCreativeFormat,
|
|
2643
|
-
label:
|
|
2644
|
-
value:
|
|
2645
|
-
is_active:
|
|
2646
|
-
group:
|
|
2647
|
-
creator:
|
|
2737
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2738
|
+
value: v__namespace.optional(IsValidValue),
|
|
2739
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2740
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2741
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2648
2742
|
});
|
|
2649
|
-
var
|
|
2743
|
+
var SQuerySearchCreativeFormatDocuments = v__namespace.object({
|
|
2744
|
+
group: IsValidReferenceDocumentId,
|
|
2745
|
+
page: VPageRequired(),
|
|
2746
|
+
size: VSizeRequired(CREATIVE_FORMAT_PAGINATION_MAX_SIZE_LIMIT),
|
|
2747
|
+
sort: VSortCreativeFormat,
|
|
2748
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2749
|
+
value: v__namespace.optional(IsValidValue),
|
|
2750
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2751
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2752
|
+
});
|
|
2753
|
+
var SCreateCreativeFormatDocument = v__namespace.object({
|
|
2650
2754
|
group: IsValidReferenceDocumentId,
|
|
2651
2755
|
creator: IsValidReferenceDocumentId,
|
|
2652
2756
|
label: IsValidLabel,
|
|
@@ -2654,56 +2758,65 @@ var SCreateCreativeFormatDocument = v62__namespace.object({
|
|
|
2654
2758
|
description: IsValidDescription,
|
|
2655
2759
|
is_active: IsValidIsActive
|
|
2656
2760
|
});
|
|
2657
|
-
var SCreateMultipleCreativeFormatDocuments =
|
|
2658
|
-
creative_formats:
|
|
2659
|
-
|
|
2660
|
-
|
|
2761
|
+
var SCreateMultipleCreativeFormatDocuments = v__namespace.object({
|
|
2762
|
+
creative_formats: v__namespace.pipe(
|
|
2763
|
+
v__namespace.array(SCreateCreativeFormatDocument),
|
|
2764
|
+
v__namespace.minLength(1, "At least one creative format is required")
|
|
2661
2765
|
)
|
|
2662
2766
|
});
|
|
2663
|
-
var SReadCreativeFormatDocumentById =
|
|
2767
|
+
var SReadCreativeFormatDocumentById = v__namespace.object({
|
|
2664
2768
|
id: IsValidReferenceId
|
|
2665
2769
|
});
|
|
2666
|
-
var SReadCreativeFormatDocumentByDocumentId =
|
|
2770
|
+
var SReadCreativeFormatDocumentByDocumentId = v__namespace.object({
|
|
2667
2771
|
documentId: IsValidReferenceDocumentId
|
|
2668
2772
|
});
|
|
2669
|
-
var SUpdateAsCreatorCreativeFormatDocument =
|
|
2773
|
+
var SUpdateAsCreatorCreativeFormatDocument = v__namespace.object({
|
|
2670
2774
|
label: IsValidOrUndefinedLabel,
|
|
2671
2775
|
value: IsValidOrUndefinedValue,
|
|
2672
2776
|
description: IsValidOrUndefinedDescription,
|
|
2673
2777
|
is_active: IsValidOrUndefinedIsActive
|
|
2674
2778
|
});
|
|
2675
|
-
var SUpdateAsCreatorCreativeFormatDocumentRequest =
|
|
2779
|
+
var SUpdateAsCreatorCreativeFormatDocumentRequest = v__namespace.object({
|
|
2676
2780
|
documentId: IsValidReferenceDocumentId,
|
|
2677
2781
|
data: SUpdateAsCreatorCreativeFormatDocument
|
|
2678
2782
|
});
|
|
2679
|
-
var SUpdateAsInvitedCreativeFormatDocument =
|
|
2783
|
+
var SUpdateAsInvitedCreativeFormatDocument = v__namespace.object({
|
|
2680
2784
|
label: IsValidOrUndefinedLabel,
|
|
2681
2785
|
description: IsValidDescription,
|
|
2682
2786
|
is_active: IsValidOrUndefinedIsActive
|
|
2683
2787
|
});
|
|
2684
|
-
var SUpdateAsInvitedCreativeFormatDocumentRequest =
|
|
2788
|
+
var SUpdateAsInvitedCreativeFormatDocumentRequest = v__namespace.object({
|
|
2685
2789
|
documentId: IsValidReferenceDocumentId,
|
|
2686
2790
|
data: SUpdateAsInvitedCreativeFormatDocument
|
|
2687
2791
|
});
|
|
2688
|
-
var SUpdateCreativeFormatDocumentRequest =
|
|
2792
|
+
var SUpdateCreativeFormatDocumentRequest = v__namespace.union([
|
|
2689
2793
|
SUpdateAsCreatorCreativeFormatDocument,
|
|
2690
2794
|
SUpdateAsInvitedCreativeFormatDocument
|
|
2691
2795
|
]);
|
|
2692
|
-
var SDeleteCreativeFormatDocument =
|
|
2796
|
+
var SDeleteCreativeFormatDocument = v__namespace.object({
|
|
2693
2797
|
documentId: IsValidReferenceDocumentId
|
|
2694
2798
|
});
|
|
2695
|
-
var
|
|
2696
|
-
documentId: IsValidReferenceDocumentId,
|
|
2799
|
+
var SQueryParamsMediumDocuments = v__namespace.object({
|
|
2697
2800
|
page: VPage(),
|
|
2698
2801
|
size: VSize(MEDIUM_PAGINATION_MAX_SIZE_LIMIT),
|
|
2699
2802
|
sort: VSortMedium,
|
|
2700
|
-
label:
|
|
2701
|
-
value:
|
|
2702
|
-
is_active:
|
|
2703
|
-
group:
|
|
2704
|
-
creator:
|
|
2803
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2804
|
+
value: v__namespace.optional(IsValidValue),
|
|
2805
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2806
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2807
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2808
|
+
});
|
|
2809
|
+
var SQuerySearchMediumDocuments = v__namespace.object({
|
|
2810
|
+
group: IsValidReferenceDocumentId,
|
|
2811
|
+
page: VPageRequired(),
|
|
2812
|
+
size: VSizeRequired(MEDIUM_PAGINATION_MAX_SIZE_LIMIT),
|
|
2813
|
+
sort: VSortMedium,
|
|
2814
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2815
|
+
value: v__namespace.optional(IsValidValue),
|
|
2816
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2817
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2705
2818
|
});
|
|
2706
|
-
var SCreateMediumDocument =
|
|
2819
|
+
var SCreateMediumDocument = v__namespace.object({
|
|
2707
2820
|
group: IsValidReferenceDocumentId,
|
|
2708
2821
|
creator: IsValidReferenceDocumentId,
|
|
2709
2822
|
label: IsValidLabel,
|
|
@@ -2711,56 +2824,65 @@ var SCreateMediumDocument = v62__namespace.object({
|
|
|
2711
2824
|
description: IsValidDescription,
|
|
2712
2825
|
is_active: IsValidIsActive
|
|
2713
2826
|
});
|
|
2714
|
-
var SCreateMultipleMediumDocuments =
|
|
2715
|
-
mediums:
|
|
2716
|
-
|
|
2717
|
-
|
|
2827
|
+
var SCreateMultipleMediumDocuments = v__namespace.object({
|
|
2828
|
+
mediums: v__namespace.pipe(
|
|
2829
|
+
v__namespace.array(SCreateMediumDocument),
|
|
2830
|
+
v__namespace.minLength(1, "At least one medium is required")
|
|
2718
2831
|
)
|
|
2719
2832
|
});
|
|
2720
|
-
var SReadMediumDocumentById =
|
|
2833
|
+
var SReadMediumDocumentById = v__namespace.object({
|
|
2721
2834
|
id: IsValidReferenceId
|
|
2722
2835
|
});
|
|
2723
|
-
var SReadMediumDocumentByDocumentId =
|
|
2836
|
+
var SReadMediumDocumentByDocumentId = v__namespace.object({
|
|
2724
2837
|
documentId: IsValidReferenceDocumentId
|
|
2725
2838
|
});
|
|
2726
|
-
var SUpdateAsCreatorMediumDocument =
|
|
2839
|
+
var SUpdateAsCreatorMediumDocument = v__namespace.object({
|
|
2727
2840
|
label: IsValidOrUndefinedLabel,
|
|
2728
2841
|
value: IsValidOrUndefinedValue,
|
|
2729
2842
|
description: IsValidOrUndefinedDescription,
|
|
2730
2843
|
is_active: IsValidOrUndefinedIsActive
|
|
2731
2844
|
});
|
|
2732
|
-
var SUpdateAsCreatorMediumDocumentRequest =
|
|
2845
|
+
var SUpdateAsCreatorMediumDocumentRequest = v__namespace.object({
|
|
2733
2846
|
documentId: IsValidReferenceDocumentId,
|
|
2734
2847
|
data: SUpdateAsCreatorMediumDocument
|
|
2735
2848
|
});
|
|
2736
|
-
var SUpdateAsInvitedMediumDocument =
|
|
2849
|
+
var SUpdateAsInvitedMediumDocument = v__namespace.object({
|
|
2737
2850
|
label: IsValidOrUndefinedLabel,
|
|
2738
2851
|
description: IsValidDescription,
|
|
2739
2852
|
is_active: IsValidOrUndefinedIsActive
|
|
2740
2853
|
});
|
|
2741
|
-
var SUpdateAsInvitedMediumDocumentRequest =
|
|
2854
|
+
var SUpdateAsInvitedMediumDocumentRequest = v__namespace.object({
|
|
2742
2855
|
documentId: IsValidReferenceDocumentId,
|
|
2743
2856
|
data: SUpdateAsInvitedMediumDocument
|
|
2744
2857
|
});
|
|
2745
|
-
var SUpdateMediumDocumentRequest =
|
|
2858
|
+
var SUpdateMediumDocumentRequest = v__namespace.union([
|
|
2746
2859
|
SUpdateAsCreatorMediumDocument,
|
|
2747
2860
|
SUpdateAsInvitedMediumDocument
|
|
2748
2861
|
]);
|
|
2749
|
-
var SDeleteMediumDocument =
|
|
2862
|
+
var SDeleteMediumDocument = v__namespace.object({
|
|
2750
2863
|
documentId: IsValidReferenceDocumentId
|
|
2751
2864
|
});
|
|
2752
|
-
var
|
|
2753
|
-
documentId: IsValidReferenceDocumentId,
|
|
2865
|
+
var SQueryParamsSourceDocuments = v__namespace.object({
|
|
2754
2866
|
page: VPage(),
|
|
2755
2867
|
size: VSize(SOURCE_PAGINATION_MAX_SIZE_LIMIT),
|
|
2756
2868
|
sort: VSortSource,
|
|
2757
|
-
label:
|
|
2758
|
-
value:
|
|
2759
|
-
is_active:
|
|
2760
|
-
group:
|
|
2761
|
-
creator:
|
|
2869
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2870
|
+
value: v__namespace.optional(IsValidValue),
|
|
2871
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2872
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2873
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2762
2874
|
});
|
|
2763
|
-
var
|
|
2875
|
+
var SQuerySearchSourceDocuments = v__namespace.object({
|
|
2876
|
+
group: IsValidReferenceDocumentId,
|
|
2877
|
+
page: VPageRequired(),
|
|
2878
|
+
size: VSizeRequired(SOURCE_PAGINATION_MAX_SIZE_LIMIT),
|
|
2879
|
+
sort: VSortSource,
|
|
2880
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2881
|
+
value: v__namespace.optional(IsValidValue),
|
|
2882
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2883
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2884
|
+
});
|
|
2885
|
+
var SCreateSourceDocument = v__namespace.object({
|
|
2764
2886
|
group: IsValidReferenceDocumentId,
|
|
2765
2887
|
creator: IsValidReferenceDocumentId,
|
|
2766
2888
|
label: IsValidLabel,
|
|
@@ -2768,56 +2890,65 @@ var SCreateSourceDocument = v62__namespace.object({
|
|
|
2768
2890
|
description: IsValidDescription,
|
|
2769
2891
|
is_active: IsValidIsActive
|
|
2770
2892
|
});
|
|
2771
|
-
var SCreateMultipleSourceDocuments =
|
|
2772
|
-
sources:
|
|
2773
|
-
|
|
2774
|
-
|
|
2893
|
+
var SCreateMultipleSourceDocuments = v__namespace.object({
|
|
2894
|
+
sources: v__namespace.pipe(
|
|
2895
|
+
v__namespace.array(SCreateSourceDocument),
|
|
2896
|
+
v__namespace.minLength(1, "At least one source is required")
|
|
2775
2897
|
)
|
|
2776
2898
|
});
|
|
2777
|
-
var SReadSourceDocumentById =
|
|
2899
|
+
var SReadSourceDocumentById = v__namespace.object({
|
|
2778
2900
|
id: IsValidReferenceId
|
|
2779
2901
|
});
|
|
2780
|
-
var SReadSourceDocumentByDocumentId =
|
|
2902
|
+
var SReadSourceDocumentByDocumentId = v__namespace.object({
|
|
2781
2903
|
documentId: IsValidReferenceDocumentId
|
|
2782
2904
|
});
|
|
2783
|
-
var SUpdateAsCreatorSourceDocument =
|
|
2905
|
+
var SUpdateAsCreatorSourceDocument = v__namespace.object({
|
|
2784
2906
|
label: IsValidOrUndefinedLabel,
|
|
2785
2907
|
value: IsValidOrUndefinedValue,
|
|
2786
2908
|
description: IsValidOrUndefinedDescription,
|
|
2787
2909
|
is_active: IsValidOrUndefinedIsActive
|
|
2788
2910
|
});
|
|
2789
|
-
var SUpdateAsCreatorSourceDocumentRequest =
|
|
2911
|
+
var SUpdateAsCreatorSourceDocumentRequest = v__namespace.object({
|
|
2790
2912
|
documentId: IsValidReferenceDocumentId,
|
|
2791
2913
|
data: SUpdateAsCreatorSourceDocument
|
|
2792
2914
|
});
|
|
2793
|
-
var SUpdateAsInvitedSourceDocument =
|
|
2915
|
+
var SUpdateAsInvitedSourceDocument = v__namespace.object({
|
|
2794
2916
|
label: IsValidOrUndefinedLabel,
|
|
2795
2917
|
description: IsValidDescription,
|
|
2796
2918
|
is_active: IsValidOrUndefinedIsActive
|
|
2797
2919
|
});
|
|
2798
|
-
var SUpdateAsInvitedSourceDocumentRequest =
|
|
2920
|
+
var SUpdateAsInvitedSourceDocumentRequest = v__namespace.object({
|
|
2799
2921
|
documentId: IsValidReferenceDocumentId,
|
|
2800
2922
|
data: SUpdateAsInvitedSourceDocument
|
|
2801
2923
|
});
|
|
2802
|
-
var SUpdateSourceDocumentRequest =
|
|
2924
|
+
var SUpdateSourceDocumentRequest = v__namespace.union([
|
|
2803
2925
|
SUpdateAsCreatorSourceDocument,
|
|
2804
2926
|
SUpdateAsInvitedSourceDocument
|
|
2805
2927
|
]);
|
|
2806
|
-
var SDeleteSourceDocument =
|
|
2928
|
+
var SDeleteSourceDocument = v__namespace.object({
|
|
2807
2929
|
documentId: IsValidReferenceDocumentId
|
|
2808
2930
|
});
|
|
2809
|
-
var
|
|
2810
|
-
documentId: IsValidReferenceDocumentId,
|
|
2931
|
+
var SQueryParamsTermDocuments = v__namespace.object({
|
|
2811
2932
|
page: VPage(),
|
|
2812
2933
|
size: VSize(TERM_PAGINATION_MAX_SIZE_LIMIT),
|
|
2813
2934
|
sort: VSortTerm,
|
|
2814
|
-
label:
|
|
2815
|
-
value:
|
|
2816
|
-
is_active:
|
|
2817
|
-
group:
|
|
2818
|
-
creator:
|
|
2935
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2936
|
+
value: v__namespace.optional(IsValidValue),
|
|
2937
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2938
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
2939
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2819
2940
|
});
|
|
2820
|
-
var
|
|
2941
|
+
var SQuerySearchTermDocuments = v__namespace.object({
|
|
2942
|
+
group: IsValidReferenceDocumentId,
|
|
2943
|
+
page: VPageRequired(),
|
|
2944
|
+
size: VSizeRequired(TERM_PAGINATION_MAX_SIZE_LIMIT),
|
|
2945
|
+
sort: VSortTerm,
|
|
2946
|
+
label: v__namespace.optional(IsValidLabel),
|
|
2947
|
+
value: v__namespace.optional(IsValidValue),
|
|
2948
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
2949
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2950
|
+
});
|
|
2951
|
+
var SCreateTermDocument = v__namespace.object({
|
|
2821
2952
|
group: IsValidReferenceDocumentId,
|
|
2822
2953
|
creator: IsValidReferenceDocumentId,
|
|
2823
2954
|
label: IsValidLabel,
|
|
@@ -2825,56 +2956,65 @@ var SCreateTermDocument = v62__namespace.object({
|
|
|
2825
2956
|
description: IsValidDescription,
|
|
2826
2957
|
is_active: IsValidIsActive
|
|
2827
2958
|
});
|
|
2828
|
-
var SCreateMultipleTermDocuments =
|
|
2829
|
-
terms:
|
|
2830
|
-
|
|
2831
|
-
|
|
2959
|
+
var SCreateMultipleTermDocuments = v__namespace.object({
|
|
2960
|
+
terms: v__namespace.pipe(
|
|
2961
|
+
v__namespace.array(SCreateTermDocument),
|
|
2962
|
+
v__namespace.minLength(1, "At least one term is required")
|
|
2832
2963
|
)
|
|
2833
2964
|
});
|
|
2834
|
-
var SReadTermDocumentById =
|
|
2965
|
+
var SReadTermDocumentById = v__namespace.object({
|
|
2835
2966
|
id: IsValidReferenceId
|
|
2836
2967
|
});
|
|
2837
|
-
var SReadTermDocumentByDocumentId =
|
|
2968
|
+
var SReadTermDocumentByDocumentId = v__namespace.object({
|
|
2838
2969
|
documentId: IsValidReferenceDocumentId
|
|
2839
2970
|
});
|
|
2840
|
-
var SUpdateAsCreatorTermDocument =
|
|
2971
|
+
var SUpdateAsCreatorTermDocument = v__namespace.object({
|
|
2841
2972
|
label: IsValidOrUndefinedLabel,
|
|
2842
2973
|
value: IsValidOrUndefinedValue,
|
|
2843
2974
|
description: IsValidOrUndefinedDescription,
|
|
2844
2975
|
is_active: IsValidOrUndefinedIsActive
|
|
2845
2976
|
});
|
|
2846
|
-
var SUpdateAsCreatorTermDocumentRequest =
|
|
2977
|
+
var SUpdateAsCreatorTermDocumentRequest = v__namespace.object({
|
|
2847
2978
|
documentId: IsValidReferenceDocumentId,
|
|
2848
2979
|
data: SUpdateAsCreatorTermDocument
|
|
2849
2980
|
});
|
|
2850
|
-
var SUpdateAsInvitedTermDocument =
|
|
2981
|
+
var SUpdateAsInvitedTermDocument = v__namespace.object({
|
|
2851
2982
|
label: IsValidOrUndefinedLabel,
|
|
2852
2983
|
description: IsValidDescription,
|
|
2853
2984
|
is_active: IsValidOrUndefinedIsActive
|
|
2854
2985
|
});
|
|
2855
|
-
var SUpdateAsInvitedTermDocumentRequest =
|
|
2986
|
+
var SUpdateAsInvitedTermDocumentRequest = v__namespace.object({
|
|
2856
2987
|
documentId: IsValidReferenceDocumentId,
|
|
2857
2988
|
data: SUpdateAsInvitedTermDocument
|
|
2858
2989
|
});
|
|
2859
|
-
var SUpdateTermDocumentRequest =
|
|
2990
|
+
var SUpdateTermDocumentRequest = v__namespace.union([
|
|
2860
2991
|
SUpdateAsCreatorTermDocument,
|
|
2861
2992
|
SUpdateAsInvitedTermDocument
|
|
2862
2993
|
]);
|
|
2863
|
-
var SDeleteTermDocument =
|
|
2994
|
+
var SDeleteTermDocument = v__namespace.object({
|
|
2864
2995
|
documentId: IsValidReferenceDocumentId
|
|
2865
2996
|
});
|
|
2866
|
-
var
|
|
2867
|
-
documentId: IsValidReferenceDocumentId,
|
|
2997
|
+
var SQueryParamsWebsiteDocuments = v__namespace.object({
|
|
2868
2998
|
page: VPage(),
|
|
2869
2999
|
size: VSize(WEBSITE_PAGINATION_MAX_SIZE_LIMIT),
|
|
2870
3000
|
sort: VSortWebsite,
|
|
2871
|
-
domain:
|
|
2872
|
-
is_active:
|
|
2873
|
-
is_secure:
|
|
2874
|
-
group:
|
|
2875
|
-
creator:
|
|
3001
|
+
domain: v__namespace.optional(IsValidUrlDomain),
|
|
3002
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
3003
|
+
is_secure: v__namespace.optional(IsValidIsSecure),
|
|
3004
|
+
group: v__namespace.optional(IsValidReferenceDocumentId),
|
|
3005
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
3006
|
+
});
|
|
3007
|
+
var SQuerySearchWebsiteDocuments = v__namespace.object({
|
|
3008
|
+
group: IsValidReferenceDocumentId,
|
|
3009
|
+
page: VPageRequired(),
|
|
3010
|
+
size: VSizeRequired(WEBSITE_PAGINATION_MAX_SIZE_LIMIT),
|
|
3011
|
+
sort: VSortWebsite,
|
|
3012
|
+
domain: v__namespace.optional(IsValidUrlDomain),
|
|
3013
|
+
is_active: v__namespace.optional(IsValidIsActive),
|
|
3014
|
+
is_secure: v__namespace.optional(IsValidIsSecure),
|
|
3015
|
+
creator: v__namespace.optional(IsValidReferenceDocumentId)
|
|
2876
3016
|
});
|
|
2877
|
-
var SCreateWebsiteDocument =
|
|
3017
|
+
var SCreateWebsiteDocument = v__namespace.object({
|
|
2878
3018
|
group: IsValidReferenceDocumentId,
|
|
2879
3019
|
creator: IsValidReferenceDocumentId,
|
|
2880
3020
|
domain: IsValidUrlDomain,
|
|
@@ -2882,158 +3022,158 @@ var SCreateWebsiteDocument = v62__namespace.object({
|
|
|
2882
3022
|
is_secure: IsValidIsSecure,
|
|
2883
3023
|
is_active: IsValidIsActive
|
|
2884
3024
|
});
|
|
2885
|
-
var SCreateMultipleWebsiteDocuments =
|
|
2886
|
-
websites:
|
|
2887
|
-
|
|
2888
|
-
|
|
3025
|
+
var SCreateMultipleWebsiteDocuments = v__namespace.object({
|
|
3026
|
+
websites: v__namespace.pipe(
|
|
3027
|
+
v__namespace.array(SCreateWebsiteDocument),
|
|
3028
|
+
v__namespace.minLength(1, "At least one website is required")
|
|
2889
3029
|
)
|
|
2890
3030
|
});
|
|
2891
|
-
var SReadWebsiteDocumentById =
|
|
3031
|
+
var SReadWebsiteDocumentById = v__namespace.object({
|
|
2892
3032
|
id: IsValidReferenceId
|
|
2893
3033
|
});
|
|
2894
|
-
var SReadWebsiteDocumentByDocumentId =
|
|
3034
|
+
var SReadWebsiteDocumentByDocumentId = v__namespace.object({
|
|
2895
3035
|
documentId: IsValidReferenceDocumentId
|
|
2896
3036
|
});
|
|
2897
|
-
var SUpdateAsCreatorWebsiteDocument =
|
|
3037
|
+
var SUpdateAsCreatorWebsiteDocument = v__namespace.object({
|
|
2898
3038
|
domain: IsValidOrUndefinedUrlDomain,
|
|
2899
3039
|
description: IsValidOrUndefinedDescription,
|
|
2900
3040
|
is_secure: IsValidOrUndefinedIsSecure,
|
|
2901
3041
|
is_active: IsValidOrUndefinedIsActive
|
|
2902
3042
|
});
|
|
2903
|
-
var SUpdateAsCreatorWebsiteDocumentRequest =
|
|
3043
|
+
var SUpdateAsCreatorWebsiteDocumentRequest = v__namespace.object({
|
|
2904
3044
|
documentId: IsValidReferenceDocumentId,
|
|
2905
3045
|
data: SUpdateAsCreatorWebsiteDocument
|
|
2906
3046
|
});
|
|
2907
|
-
var SUpdateAsInvitedWebsiteDocument =
|
|
3047
|
+
var SUpdateAsInvitedWebsiteDocument = v__namespace.object({
|
|
2908
3048
|
description: IsValidOrUndefinedDescription
|
|
2909
3049
|
});
|
|
2910
|
-
var SUpdateAsInvitedWebsiteDocumentRequest =
|
|
3050
|
+
var SUpdateAsInvitedWebsiteDocumentRequest = v__namespace.object({
|
|
2911
3051
|
documentId: IsValidReferenceDocumentId,
|
|
2912
3052
|
data: SUpdateAsInvitedWebsiteDocument
|
|
2913
3053
|
});
|
|
2914
|
-
var SUpdateWebsiteDocumentRequest =
|
|
3054
|
+
var SUpdateWebsiteDocumentRequest = v__namespace.union([
|
|
2915
3055
|
SUpdateAsCreatorWebsiteDocument,
|
|
2916
3056
|
SUpdateAsInvitedWebsiteDocument
|
|
2917
3057
|
]);
|
|
2918
|
-
var SDeleteWebsiteDocument =
|
|
3058
|
+
var SDeleteWebsiteDocument = v__namespace.object({
|
|
2919
3059
|
documentId: IsValidReferenceDocumentId
|
|
2920
3060
|
});
|
|
2921
|
-
var SGroupUserDocumentWithRelations =
|
|
3061
|
+
var SGroupUserDocumentWithRelations = v__namespace.object({
|
|
2922
3062
|
...SBaseDocument.entries,
|
|
2923
3063
|
...SBaseGroupUserDocument.entries,
|
|
2924
3064
|
...SGroupUserRelationsDocument.entries
|
|
2925
3065
|
});
|
|
2926
|
-
var SGroupUserDocumentReqRelations =
|
|
3066
|
+
var SGroupUserDocumentReqRelations = v__namespace.object({
|
|
2927
3067
|
...SBaseDocument.entries,
|
|
2928
3068
|
...SBaseGroupUserDocument.entries,
|
|
2929
3069
|
...SGroupUserRelationsReqDocument.entries
|
|
2930
3070
|
});
|
|
2931
|
-
var SGroupDocumentWithRelations =
|
|
3071
|
+
var SGroupDocumentWithRelations = v__namespace.object({
|
|
2932
3072
|
...SBaseDocument.entries,
|
|
2933
3073
|
...SBaseGroupDocument.entries,
|
|
2934
3074
|
...SGroupRelationsDocument.entries
|
|
2935
3075
|
});
|
|
2936
|
-
var SRoleDocumentWithRelations =
|
|
3076
|
+
var SRoleDocumentWithRelations = v__namespace.object({
|
|
2937
3077
|
...SBaseDocument.entries,
|
|
2938
3078
|
...SBaseRoleDocument.entries,
|
|
2939
3079
|
...SRoleRelationsDocument.entries
|
|
2940
3080
|
});
|
|
2941
|
-
var STrackingLinkDocumentWithRelations =
|
|
3081
|
+
var STrackingLinkDocumentWithRelations = v__namespace.object({
|
|
2942
3082
|
...SBaseDocument.entries,
|
|
2943
3083
|
...SBaseTrackingLinkDocument.entries,
|
|
2944
3084
|
...STrackingLinkRelationsDocument.entries
|
|
2945
3085
|
});
|
|
2946
|
-
var SUserAccountDocumentWithRelations =
|
|
3086
|
+
var SUserAccountDocumentWithRelations = v__namespace.object({
|
|
2947
3087
|
...SBaseDocument.entries,
|
|
2948
3088
|
...SBaseUserAccountDocument.entries,
|
|
2949
3089
|
...SUserAccountRelationsDocument.entries
|
|
2950
3090
|
});
|
|
2951
|
-
var SUserAccountDocumentReqRelations =
|
|
3091
|
+
var SUserAccountDocumentReqRelations = v__namespace.object({
|
|
2952
3092
|
...SBaseDocument.entries,
|
|
2953
3093
|
...SBaseUserAccountDocument.entries,
|
|
2954
3094
|
...SUserAccountRelationsReqDocument.entries
|
|
2955
3095
|
});
|
|
2956
|
-
var SUserLimitationsDocumentWithRelations =
|
|
3096
|
+
var SUserLimitationsDocumentWithRelations = v__namespace.object({
|
|
2957
3097
|
...SBaseDocument.entries,
|
|
2958
3098
|
...SBaseUserLimitationsDocument.entries,
|
|
2959
3099
|
...SUserLimitationsRelationsDocument.entries
|
|
2960
3100
|
});
|
|
2961
|
-
var SUserDocumentWithRelations =
|
|
3101
|
+
var SUserDocumentWithRelations = v__namespace.object({
|
|
2962
3102
|
...SBaseDocument.entries,
|
|
2963
3103
|
...SBaseUserDocument.entries,
|
|
2964
3104
|
...SUserRelationsDocument.entries
|
|
2965
3105
|
});
|
|
2966
|
-
var SUserDocumentWithAccountRelations =
|
|
3106
|
+
var SUserDocumentWithAccountRelations = v__namespace.object({
|
|
2967
3107
|
...SBaseDocument.entries,
|
|
2968
3108
|
...SBaseUserDocument.entries,
|
|
2969
3109
|
...SUserRelationReqAccount.entries
|
|
2970
3110
|
});
|
|
2971
|
-
var SUserDocumentWithAccountAndRoleRelations =
|
|
3111
|
+
var SUserDocumentWithAccountAndRoleRelations = v__namespace.object({
|
|
2972
3112
|
...SBaseDocument.entries,
|
|
2973
3113
|
...SBaseUserDocument.entries,
|
|
2974
3114
|
...SUserRelationReqRole.entries,
|
|
2975
3115
|
...SUserRelationReqAccount.entries
|
|
2976
3116
|
});
|
|
2977
|
-
var SUserAuthorizationSuccessResponse =
|
|
2978
|
-
jwt:
|
|
3117
|
+
var SUserAuthorizationSuccessResponse = v__namespace.object({
|
|
3118
|
+
jwt: v__namespace.string(),
|
|
2979
3119
|
user: SUserDocumentWithAccountAndRoleRelations
|
|
2980
3120
|
});
|
|
2981
|
-
var SCampaignIdDocumentWithRelations =
|
|
3121
|
+
var SCampaignIdDocumentWithRelations = v__namespace.object({
|
|
2982
3122
|
...SBaseDocument.entries,
|
|
2983
3123
|
...SBaseCampaignIdDocument.entries,
|
|
2984
3124
|
...SCampaignIdRelationsDocument.entries
|
|
2985
3125
|
});
|
|
2986
|
-
var SCampaignPhaseDocumentWithRelations =
|
|
3126
|
+
var SCampaignPhaseDocumentWithRelations = v__namespace.object({
|
|
2987
3127
|
...SBaseDocument.entries,
|
|
2988
3128
|
...SBaseCampaignPhaseDocument.entries,
|
|
2989
3129
|
...SCampaignPhaseRelationsDocument.entries
|
|
2990
3130
|
});
|
|
2991
|
-
var SCampaignProductDocumentWithRelations =
|
|
3131
|
+
var SCampaignProductDocumentWithRelations = v__namespace.object({
|
|
2992
3132
|
...SBaseDocument.entries,
|
|
2993
3133
|
...SBaseCampaignProductDocument.entries,
|
|
2994
3134
|
...SCampaignProductRelationsDocument.entries
|
|
2995
3135
|
});
|
|
2996
|
-
var SCampaignTargetDocumentWithRelations =
|
|
3136
|
+
var SCampaignTargetDocumentWithRelations = v__namespace.object({
|
|
2997
3137
|
...SBaseDocument.entries,
|
|
2998
3138
|
...SBaseCampaignTargetDocument.entries,
|
|
2999
3139
|
...SCampaignTargetRelationsDocument.entries
|
|
3000
3140
|
});
|
|
3001
|
-
var SCampaignKeyDocumentWithRelations =
|
|
3141
|
+
var SCampaignKeyDocumentWithRelations = v__namespace.object({
|
|
3002
3142
|
...SBaseDocument.entries,
|
|
3003
3143
|
...SBaseCampaignKeyDocument.entries,
|
|
3004
3144
|
...SCampaignKeyRelationsDocument.entries
|
|
3005
3145
|
});
|
|
3006
|
-
var SSourceDocumentWithRelations =
|
|
3146
|
+
var SSourceDocumentWithRelations = v__namespace.object({
|
|
3007
3147
|
...SBaseDocument.entries,
|
|
3008
3148
|
...SBaseSourceDocument.entries,
|
|
3009
3149
|
...SSourceRelationsDocument.entries
|
|
3010
3150
|
});
|
|
3011
|
-
var SMediumDocumentWithRelations =
|
|
3151
|
+
var SMediumDocumentWithRelations = v__namespace.object({
|
|
3012
3152
|
...SBaseDocument.entries,
|
|
3013
3153
|
...SBaseMediumDocument.entries,
|
|
3014
3154
|
...SMediumRelationsDocument.entries
|
|
3015
3155
|
});
|
|
3016
|
-
var SContentDocumentWithRelations =
|
|
3156
|
+
var SContentDocumentWithRelations = v__namespace.object({
|
|
3017
3157
|
...SBaseDocument.entries,
|
|
3018
3158
|
...SBaseContentDocument.entries,
|
|
3019
3159
|
...SContentRelationsDocument.entries
|
|
3020
3160
|
});
|
|
3021
|
-
var SCreativeFormatDocumentWithRelations =
|
|
3161
|
+
var SCreativeFormatDocumentWithRelations = v__namespace.object({
|
|
3022
3162
|
...SBaseDocument.entries,
|
|
3023
3163
|
...SBaseCreativeFormatDocument.entries,
|
|
3024
3164
|
...SCreativeFormatRelationsDocument.entries
|
|
3025
3165
|
});
|
|
3026
|
-
var SCreativeFormatVariantDocumentWithRelations =
|
|
3166
|
+
var SCreativeFormatVariantDocumentWithRelations = v__namespace.object({
|
|
3027
3167
|
...SBaseDocument.entries,
|
|
3028
3168
|
...SBaseCreativeFormatVariantDocument.entries,
|
|
3029
3169
|
...SCreativeFormatVariantRelationsDocument.entries
|
|
3030
3170
|
});
|
|
3031
|
-
var STermDocumentWithRelations =
|
|
3171
|
+
var STermDocumentWithRelations = v__namespace.object({
|
|
3032
3172
|
...SBaseDocument.entries,
|
|
3033
3173
|
...SBaseTermDocument.entries,
|
|
3034
3174
|
...STermRelationsDocument.entries
|
|
3035
3175
|
});
|
|
3036
|
-
var SWebsiteDocumentWithRelations =
|
|
3176
|
+
var SWebsiteDocumentWithRelations = v__namespace.object({
|
|
3037
3177
|
...SBaseDocument.entries,
|
|
3038
3178
|
...SBaseWebsiteDocument.entries,
|
|
3039
3179
|
...SWebsiteRelationsDocument.entries
|
|
@@ -3668,10 +3808,10 @@ function isStrapiStandardError(result) {
|
|
|
3668
3808
|
function validateAndClean(schema, input) {
|
|
3669
3809
|
var _a, _b;
|
|
3670
3810
|
try {
|
|
3671
|
-
const parsed =
|
|
3811
|
+
const parsed = v__namespace.parse(schema, input);
|
|
3672
3812
|
return { data: parsed, error: null, errors: null };
|
|
3673
3813
|
} catch (err) {
|
|
3674
|
-
if (err instanceof
|
|
3814
|
+
if (err instanceof v__namespace.ValiError) {
|
|
3675
3815
|
const errors = {};
|
|
3676
3816
|
for (const issue of err.issues) {
|
|
3677
3817
|
const field = ((_b = (_a = issue.path) == null ? void 0 : _a[0]) == null ? void 0 : _b.key) || "unknown";
|
|
@@ -4016,26 +4156,40 @@ exports.SMediumDocumentWithRelations = SMediumDocumentWithRelations;
|
|
|
4016
4156
|
exports.SMediumRelationsDocument = SMediumRelationsDocument;
|
|
4017
4157
|
exports.SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT = SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT;
|
|
4018
4158
|
exports.SOURCE_PAGINATION_MAX_SIZE_LIMIT = SOURCE_PAGINATION_MAX_SIZE_LIMIT;
|
|
4019
|
-
exports.
|
|
4020
|
-
exports.
|
|
4021
|
-
exports.
|
|
4022
|
-
exports.
|
|
4023
|
-
exports.
|
|
4024
|
-
exports.
|
|
4025
|
-
exports.
|
|
4026
|
-
exports.
|
|
4027
|
-
exports.
|
|
4028
|
-
exports.
|
|
4029
|
-
exports.
|
|
4030
|
-
exports.
|
|
4031
|
-
exports.
|
|
4032
|
-
exports.
|
|
4033
|
-
exports.
|
|
4034
|
-
exports.
|
|
4035
|
-
exports.
|
|
4036
|
-
exports.
|
|
4037
|
-
exports.
|
|
4038
|
-
exports.
|
|
4159
|
+
exports.SQueryParamsCampaignIdDocuments = SQueryParamsCampaignIdDocuments;
|
|
4160
|
+
exports.SQueryParamsCampaignKeyDocuments = SQueryParamsCampaignKeyDocuments;
|
|
4161
|
+
exports.SQueryParamsCampaignPhaseDocuments = SQueryParamsCampaignPhaseDocuments;
|
|
4162
|
+
exports.SQueryParamsCampaignProductDocuments = SQueryParamsCampaignProductDocuments;
|
|
4163
|
+
exports.SQueryParamsCampaignTargetDocuments = SQueryParamsCampaignTargetDocuments;
|
|
4164
|
+
exports.SQueryParamsContentDocuments = SQueryParamsContentDocuments;
|
|
4165
|
+
exports.SQueryParamsCreativeFormatDocuments = SQueryParamsCreativeFormatDocuments;
|
|
4166
|
+
exports.SQueryParamsCreativeFormatVariantDocuments = SQueryParamsCreativeFormatVariantDocuments;
|
|
4167
|
+
exports.SQueryParamsDocuments = SQueryParamsDocuments;
|
|
4168
|
+
exports.SQueryParamsGroupDocuments = SQueryParamsGroupDocuments;
|
|
4169
|
+
exports.SQueryParamsGroupUserDocuments = SQueryParamsGroupUserDocuments;
|
|
4170
|
+
exports.SQueryParamsMediumDocuments = SQueryParamsMediumDocuments;
|
|
4171
|
+
exports.SQueryParamsSourceDocuments = SQueryParamsSourceDocuments;
|
|
4172
|
+
exports.SQueryParamsTermDocuments = SQueryParamsTermDocuments;
|
|
4173
|
+
exports.SQueryParamsTrackingLinkDocuments = SQueryParamsTrackingLinkDocuments;
|
|
4174
|
+
exports.SQueryParamsUserAccountDocuments = SQueryParamsUserAccountDocuments;
|
|
4175
|
+
exports.SQueryParamsUserDocuments = SQueryParamsUserDocuments;
|
|
4176
|
+
exports.SQueryParamsUserDocumentsByIdentifier = SQueryParamsUserDocumentsByIdentifier;
|
|
4177
|
+
exports.SQueryParamsUserLimitationDocuments = SQueryParamsUserLimitationDocuments;
|
|
4178
|
+
exports.SQueryParamsWebsiteDocuments = SQueryParamsWebsiteDocuments;
|
|
4179
|
+
exports.SQuerySearchCampaignIdDocuments = SQuerySearchCampaignIdDocuments;
|
|
4180
|
+
exports.SQuerySearchCampaignKeyDocuments = SQuerySearchCampaignKeyDocuments;
|
|
4181
|
+
exports.SQuerySearchCampaignPhaseDocuments = SQuerySearchCampaignPhaseDocuments;
|
|
4182
|
+
exports.SQuerySearchCampaignProductDocuments = SQuerySearchCampaignProductDocuments;
|
|
4183
|
+
exports.SQuerySearchCampaignTargetDocuments = SQuerySearchCampaignTargetDocuments;
|
|
4184
|
+
exports.SQuerySearchContentDocuments = SQuerySearchContentDocuments;
|
|
4185
|
+
exports.SQuerySearchCreativeFormatDocuments = SQuerySearchCreativeFormatDocuments;
|
|
4186
|
+
exports.SQuerySearchCreativeFormatVariantDocuments = SQuerySearchCreativeFormatVariantDocuments;
|
|
4187
|
+
exports.SQuerySearchGroupUserDocuments = SQuerySearchGroupUserDocuments;
|
|
4188
|
+
exports.SQuerySearchMediumDocuments = SQuerySearchMediumDocuments;
|
|
4189
|
+
exports.SQuerySearchSourceDocuments = SQuerySearchSourceDocuments;
|
|
4190
|
+
exports.SQuerySearchTermDocuments = SQuerySearchTermDocuments;
|
|
4191
|
+
exports.SQuerySearchTrackingLinkDocuments = SQuerySearchTrackingLinkDocuments;
|
|
4192
|
+
exports.SQuerySearchWebsiteDocuments = SQuerySearchWebsiteDocuments;
|
|
4039
4193
|
exports.SReadCampaignIdDocumentByDocumentId = SReadCampaignIdDocumentByDocumentId;
|
|
4040
4194
|
exports.SReadCampaignIdDocumentById = SReadCampaignIdDocumentById;
|
|
4041
4195
|
exports.SReadCampaignKeyDocumentByDocumentId = SReadCampaignKeyDocumentByDocumentId;
|
|
@@ -4250,7 +4404,9 @@ exports.UserAccountSortKeys = UserAccountSortKeys;
|
|
|
4250
4404
|
exports.UserLimitationsSortKeys = UserLimitationsSortKeys;
|
|
4251
4405
|
exports.UserSortKeys = UserSortKeys;
|
|
4252
4406
|
exports.VPage = VPage;
|
|
4407
|
+
exports.VPageRequired = VPageRequired;
|
|
4253
4408
|
exports.VSize = VSize;
|
|
4409
|
+
exports.VSizeRequired = VSizeRequired;
|
|
4254
4410
|
exports.VSortCampaignId = VSortCampaignId;
|
|
4255
4411
|
exports.VSortCampaignKey = VSortCampaignKey;
|
|
4256
4412
|
exports.VSortCampaignPhase = VSortCampaignPhase;
|