@wix/blog 1.0.221 → 1.0.222
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/build/cjs/src/blog-v3-category.public.d.ts +1 -1
- package/build/cjs/src/blog-v3-category.types.d.ts +75 -2
- package/build/cjs/src/blog-v3-category.universal.d.ts +73 -0
- package/build/cjs/src/blog-v3-category.universal.js.map +1 -1
- package/build/es/src/blog-v3-category.public.d.ts +1 -1
- package/build/es/src/blog-v3-category.types.d.ts +75 -2
- package/build/es/src/blog-v3-category.universal.d.ts +73 -0
- package/build/es/src/blog-v3-category.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -39,4 +39,4 @@ export declare function getCategoryBySlug(httpClient: HttpClient): (slug: string
|
|
|
39
39
|
export declare function listCategories(httpClient: HttpClient): (options?: ListCategoriesOptions) => Promise<import("./blog-v3-category.universal").ListCategoriesResponse & import("./blog-v3-category.universal").ListCategoriesResponseNonNullableFields>;
|
|
40
40
|
export declare function queryCategories(httpClient: HttpClient): (options?: QueryCategoriesOptions) => import("./blog-v3-category.universal").CategoriesQueryBuilder;
|
|
41
41
|
export { Field, SortOrder } from './blog-v3-category.universal';
|
|
42
|
-
export { Category, CoverMedia, CoverMediaMediaOneOf, SeoSchema, Keyword, Tag, Settings, CategoryTranslation, InitialCategoriesCopied, CreateCategoryRequest, CreateCategoryResponse, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkCategoryResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateCategoriesRequest, MaskedCategory, BulkUpdateCategoriesResponse, UpdateCategoryRequest, UpdateCategoryResponse, GetCategoryRequest, GetCategoryResponse, GetCategoryBySlugRequest, GetCategoryBySlugResponse, ListCategoriesRequest, BlogPaging, ListCategoriesResponse, MetaData, QueryCategoriesRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryCategoriesResponse, PagingMetadataV2, Cursors, DeleteCategoryRequest, DeleteCategoryResponse, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category.universal';
|
|
42
|
+
export { Category, CoverMedia, CoverMediaMediaOneOf, SeoSchema, Keyword, Tag, Settings, CategoryTranslation, InitialCategoriesCopied, CreateCategoryRequest, CreateCategoryResponse, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkCategoryResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateCategoriesRequest, MaskedCategory, BulkUpdateCategoriesResponse, UpdateCategoryRequest, UpdateCategoryResponse, GetCategoryRequest, GetCategoryResponse, GetCategoryBySlugRequest, GetCategoryBySlugResponse, ListCategoriesRequest, BlogPaging, ListCategoriesResponse, MetaData, QueryCategoriesRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryCategoriesResponse, PagingMetadataV2, Cursors, BulkDeleteCategoryRequest, BulkDeleteCategoryResponse, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category.universal';
|
|
@@ -69,9 +69,9 @@ export interface Category {
|
|
|
69
69
|
coverImage?: Image;
|
|
70
70
|
}
|
|
71
71
|
export interface PageUrl {
|
|
72
|
-
/** The base URL. For premium sites, this
|
|
72
|
+
/** The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. */
|
|
73
73
|
base?: string;
|
|
74
|
-
/** The path
|
|
74
|
+
/** The relative path for the page within the site. For example, `/product-page/a-product`. */
|
|
75
75
|
path?: string;
|
|
76
76
|
}
|
|
77
77
|
export interface CoverMedia extends CoverMediaMediaOneOf {
|
|
@@ -547,12 +547,85 @@ export interface Cursors {
|
|
|
547
547
|
/** Cursor pointing to previous page in the list of results. */
|
|
548
548
|
prev?: string | null;
|
|
549
549
|
}
|
|
550
|
+
export interface BulkDeleteCategoryRequest {
|
|
551
|
+
/** Category IDs. */
|
|
552
|
+
categoryIds?: string[];
|
|
553
|
+
}
|
|
554
|
+
export interface BulkDeleteCategoryResponse {
|
|
555
|
+
}
|
|
550
556
|
export interface DeleteCategoryRequest {
|
|
551
557
|
/** Category ID. */
|
|
552
558
|
categoryId?: string;
|
|
553
559
|
}
|
|
554
560
|
export interface DeleteCategoryResponse {
|
|
555
561
|
}
|
|
562
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
563
|
+
createdEvent?: EntityCreatedEvent;
|
|
564
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
565
|
+
deletedEvent?: EntityDeletedEvent;
|
|
566
|
+
actionEvent?: ActionEvent;
|
|
567
|
+
/**
|
|
568
|
+
* Unique event ID.
|
|
569
|
+
* Allows clients to ignore duplicate webhooks.
|
|
570
|
+
*/
|
|
571
|
+
id?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Assumes actions are also always typed to an entity_type
|
|
574
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
575
|
+
*/
|
|
576
|
+
entityFqdn?: string;
|
|
577
|
+
/**
|
|
578
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
579
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
580
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
581
|
+
*/
|
|
582
|
+
slug?: string;
|
|
583
|
+
/** ID of the entity associated with the event. */
|
|
584
|
+
entityId?: string;
|
|
585
|
+
/** Event timestamp. */
|
|
586
|
+
eventTime?: Date;
|
|
587
|
+
/**
|
|
588
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
589
|
+
* (for example, GDPR).
|
|
590
|
+
*/
|
|
591
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
592
|
+
/** If present, indicates the action that triggered the event. */
|
|
593
|
+
originatedFrom?: string | null;
|
|
594
|
+
/**
|
|
595
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
596
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
597
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
598
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
599
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
600
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
601
|
+
*/
|
|
602
|
+
entityEventSequence?: string | null;
|
|
603
|
+
}
|
|
604
|
+
/** @oneof */
|
|
605
|
+
export interface DomainEventBodyOneOf {
|
|
606
|
+
createdEvent?: EntityCreatedEvent;
|
|
607
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
608
|
+
deletedEvent?: EntityDeletedEvent;
|
|
609
|
+
actionEvent?: ActionEvent;
|
|
610
|
+
}
|
|
611
|
+
export interface EntityCreatedEvent {
|
|
612
|
+
entityAsJson?: string;
|
|
613
|
+
}
|
|
614
|
+
export interface EntityUpdatedEvent {
|
|
615
|
+
/**
|
|
616
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
617
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
618
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
619
|
+
*/
|
|
620
|
+
currentEntityAsJson?: string;
|
|
621
|
+
}
|
|
622
|
+
export interface EntityDeletedEvent {
|
|
623
|
+
/** Entity that was deleted */
|
|
624
|
+
deletedEntityAsJson?: string | null;
|
|
625
|
+
}
|
|
626
|
+
export interface ActionEvent {
|
|
627
|
+
bodyAsJson?: string;
|
|
628
|
+
}
|
|
556
629
|
export interface GetCategoryResponseNonNullableFields {
|
|
557
630
|
category?: {
|
|
558
631
|
id: string;
|
|
@@ -496,12 +496,85 @@ export interface Cursors {
|
|
|
496
496
|
/** Cursor pointing to previous page in the list of results. */
|
|
497
497
|
prev?: string | null;
|
|
498
498
|
}
|
|
499
|
+
export interface BulkDeleteCategoryRequest {
|
|
500
|
+
/** Category IDs. */
|
|
501
|
+
categoryIds?: string[];
|
|
502
|
+
}
|
|
503
|
+
export interface BulkDeleteCategoryResponse {
|
|
504
|
+
}
|
|
499
505
|
export interface DeleteCategoryRequest {
|
|
500
506
|
/** Category ID. */
|
|
501
507
|
categoryId?: string;
|
|
502
508
|
}
|
|
503
509
|
export interface DeleteCategoryResponse {
|
|
504
510
|
}
|
|
511
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
512
|
+
createdEvent?: EntityCreatedEvent;
|
|
513
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
514
|
+
deletedEvent?: EntityDeletedEvent;
|
|
515
|
+
actionEvent?: ActionEvent;
|
|
516
|
+
/**
|
|
517
|
+
* Unique event ID.
|
|
518
|
+
* Allows clients to ignore duplicate webhooks.
|
|
519
|
+
*/
|
|
520
|
+
_id?: string;
|
|
521
|
+
/**
|
|
522
|
+
* Assumes actions are also always typed to an entity_type
|
|
523
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
524
|
+
*/
|
|
525
|
+
entityFqdn?: string;
|
|
526
|
+
/**
|
|
527
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
528
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
529
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
530
|
+
*/
|
|
531
|
+
slug?: string;
|
|
532
|
+
/** ID of the entity associated with the event. */
|
|
533
|
+
entityId?: string;
|
|
534
|
+
/** Event timestamp. */
|
|
535
|
+
eventTime?: Date;
|
|
536
|
+
/**
|
|
537
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
538
|
+
* (for example, GDPR).
|
|
539
|
+
*/
|
|
540
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
541
|
+
/** If present, indicates the action that triggered the event. */
|
|
542
|
+
originatedFrom?: string | null;
|
|
543
|
+
/**
|
|
544
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
545
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
546
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
547
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
548
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
549
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
550
|
+
*/
|
|
551
|
+
entityEventSequence?: string | null;
|
|
552
|
+
}
|
|
553
|
+
/** @oneof */
|
|
554
|
+
export interface DomainEventBodyOneOf {
|
|
555
|
+
createdEvent?: EntityCreatedEvent;
|
|
556
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
557
|
+
deletedEvent?: EntityDeletedEvent;
|
|
558
|
+
actionEvent?: ActionEvent;
|
|
559
|
+
}
|
|
560
|
+
export interface EntityCreatedEvent {
|
|
561
|
+
entityAsJson?: string;
|
|
562
|
+
}
|
|
563
|
+
export interface EntityUpdatedEvent {
|
|
564
|
+
/**
|
|
565
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
566
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
567
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
568
|
+
*/
|
|
569
|
+
currentEntityAsJson?: string;
|
|
570
|
+
}
|
|
571
|
+
export interface EntityDeletedEvent {
|
|
572
|
+
/** Entity that was deleted */
|
|
573
|
+
deletedEntityAsJson?: string | null;
|
|
574
|
+
}
|
|
575
|
+
export interface ActionEvent {
|
|
576
|
+
bodyAsJson?: string;
|
|
577
|
+
}
|
|
505
578
|
export interface GetCategoryResponseNonNullableFields {
|
|
506
579
|
category?: {
|
|
507
580
|
_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-category.universal.js","sourceRoot":"","sources":["../../../src/blog-v3-category.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AACjC,sEAAuF;AAEvF,qFAAuE;AACvE,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA6K5B,IAAY,KAaX;AAbD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,6BAA6B;IAC7B,oBAAW,CAAA;IACX;;;OAGG;IACH,oCAA2B,CAAA;IAC3B,yBAAyB;IACzB,oBAAW,CAAA;IACX,6BAA6B;IAC7B,sCAA6B,CAAA;AAC/B,CAAC,EAbW,KAAK,qBAAL,KAAK,QAahB;AAqQD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"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,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;YAChB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,4DAAG,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AA9DD,0CA8DC"}
|
|
@@ -39,4 +39,4 @@ export declare function getCategoryBySlug(httpClient: HttpClient): (slug: string
|
|
|
39
39
|
export declare function listCategories(httpClient: HttpClient): (options?: ListCategoriesOptions) => Promise<import("./blog-v3-category.universal").ListCategoriesResponse & import("./blog-v3-category.universal").ListCategoriesResponseNonNullableFields>;
|
|
40
40
|
export declare function queryCategories(httpClient: HttpClient): (options?: QueryCategoriesOptions) => import("./blog-v3-category.universal").CategoriesQueryBuilder;
|
|
41
41
|
export { Field, SortOrder } from './blog-v3-category.universal';
|
|
42
|
-
export { Category, CoverMedia, CoverMediaMediaOneOf, SeoSchema, Keyword, Tag, Settings, CategoryTranslation, InitialCategoriesCopied, CreateCategoryRequest, CreateCategoryResponse, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkCategoryResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateCategoriesRequest, MaskedCategory, BulkUpdateCategoriesResponse, UpdateCategoryRequest, UpdateCategoryResponse, GetCategoryRequest, GetCategoryResponse, GetCategoryBySlugRequest, GetCategoryBySlugResponse, ListCategoriesRequest, BlogPaging, ListCategoriesResponse, MetaData, QueryCategoriesRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryCategoriesResponse, PagingMetadataV2, Cursors, DeleteCategoryRequest, DeleteCategoryResponse, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category.universal';
|
|
42
|
+
export { Category, CoverMedia, CoverMediaMediaOneOf, SeoSchema, Keyword, Tag, Settings, CategoryTranslation, InitialCategoriesCopied, CreateCategoryRequest, CreateCategoryResponse, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkCategoryResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateCategoriesRequest, MaskedCategory, BulkUpdateCategoriesResponse, UpdateCategoryRequest, UpdateCategoryResponse, GetCategoryRequest, GetCategoryResponse, GetCategoryBySlugRequest, GetCategoryBySlugResponse, ListCategoriesRequest, BlogPaging, ListCategoriesResponse, MetaData, QueryCategoriesRequest, Sorting, PlatformQuery, PlatformQueryPagingMethodOneOf, Paging, CursorPaging, QueryCategoriesResponse, PagingMetadataV2, Cursors, BulkDeleteCategoryRequest, BulkDeleteCategoryResponse, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, GetCategoryResponseNonNullableFields, GetCategoryBySlugResponseNonNullableFields, ListCategoriesResponseNonNullableFields, QueryCategoriesResponseNonNullableFields, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category.universal';
|
|
@@ -69,9 +69,9 @@ export interface Category {
|
|
|
69
69
|
coverImage?: Image;
|
|
70
70
|
}
|
|
71
71
|
export interface PageUrl {
|
|
72
|
-
/** The base URL. For premium sites, this
|
|
72
|
+
/** The base URL. For premium sites, this is the domain. For free sites, this is the site URL. For example, `mysite.wixsite.com/mysite`. */
|
|
73
73
|
base?: string;
|
|
74
|
-
/** The path
|
|
74
|
+
/** The relative path for the page within the site. For example, `/product-page/a-product`. */
|
|
75
75
|
path?: string;
|
|
76
76
|
}
|
|
77
77
|
export interface CoverMedia extends CoverMediaMediaOneOf {
|
|
@@ -547,12 +547,85 @@ export interface Cursors {
|
|
|
547
547
|
/** Cursor pointing to previous page in the list of results. */
|
|
548
548
|
prev?: string | null;
|
|
549
549
|
}
|
|
550
|
+
export interface BulkDeleteCategoryRequest {
|
|
551
|
+
/** Category IDs. */
|
|
552
|
+
categoryIds?: string[];
|
|
553
|
+
}
|
|
554
|
+
export interface BulkDeleteCategoryResponse {
|
|
555
|
+
}
|
|
550
556
|
export interface DeleteCategoryRequest {
|
|
551
557
|
/** Category ID. */
|
|
552
558
|
categoryId?: string;
|
|
553
559
|
}
|
|
554
560
|
export interface DeleteCategoryResponse {
|
|
555
561
|
}
|
|
562
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
563
|
+
createdEvent?: EntityCreatedEvent;
|
|
564
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
565
|
+
deletedEvent?: EntityDeletedEvent;
|
|
566
|
+
actionEvent?: ActionEvent;
|
|
567
|
+
/**
|
|
568
|
+
* Unique event ID.
|
|
569
|
+
* Allows clients to ignore duplicate webhooks.
|
|
570
|
+
*/
|
|
571
|
+
id?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Assumes actions are also always typed to an entity_type
|
|
574
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
575
|
+
*/
|
|
576
|
+
entityFqdn?: string;
|
|
577
|
+
/**
|
|
578
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
579
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
580
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
581
|
+
*/
|
|
582
|
+
slug?: string;
|
|
583
|
+
/** ID of the entity associated with the event. */
|
|
584
|
+
entityId?: string;
|
|
585
|
+
/** Event timestamp. */
|
|
586
|
+
eventTime?: Date;
|
|
587
|
+
/**
|
|
588
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
589
|
+
* (for example, GDPR).
|
|
590
|
+
*/
|
|
591
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
592
|
+
/** If present, indicates the action that triggered the event. */
|
|
593
|
+
originatedFrom?: string | null;
|
|
594
|
+
/**
|
|
595
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
596
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
597
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
598
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
599
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
600
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
601
|
+
*/
|
|
602
|
+
entityEventSequence?: string | null;
|
|
603
|
+
}
|
|
604
|
+
/** @oneof */
|
|
605
|
+
export interface DomainEventBodyOneOf {
|
|
606
|
+
createdEvent?: EntityCreatedEvent;
|
|
607
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
608
|
+
deletedEvent?: EntityDeletedEvent;
|
|
609
|
+
actionEvent?: ActionEvent;
|
|
610
|
+
}
|
|
611
|
+
export interface EntityCreatedEvent {
|
|
612
|
+
entityAsJson?: string;
|
|
613
|
+
}
|
|
614
|
+
export interface EntityUpdatedEvent {
|
|
615
|
+
/**
|
|
616
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
617
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
618
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
619
|
+
*/
|
|
620
|
+
currentEntityAsJson?: string;
|
|
621
|
+
}
|
|
622
|
+
export interface EntityDeletedEvent {
|
|
623
|
+
/** Entity that was deleted */
|
|
624
|
+
deletedEntityAsJson?: string | null;
|
|
625
|
+
}
|
|
626
|
+
export interface ActionEvent {
|
|
627
|
+
bodyAsJson?: string;
|
|
628
|
+
}
|
|
556
629
|
export interface GetCategoryResponseNonNullableFields {
|
|
557
630
|
category?: {
|
|
558
631
|
id: string;
|
|
@@ -496,12 +496,85 @@ export interface Cursors {
|
|
|
496
496
|
/** Cursor pointing to previous page in the list of results. */
|
|
497
497
|
prev?: string | null;
|
|
498
498
|
}
|
|
499
|
+
export interface BulkDeleteCategoryRequest {
|
|
500
|
+
/** Category IDs. */
|
|
501
|
+
categoryIds?: string[];
|
|
502
|
+
}
|
|
503
|
+
export interface BulkDeleteCategoryResponse {
|
|
504
|
+
}
|
|
499
505
|
export interface DeleteCategoryRequest {
|
|
500
506
|
/** Category ID. */
|
|
501
507
|
categoryId?: string;
|
|
502
508
|
}
|
|
503
509
|
export interface DeleteCategoryResponse {
|
|
504
510
|
}
|
|
511
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
512
|
+
createdEvent?: EntityCreatedEvent;
|
|
513
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
514
|
+
deletedEvent?: EntityDeletedEvent;
|
|
515
|
+
actionEvent?: ActionEvent;
|
|
516
|
+
/**
|
|
517
|
+
* Unique event ID.
|
|
518
|
+
* Allows clients to ignore duplicate webhooks.
|
|
519
|
+
*/
|
|
520
|
+
_id?: string;
|
|
521
|
+
/**
|
|
522
|
+
* Assumes actions are also always typed to an entity_type
|
|
523
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
524
|
+
*/
|
|
525
|
+
entityFqdn?: string;
|
|
526
|
+
/**
|
|
527
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
528
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
529
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
530
|
+
*/
|
|
531
|
+
slug?: string;
|
|
532
|
+
/** ID of the entity associated with the event. */
|
|
533
|
+
entityId?: string;
|
|
534
|
+
/** Event timestamp. */
|
|
535
|
+
eventTime?: Date;
|
|
536
|
+
/**
|
|
537
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
538
|
+
* (for example, GDPR).
|
|
539
|
+
*/
|
|
540
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
541
|
+
/** If present, indicates the action that triggered the event. */
|
|
542
|
+
originatedFrom?: string | null;
|
|
543
|
+
/**
|
|
544
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
545
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
546
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
547
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
548
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
549
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
550
|
+
*/
|
|
551
|
+
entityEventSequence?: string | null;
|
|
552
|
+
}
|
|
553
|
+
/** @oneof */
|
|
554
|
+
export interface DomainEventBodyOneOf {
|
|
555
|
+
createdEvent?: EntityCreatedEvent;
|
|
556
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
557
|
+
deletedEvent?: EntityDeletedEvent;
|
|
558
|
+
actionEvent?: ActionEvent;
|
|
559
|
+
}
|
|
560
|
+
export interface EntityCreatedEvent {
|
|
561
|
+
entityAsJson?: string;
|
|
562
|
+
}
|
|
563
|
+
export interface EntityUpdatedEvent {
|
|
564
|
+
/**
|
|
565
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
566
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
567
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
568
|
+
*/
|
|
569
|
+
currentEntityAsJson?: string;
|
|
570
|
+
}
|
|
571
|
+
export interface EntityDeletedEvent {
|
|
572
|
+
/** Entity that was deleted */
|
|
573
|
+
deletedEntityAsJson?: string | null;
|
|
574
|
+
}
|
|
575
|
+
export interface ActionEvent {
|
|
576
|
+
bodyAsJson?: string;
|
|
577
|
+
}
|
|
505
578
|
export interface GetCategoryResponseNonNullableFields {
|
|
506
579
|
category?: {
|
|
507
580
|
_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-category.universal.js","sourceRoot":"","sources":["../../../src/blog-v3-category.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAEvF,OAAO,KAAK,2BAA2B,MAAM,yBAAyB,CAAC;AACvE,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA6K5B,MAAM,CAAN,IAAY,KAaX;AAbD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,6BAA6B;IAC7B,oBAAW,CAAA;IACX;;;OAGG;IACH,oCAA2B,CAAA;IAC3B,yBAAyB;IACzB,oBAAW,CAAA;IACX,6BAA6B;IAC7B,sCAA6B,CAAA;AAC/B,CAAC,EAbW,KAAK,KAAL,KAAK,QAahB;AAqQD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"blog-v3-category.universal.js","sourceRoot":"","sources":["../../../src/blog-v3-category.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAEvF,OAAO,KAAK,2BAA2B,MAAM,yBAAyB,CAAC;AACvE,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B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AI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/blog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.222",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "a5cd4f7202fdcc41a862f39323f5cf630f35dad7e9f548713161c25a"
|
|
37
37
|
}
|