@wix/auto_sdk_blog_posts 1.0.163 → 1.0.164

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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +11 -15
  2. package/build/cjs/index.js +19 -24
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +138 -150
  5. package/build/cjs/index.typings.js +14 -14
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +121 -121
  8. package/build/cjs/meta.js +8 -8
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +82 -84
  11. package/build/cjs/schemas.js +147 -153
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +11 -15
  14. package/build/es/index.mjs +19 -24
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +138 -150
  17. package/build/es/index.typings.mjs +14 -14
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +121 -121
  20. package/build/es/meta.mjs +8 -8
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +82 -84
  23. package/build/es/schemas.mjs +147 -153
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +11 -15
  26. package/build/internal/cjs/index.js +19 -24
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +138 -150
  29. package/build/internal/cjs/index.typings.js +14 -14
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +121 -121
  32. package/build/internal/cjs/meta.js +8 -8
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +82 -84
  35. package/build/internal/cjs/schemas.js +147 -153
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +11 -15
  38. package/build/internal/es/index.mjs +19 -24
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +138 -150
  41. package/build/internal/es/index.typings.mjs +14 -14
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +121 -121
  44. package/build/internal/es/meta.mjs +8 -8
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +82 -84
  47. package/build/internal/es/schemas.mjs +147 -153
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -2887,124 +2887,15 @@ interface PostUnlikedInitiatorOneOf {
2887
2887
  */
2888
2888
  anonymousVisitorId?: string | null;
2889
2889
  }
