@wix/auto_sdk_restaurants_recipients 1.0.28 → 1.0.29
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/index.d.ts +27 -9
- package/build/cjs/index.js +667 -32
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +645 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +27 -9
- package/build/es/index.mjs +657 -32
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +635 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +27 -9
- package/build/internal/cjs/index.js +667 -32
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +645 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +27 -9
- package/build/internal/es/index.mjs +657 -32
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +635 -10
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTF
|
|
|
2
2
|
import { Recipient, CreateRecipientApplicationErrors, UpdateRecipient, BulkCreateRecipientsOptions, BulkCreateRecipientsResponse, BulkCreateRecipientsApplicationErrors, MaskedRecipient, BulkUpdateRecipientsOptions, BulkUpdateRecipientsResponse, BulkDeleteRecipientsResponse, BulkUpdateRecipientTagsOptions, BulkUpdateRecipientTagsResponse, BulkUpdateRecipientTagsApplicationErrors, BulkUpdateRecipientTagsByFilterOptions, BulkUpdateRecipientTagsByFilterResponse, BulkUpdateRecipientTagsByFilterApplicationErrors, RecipientCreatedEnvelope, RecipientDeletedEnvelope, RecipientUpdatedEnvelope, RecipientsQueryBuilder, RecipientQuery, typedQueryRecipients } from './index.typings.js';
|
|
3
3
|
export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkCreateRecipientsRequest, BulkDeleteRecipientsRequest, BulkDeleteRecipientsResponseBulkRecipientResult, BulkRecipientResult, BulkUpdateRecipientTagsByFilterRequest, BulkUpdateRecipientTagsRequest, BulkUpdateRecipientTagsResult, BulkUpdateRecipientsRequest, BulkUpdateRecipientsResponseBulkRecipientResult, Channel, ChannelWithLiterals, CommonQueryWithEntityContext, CreateRecipientRequest, CreateRecipientResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteRecipientRequest, DeleteRecipientResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetRecipientRequest, GetRecipientResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, QueryRecipientsRequest, QueryRecipientsResponse, RecipientQuerySpec, RecipientsQueryResult, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, TagList, Tags, UpdateRecipientRequest, UpdateRecipientResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
declare function createRecipient$1(httpClient: HttpClient
|
|
5
|
+
declare function createRecipient$1(httpClient: HttpClient, __options?: {
|
|
6
|
+
validateRequestSchema?: boolean;
|
|
7
|
+
}): CreateRecipientSignature;
|
|
6
8
|
interface CreateRecipientSignature {
|
|
7
9
|
/**
|
|
8
10
|
* Creates a recipient.
|
|
@@ -13,7 +15,9 @@ interface CreateRecipientSignature {
|
|
|
13
15
|
__applicationErrorsType?: CreateRecipientApplicationErrors;
|
|
14
16
|
}>;
|
|
15
17
|
}
|
|
16
|
-
declare function getRecipient$1(httpClient: HttpClient
|
|
18
|
+
declare function getRecipient$1(httpClient: HttpClient, __options?: {
|
|
19
|
+
validateRequestSchema?: boolean;
|
|
20
|
+
}): GetRecipientSignature;
|
|
17
21
|
interface GetRecipientSignature {
|
|
18
22
|
/**
|
|
19
23
|
* Retrieves a recipient by ID.
|
|
@@ -22,7 +26,9 @@ interface GetRecipientSignature {
|
|
|
22
26
|
*/
|
|
23
27
|
(recipientId: string): Promise<NonNullablePaths<Recipient, `phone` | `businessLocationIds` | `channels` | `tags.privateTags.tagIds`, 4>>;
|
|
24
28
|
}
|
|
25
|
-
declare function updateRecipient$1(httpClient: HttpClient
|
|
29
|
+
declare function updateRecipient$1(httpClient: HttpClient, __options?: {
|
|
30
|
+
validateRequestSchema?: boolean;
|
|
31
|
+
}): UpdateRecipientSignature;
|
|
26
32
|
interface UpdateRecipientSignature {
|
|
27
33
|
/**
|
|
28
34
|
* Updates a recipient's information.
|
|
@@ -35,7 +41,9 @@ interface UpdateRecipientSignature {
|
|
|
35
41
|
*/
|
|
36
42
|
(_id: string, recipient: NonNullablePaths<UpdateRecipient, `revision`, 2>): Promise<NonNullablePaths<Recipient, `phone` | `businessLocationIds` | `channels` | `tags.privateTags.tagIds`, 4>>;
|
|
37
43
|
}
|
|
38
|
-
declare function deleteRecipient$1(httpClient: HttpClient
|
|
44
|
+
declare function deleteRecipient$1(httpClient: HttpClient, __options?: {
|
|
45
|
+
validateRequestSchema?: boolean;
|
|
46
|
+
}): DeleteRecipientSignature;
|
|
39
47
|
interface DeleteRecipientSignature {
|
|
40
48
|
/**
|
|
41
49
|
* Deletes a recipient.
|
|
@@ -43,7 +51,9 @@ interface DeleteRecipientSignature {
|
|
|
43
51
|
*/
|
|
44
52
|
(recipientId: string): Promise<void>;
|
|
45
53
|
}
|
|
46
|
-
declare function bulkCreateRecipients$1(httpClient: HttpClient
|
|
54
|
+
declare function bulkCreateRecipients$1(httpClient: HttpClient, __options?: {
|
|
55
|
+
validateRequestSchema?: boolean;
|
|
56
|
+
}): BulkCreateRecipientsSignature;
|
|
47
57
|
interface BulkCreateRecipientsSignature {
|
|
48
58
|
/**
|
|
49
59
|
* Creates multiple recipients in a single request.
|
|
@@ -53,7 +63,9 @@ interface BulkCreateRecipientsSignature {
|
|
|
53
63
|
__applicationErrorsType?: BulkCreateRecipientsApplicationErrors;
|
|
54
64
|
}>;
|
|
55
65
|
}
|
|
56
|
-
declare function bulkUpdateRecipients$1(httpClient: HttpClient
|
|
66
|
+
declare function bulkUpdateRecipients$1(httpClient: HttpClient, __options?: {
|
|
67
|
+
validateRequestSchema?: boolean;
|
|
68
|
+
}): BulkUpdateRecipientsSignature;
|
|
57
69
|
interface BulkUpdateRecipientsSignature {
|
|
58
70
|
/**
|
|
59
71
|
* Updates multiple recipients in a single request.
|
|
@@ -64,7 +76,9 @@ interface BulkUpdateRecipientsSignature {
|
|
|
64
76
|
*/
|
|
65
77
|
(recipients: NonNullablePaths<MaskedRecipient, `recipient` | `recipient._id` | `recipient.revision`, 3>[], options?: BulkUpdateRecipientsOptions): Promise<NonNullablePaths<BulkUpdateRecipientsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.phone` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
66
78
|
}
|
|
67
|
-
declare function bulkDeleteRecipients$1(httpClient: HttpClient
|
|
79
|
+
declare function bulkDeleteRecipients$1(httpClient: HttpClient, __options?: {
|
|
80
|
+
validateRequestSchema?: boolean;
|
|
81
|
+
}): BulkDeleteRecipientsSignature;
|
|
68
82
|
interface BulkDeleteRecipientsSignature {
|
|
69
83
|
/**
|
|
70
84
|
* Deletes multiple recipients in a single request.
|
|
@@ -74,7 +88,9 @@ interface BulkDeleteRecipientsSignature {
|
|
|
74
88
|
*/
|
|
75
89
|
(recipientIds: string[]): Promise<NonNullablePaths<BulkDeleteRecipientsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
76
90
|
}
|
|
77
|
-
declare function bulkUpdateRecipientTags$1(httpClient: HttpClient
|
|
91
|
+
declare function bulkUpdateRecipientTags$1(httpClient: HttpClient, __options?: {
|
|
92
|
+
validateRequestSchema?: boolean;
|
|
93
|
+
}): BulkUpdateRecipientTagsSignature;
|
|
78
94
|
interface BulkUpdateRecipientTagsSignature {
|
|
79
95
|
/**
|
|
80
96
|
* Updates tags on multiple recipients by recipient IDs.
|
|
@@ -87,7 +103,9 @@ interface BulkUpdateRecipientTagsSignature {
|
|
|
87
103
|
__applicationErrorsType?: BulkUpdateRecipientTagsApplicationErrors;
|
|
88
104
|
}>;
|
|
89
105
|
}
|
|
90
|
-
declare function bulkUpdateRecipientTagsByFilter$1(httpClient: HttpClient
|
|
106
|
+
declare function bulkUpdateRecipientTagsByFilter$1(httpClient: HttpClient, __options?: {
|
|
107
|
+
validateRequestSchema?: boolean;
|
|
108
|
+
}): BulkUpdateRecipientTagsByFilterSignature;
|
|
91
109
|
interface BulkUpdateRecipientTagsByFilterSignature {
|
|
92
110
|
/**
|
|
93
111
|
* Updates tags on multiple recipients using filter criteria.
|