arky-sdk 0.3.25 → 0.3.27
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 +10 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +10 -24
- package/dist/index.js.map +1 -1
- package/dist/types.d.cts +5 -11
- package/dist/types.d.ts +5 -11
- package/package.json +1 -1
package/dist/types.d.cts
CHANGED
|
@@ -70,10 +70,10 @@ interface RegisterUserParams {
|
|
|
70
70
|
email: string;
|
|
71
71
|
password: string;
|
|
72
72
|
}
|
|
73
|
-
interface
|
|
73
|
+
interface AddPhoneNumberParams {
|
|
74
74
|
phoneNumber: string;
|
|
75
75
|
}
|
|
76
|
-
interface
|
|
76
|
+
interface PhoneNumberConfirmParams {
|
|
77
77
|
phoneNumber: string;
|
|
78
78
|
code: string;
|
|
79
79
|
}
|
|
@@ -226,11 +226,6 @@ interface TriggerBuildsParams {
|
|
|
226
226
|
}
|
|
227
227
|
interface GetSubscriptionParams {
|
|
228
228
|
}
|
|
229
|
-
interface CreateSubscriptionParams {
|
|
230
|
-
planId: string;
|
|
231
|
-
successUrl: string;
|
|
232
|
-
cancelUrl: string;
|
|
233
|
-
}
|
|
234
229
|
interface UpdateSubscriptionParams {
|
|
235
230
|
planId: string;
|
|
236
231
|
successUrl: string;
|
|
@@ -462,11 +457,10 @@ interface SearchReservationsParams {
|
|
|
462
457
|
sortOrder?: string;
|
|
463
458
|
}
|
|
464
459
|
interface UpdateUserProfileParams {
|
|
465
|
-
name
|
|
460
|
+
name?: string;
|
|
466
461
|
phoneNumbers?: string[];
|
|
467
|
-
phoneNumber?: string | null;
|
|
468
462
|
addresses?: any[];
|
|
469
|
-
apiTokens?: any | null;
|
|
463
|
+
apiTokens?: any[] | null;
|
|
470
464
|
}
|
|
471
465
|
interface SetRoleParams {
|
|
472
466
|
userId: string;
|
|
@@ -770,4 +764,4 @@ interface ReservationStoreState {
|
|
|
770
764
|
};
|
|
771
765
|
}
|
|
772
766
|
|
|
773
|
-
export { type ApiResponse, type Block, type Business, type BusinessConfig, type BusinessPaymentMethod, type CancelSubscriptionParams, type CheckoutParams, type ConfirmUserParams, type CreateBusinessParams, type CreateCollectionEntryParams, type CreateCollectionParams, type CreateEntryParams, type CreateOrderParams, type CreatePortalSessionParams, type CreateProductParams, type CreatePromoCodeParams, type CreateProviderParams, type CreateReservationParams, type CreateRoleParams, type CreateServiceParams, type
|
|
767
|
+
export { type AddPhoneNumberParams, type ApiResponse, type Block, type Business, type BusinessConfig, type BusinessPaymentMethod, type CancelSubscriptionParams, type CheckoutParams, type ConfirmUserParams, type CreateBusinessParams, type CreateCollectionEntryParams, type CreateCollectionParams, type CreateEntryParams, type CreateOrderParams, type CreatePortalSessionParams, type CreateProductParams, type CreatePromoCodeParams, type CreateProviderParams, type CreateReservationParams, type CreateRoleParams, type CreateServiceParams, type DeleteBusinessMediaParams, type DeleteBusinessParams, type DeleteCollectionEntryParams, type DeleteCollectionParams, type DeleteProductParams, type DeletePromoCodeParams, type DeleteProviderParams, type DeleteRoleParams, type DeleteServiceParams, type EshopCartItem, type EshopItem, type EshopStoreState, type ForgotPasswordParams, type GenerateBlocksParams, type GetAnalyticsHealthParams, type GetAnalyticsParams, type GetAvailableSlotsParams, type GetBusinessMarketParams, type GetBusinessMarketsParams, type GetBusinessMediaParams, type GetBusinessMediaParams2, type GetBusinessParams, type GetBusinessParentsParams, type GetBusinessServiceWorkingTimeParams, type GetBusinessesParams, type GetCollectionEntriesParams, type GetCollectionEntryParams, type GetCollectionParams, type GetCollectionSubscribersParams, type GetCollectionsParams, type GetDeliveryStatsParams, type GetEntriesParams, type GetLoginUrlParams, type GetMeParams, type GetNotificationsParams, type GetOrderParams, type GetOrdersParams, type GetProductParams, type GetProductsParams, type GetPromoCodeParams, type GetPromoCodesParams, type GetProviderParams, type GetProvidersParams, type GetQuoteParams, type GetReservationParams, type GetReservationPartsParams, type GetReservationQuoteParams, type GetRoleParams, type GetRolesParams, type GetServiceParams, type GetServicesParams, type GetSubscriptionParams, type GetSubscriptionPlansParams, type GetVariableMetadataParams, type HandleInvitationParams, type HandleStripeWebhookParams, type InviteUserParams, type Location, type LoginUserParams, type LogoutParams, type Market, type MarketConfigClient, type PaginatedResponse, type Payment, PaymentMethod, type PaymentProviderConfig, type PhoneNumberConfirmParams, type Price, type PromoCodeValidation, type Quote, type QuoteLineItem, type ReactivateSubscriptionParams, type RegisterUserParams, type RequestOptions, type ReservationCartPart, type ReservationCheckoutParams, type ReservationStoreState, type ResetForgotPasswordParams, type ResetPasswordParams, type SearchMyReservationsParams, type SearchReservationsParams, type SearchUsersParams, type SendEntryParams, type SetProviderScheduleParams, type SetRoleParams, type SetupAnalyticsParams, type ShippingMethod, type SubscribeToCollectionParams, type TestWebhookParams, type TrackEmailOpenParams, type TriggerBuildsParams, type UnsubscribeFromCollectionParams, type UpdateBusinessParams, type UpdateCollectionParams, type UpdateEntryParams, type UpdateNotificationsParams, type UpdateOrderParams, type UpdateOrderPaymentStatusParams, type UpdateOrderStatusParams, type UpdateProductParams, type UpdatePromoCodeParams, type UpdateProviderParams, type UpdateReservationParams, type UpdateRoleParams, type UpdateServiceParams, type UpdateSubscriptionParams, type UpdateUserProfileParams, type UploadBusinessMediaParams, type Zone };
|
package/dist/types.d.ts
CHANGED
|
@@ -70,10 +70,10 @@ interface RegisterUserParams {
|
|
|
70
70
|
email: string;
|
|
71
71
|
password: string;
|
|
72
72
|
}
|
|
73
|
-
interface
|
|
73
|
+
interface AddPhoneNumberParams {
|
|
74
74
|
phoneNumber: string;
|
|
75
75
|
}
|
|
76
|
-
interface
|
|
76
|
+
interface PhoneNumberConfirmParams {
|
|
77
77
|
phoneNumber: string;
|
|
78
78
|
code: string;
|
|
79
79
|
}
|
|
@@ -226,11 +226,6 @@ interface TriggerBuildsParams {
|
|
|
226
226
|
}
|
|
227
227
|
interface GetSubscriptionParams {
|
|
228
228
|
}
|
|
229
|
-
interface CreateSubscriptionParams {
|
|
230
|
-
planId: string;
|
|
231
|
-
successUrl: string;
|
|
232
|
-
cancelUrl: string;
|
|
233
|
-
}
|
|
234
229
|
interface UpdateSubscriptionParams {
|
|
235
230
|
planId: string;
|
|
236
231
|
successUrl: string;
|
|
@@ -462,11 +457,10 @@ interface SearchReservationsParams {
|
|
|
462
457
|
sortOrder?: string;
|
|
463
458
|
}
|
|
464
459
|
interface UpdateUserProfileParams {
|
|
465
|
-
name
|
|
460
|
+
name?: string;
|
|
466
461
|
phoneNumbers?: string[];
|
|
467
|
-
phoneNumber?: string | null;
|
|
468
462
|
addresses?: any[];
|
|
469
|
-
apiTokens?: any | null;
|
|
463
|
+
apiTokens?: any[] | null;
|
|
470
464
|
}
|
|
471
465
|
interface SetRoleParams {
|
|
472
466
|
userId: string;
|
|
@@ -770,4 +764,4 @@ interface ReservationStoreState {
|
|
|
770
764
|
};
|
|
771
765
|
}
|
|
772
766
|
|
|
773
|
-
export { type ApiResponse, type Block, type Business, type BusinessConfig, type BusinessPaymentMethod, type CancelSubscriptionParams, type CheckoutParams, type ConfirmUserParams, type CreateBusinessParams, type CreateCollectionEntryParams, type CreateCollectionParams, type CreateEntryParams, type CreateOrderParams, type CreatePortalSessionParams, type CreateProductParams, type CreatePromoCodeParams, type CreateProviderParams, type CreateReservationParams, type CreateRoleParams, type CreateServiceParams, type
|
|
767
|
+
export { type AddPhoneNumberParams, type ApiResponse, type Block, type Business, type BusinessConfig, type BusinessPaymentMethod, type CancelSubscriptionParams, type CheckoutParams, type ConfirmUserParams, type CreateBusinessParams, type CreateCollectionEntryParams, type CreateCollectionParams, type CreateEntryParams, type CreateOrderParams, type CreatePortalSessionParams, type CreateProductParams, type CreatePromoCodeParams, type CreateProviderParams, type CreateReservationParams, type CreateRoleParams, type CreateServiceParams, type DeleteBusinessMediaParams, type DeleteBusinessParams, type DeleteCollectionEntryParams, type DeleteCollectionParams, type DeleteProductParams, type DeletePromoCodeParams, type DeleteProviderParams, type DeleteRoleParams, type DeleteServiceParams, type EshopCartItem, type EshopItem, type EshopStoreState, type ForgotPasswordParams, type GenerateBlocksParams, type GetAnalyticsHealthParams, type GetAnalyticsParams, type GetAvailableSlotsParams, type GetBusinessMarketParams, type GetBusinessMarketsParams, type GetBusinessMediaParams, type GetBusinessMediaParams2, type GetBusinessParams, type GetBusinessParentsParams, type GetBusinessServiceWorkingTimeParams, type GetBusinessesParams, type GetCollectionEntriesParams, type GetCollectionEntryParams, type GetCollectionParams, type GetCollectionSubscribersParams, type GetCollectionsParams, type GetDeliveryStatsParams, type GetEntriesParams, type GetLoginUrlParams, type GetMeParams, type GetNotificationsParams, type GetOrderParams, type GetOrdersParams, type GetProductParams, type GetProductsParams, type GetPromoCodeParams, type GetPromoCodesParams, type GetProviderParams, type GetProvidersParams, type GetQuoteParams, type GetReservationParams, type GetReservationPartsParams, type GetReservationQuoteParams, type GetRoleParams, type GetRolesParams, type GetServiceParams, type GetServicesParams, type GetSubscriptionParams, type GetSubscriptionPlansParams, type GetVariableMetadataParams, type HandleInvitationParams, type HandleStripeWebhookParams, type InviteUserParams, type Location, type LoginUserParams, type LogoutParams, type Market, type MarketConfigClient, type PaginatedResponse, type Payment, PaymentMethod, type PaymentProviderConfig, type PhoneNumberConfirmParams, type Price, type PromoCodeValidation, type Quote, type QuoteLineItem, type ReactivateSubscriptionParams, type RegisterUserParams, type RequestOptions, type ReservationCartPart, type ReservationCheckoutParams, type ReservationStoreState, type ResetForgotPasswordParams, type ResetPasswordParams, type SearchMyReservationsParams, type SearchReservationsParams, type SearchUsersParams, type SendEntryParams, type SetProviderScheduleParams, type SetRoleParams, type SetupAnalyticsParams, type ShippingMethod, type SubscribeToCollectionParams, type TestWebhookParams, type TrackEmailOpenParams, type TriggerBuildsParams, type UnsubscribeFromCollectionParams, type UpdateBusinessParams, type UpdateCollectionParams, type UpdateEntryParams, type UpdateNotificationsParams, type UpdateOrderParams, type UpdateOrderPaymentStatusParams, type UpdateOrderStatusParams, type UpdateProductParams, type UpdatePromoCodeParams, type UpdateProviderParams, type UpdateReservationParams, type UpdateRoleParams, type UpdateServiceParams, type UpdateSubscriptionParams, type UpdateUserProfileParams, type UploadBusinessMediaParams, type Zone };
|