2890
- /** Get Blog Publications Count Stats request */
2891
- interface QueryPublicationsCountStatsRequest {
2892
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2893
- rangeStart?: Date | null;
2894
- /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2895
- rangeEnd?: Date | null;
2896
- /** Order of the returned results. */
2897
- order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
2898
- /** Number of months to include in the response. */
2899
- months?: number;
2900
- /**
2901
- * Language filter
2902
- *
2903
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2904
- * @format LANGUAGE_TAG
2905
- */
2906
- language?: string | null;
2907
- /**
2908
- * Timezone of the client.
2909
- * @minLength 3
2910
- * @maxLength 100
2911
- */
2912
- timeZone?: string | null;
2913
- }
2914
- declare enum QueryPublicationsCountStatsRequestOrder {
2915
- UNKNOWN = "UNKNOWN",
2916
- OLDEST = "OLDEST",
2917
- NEWEST = "NEWEST"
2918
- }
2919
- /** @enumType */
2920
- type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2921
- /** Get Blog Publications Count Stats response */
2922
- interface QueryPublicationsCountStatsResponse {
2923
- /** Chronologically ordered list of publications. */
2924
- stats?: PeriodPublicationsCount[];
2925
- }
2926
- /** Publications count for a specific time period */
2927
- interface PeriodPublicationsCount {
2928
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2929
- periodStart?: Date | null;
2930
- /** Number of posts published during this month. */
2931
- publicationsCount?: number;
2932
- }
2933
- /** Get Blog Post Count Stats request */
2934
- interface QueryPostCountStatsRequest {
2935
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2936
- rangeStart?: Date | null;
2937
- /**
2938
- * Order of returned results.
2939
- *
2940
- * - `OLDEST`: posts by date in ascending order.
2941
- * - `NEWEST`: posts by date in descending order.
2942
- *
2943
- * Default: `OLDEST`
2944
- */
2945
- order?: OrderWithLiterals;
2946
- /** Number of months to include in response. */
2947
- months?: number;
2948
- /**
2949
- * Language filter.
2950
- *
2951
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2952
- * Pass a language to only receive the period post count for that specified language.
2953
- * @format LANGUAGE_TAG
2954
- */
2955
- language?: string | null;
2956
- /**
2957
- * Time zone to use when calculating the start of the month.
2958
- *
2959
- * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
2960
- * @minLength 3
2961
- * @maxLength 100
2962
- */
2963
- timeZone?: string | null;
2964
- }
2965
- declare enum Order {
2966
- UNKNOWN = "UNKNOWN",
2967
- OLDEST = "OLDEST",
2968
- NEWEST = "NEWEST"
2969
- }
2970
- /** @enumType */
2971
- type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2972
- /** Get Blog Post Count Stats response */
2973
- interface QueryPostCountStatsResponse {
2974
- /** List of published post counts by month. */
2975
- stats?: PeriodPostCount[];
2976
- }
2977
- /** Post count for a specific time period */
2978
- interface PeriodPostCount {
2979
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2980
- periodStart?: Date | null;
2981
- /** Number of posts published during this month. */
2982
- postCount?: number;
2983
- }
2984
- interface GetTotalPublicationsRequest {
2985
- /**
2986
- * Language filter
2987
- * @minLength 2
2988
- * @format LANGUAGE_TAG
2989
- */
2990
- language?: string | null;
2991
- }
2992
- interface GetTotalPublicationsResponse {
2993
- /** Total amount of publications. */
2994
- total?: number;
2995
- }
2996
- interface GetTotalPostsRequest {
2890
+ interface GetTotalLikesPerMemberRequest {
2997
2891
  /**
2998
- * Language filter.
2999
- *
3000
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3001
- * Pass a language to receive the total amount of posts in that specified language.
3002
- * @format LANGUAGE_TAG
2892
+ * Member ID.
2893
+ * @format GUID
3003
2894
  */
3004
- language?: string | null;
2895
+ memberId?: string;
3005
2896
  }
3006
- interface GetTotalPostsResponse {
3007
- /** Total amount of published posts. */
2897
+ interface GetTotalLikesPerMemberResponse {
2898
+ /** The total number of likes of the member. */
3008
2899
  total?: number;
3009
2900
  }
3010
2901
  interface DomainEvent extends DomainEventBodyOneOf {
@@ -3162,15 +3053,124 @@ interface AccountInfo {
3162
3053
  */
3163
3054
  siteId?: string | null;
3164
3055
  }
3165
- interface GetTotalLikesPerMemberRequest {
3056
+ /** Get Blog Publications Count Stats request */
3057
+ interface QueryPublicationsCountStatsRequest {
3058
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3059
+ rangeStart?: Date | null;
3060
+ /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3061
+ rangeEnd?: Date | null;
3062
+ /** Order of the returned results. */
3063
+ order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
3064
+ /** Number of months to include in the response. */
3065
+ months?: number;
3166
3066
  /**
3167
- * Member ID.
3168
- * @format GUID
3067
+ * Language filter
3068
+ *
3069
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3070
+ * @format LANGUAGE_TAG
3169
3071
  */
3170
- memberId?: string;
3072
+ language?: string | null;
3073
+ /**
3074
+ * Timezone of the client.
3075
+ * @minLength 3
3076
+ * @maxLength 100
3077
+ */
3078
+ timeZone?: string | null;
3171
3079
  }
3172
- interface GetTotalLikesPerMemberResponse {
3173
- /** The total number of likes of the member. */
3080
+ declare enum QueryPublicationsCountStatsRequestOrder {
3081
+ UNKNOWN = "UNKNOWN",
3082
+ OLDEST = "OLDEST",
3083
+ NEWEST = "NEWEST"
3084
+ }
3085
+ /** @enumType */
3086
+ type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3087
+ /** Get Blog Publications Count Stats response */
3088
+ interface QueryPublicationsCountStatsResponse {
3089
+ /** Chronologically ordered list of publications. */
3090
+ stats?: PeriodPublicationsCount[];
3091
+ }
3092
+ /** Publications count for a specific time period */
3093
+ interface PeriodPublicationsCount {
3094
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3095
+ periodStart?: Date | null;
3096
+ /** Number of posts published during this month. */
3097
+ publicationsCount?: number;
3098
+ }
3099
+ /** Get Blog Post Count Stats request */
3100
+ interface QueryPostCountStatsRequest {
3101
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3102
+ rangeStart?: Date | null;
3103
+ /**
3104
+ * Order of returned results.
3105
+ *
3106
+ * - `OLDEST`: posts by date in ascending order.
3107
+ * - `NEWEST`: posts by date in descending order.
3108
+ *
3109
+ * Default: `OLDEST`
3110
+ */
3111
+ order?: OrderWithLiterals;
3112
+ /** Number of months to include in response. */
3113
+ months?: number;
3114
+ /**
3115
+ * Language filter.
3116
+ *
3117
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3118
+ * Pass a language to only receive the period post count for that specified language.
3119
+ * @format LANGUAGE_TAG
3120
+ */
3121
+ language?: string | null;
3122
+ /**
3123
+ * Time zone to use when calculating the start of the month.
3124
+ *
3125
+ * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
3126
+ * @minLength 3
3127
+ * @maxLength 100
3128
+ */
3129
+ timeZone?: string | null;
3130
+ }
3131
+ declare enum Order {
3132
+ UNKNOWN = "UNKNOWN",
3133
+ OLDEST = "OLDEST",
3134
+ NEWEST = "NEWEST"
3135
+ }
3136
+ /** @enumType */
3137
+ type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
3138
+ /** Get Blog Post Count Stats response */
3139
+ interface QueryPostCountStatsResponse {
3140
+ /** List of published post counts by month. */
3141
+ stats?: PeriodPostCount[];
3142
+ }
3143
+ /** Post count for a specific time period */
3144
+ interface PeriodPostCount {
3145
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
3146
+ periodStart?: Date | null;
3147
+ /** Number of posts published during this month. */
3148
+ postCount?: number;
3149
+ }
3150
+ interface GetTotalPublicationsRequest {
3151
+ /**
3152
+ * Language filter
3153
+ * @minLength 2
3154
+ * @format LANGUAGE_TAG
3155
+ */
3156
+ language?: string | null;
3157
+ }
3158
+ interface GetTotalPublicationsResponse {
3159
+ /** Total amount of publications. */
3160
+ total?: number;
3161
+ }
3162
+ interface GetTotalPostsRequest {
3163
+ /**
3164
+ * Language filter.
3165
+ *
3166
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3167
+ * Pass a language to receive the total amount of posts in that specified language.
3168
+ * @format LANGUAGE_TAG
3169
+ */
3170
+ language?: string | null;
3171
+ }
3172
+ interface GetTotalPostsResponse {
3173
+ /** Total amount of published posts. */
3174
3174
  total?: number;
3175
3175
  }
3176
3176
  interface PostCountersUpdated extends PostCountersUpdatedInitiatorOneOf {
@@ -1489,6 +1489,14 @@ var Status = /* @__PURE__ */ ((Status2) => {
1489
1489
  Status2["REJECTED"] = "REJECTED";
1490
1490
  return Status2;
1491
1491
  })(Status || {});
1492
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1493
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1494
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1495
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1496
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1497
+ WebhookIdentityType2["APP"] = "APP";
1498
+ return WebhookIdentityType2;
1499
+ })(WebhookIdentityType || {});
1492
1500
  var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1493
1501
  QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1494
1502
  QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
@@ -1501,14 +1509,6 @@ var Order = /* @__PURE__ */ ((Order2) => {
1501
1509
  Order2["NEWEST"] = "NEWEST";
1502
1510
  return Order2;
1503
1511
  })(Order || {});
1504
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1505
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1506
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1507
- WebhookIdentityType2["MEMBER"] = "MEMBER";
1508
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1509
- WebhookIdentityType2["APP"] = "APP";
1510
- return WebhookIdentityType2;
1511
- })(WebhookIdentityType || {});
1512
1512
  var Field = /* @__PURE__ */ ((Field2) => {
1513
1513
  Field2["UNKNOWN"] = "UNKNOWN";
1514
1514
  Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";