@spaceinvoices/js-sdk 7.0.0 → 7.1.0
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
CHANGED
|
@@ -176,5 +176,5 @@ Searches across all text fields including names, descriptions, addresses, and me
|
|
|
176
176
|
Searches are case-insensitive and match partial strings.
|
|
177
177
|
Searches across all text fields including names, descriptions, addresses, and metadata values.`),deleted:e__namespace.boolean().optional().describe("When true, returns only soft-deleted (trashed) items. Default false excludes deleted items.")}),Lly=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),gk0=36,yk0=36,Ok0=36,Sk0=255,vk0=-2147483648,Bk0=2147483647,Tk0=-2147483648,Ek0=2147483647,bk0=-2147483648,Ik0=2147483647,fk0=-2147483648,zk0=2147483647,Dk0=10,Nk0=10,Mk0=10,_k0=10,hk0=255,Rk0=-2147483648,Uk0=2147483647,Ck0=-2147483648,Pk0=2147483647,wk0=36,Fk0=1e3,Hly=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(gk0),entity_id:e__namespace.string().max(yk0),document_id:e__namespace.string().max(Ok0),name:e__namespace.string().max(Sk0),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e__namespace.number().min(vk0).max(Bk0),day_of_week:e__namespace.number().min(Tk0).max(Ek0).nullish(),day_of_month:e__namespace.number().min(bk0).max(Ik0).nullish(),month_of_year:e__namespace.number().min(fk0).max(zk0).nullish(),start_date:e__namespace.string().max(Dk0),end_date:e__namespace.string().max(Nk0).nullish(),next_run_date:e__namespace.string().max(Mk0).nullish(),last_run_date:e__namespace.string().max(_k0).nullish(),status:e__namespace.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e__namespace.boolean(),create_as_draft:e__namespace.boolean(),send_to:e__namespace.string().max(hk0).nullish(),payment_terms_days:e__namespace.number().min(Rk0).max(Uk0).nullish(),notify_owner:e__namespace.boolean(),invoices_generated:e__namespace.number().min(Ck0).max(Pk0),last_generated_invoice_id:e__namespace.string().max(wk0).nullish(),last_error:e__namespace.string().max(Fk0).nullish(),last_error_at:e__namespace.iso.datetime({}).nullish(),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e__namespace.looseObject({})).describe("Recurring invoice schedule")),pagination:e__namespace.object({total:e__namespace.number().describe("Total number of items available in the collection"),next_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e__namespace.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),Ak0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Gly=e__namespace.object({id:e__namespace.stringFormat("resource-id",Ak0).describe("Unique resource identifier")}),Kly=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),kk0=36,jk0=36,Lk0=36,Hk0=255,Gk0=-2147483648,Kk0=2147483647,Zk0=-2147483648,Vk0=2147483647,qk0=-2147483648,Wk0=2147483647,Yk0=-2147483648,Jk0=2147483647,$k0=10,Qk0=10,Xk0=10,ej0=10,tj0=255,nj0=-2147483648,sj0=2147483647,oj0=-2147483648,ij0=2147483647,aj0=36,rj0=1e3,Zly=e__namespace.object({id:e__namespace.string().max(kk0),entity_id:e__namespace.string().max(jk0),document_id:e__namespace.string().max(Lk0),name:e__namespace.string().max(Hk0),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e__namespace.number().min(Gk0).max(Kk0),day_of_week:e__namespace.number().min(Zk0).max(Vk0).nullish(),day_of_month:e__namespace.number().min(qk0).max(Wk0).nullish(),month_of_year:e__namespace.number().min(Yk0).max(Jk0).nullish(),start_date:e__namespace.string().max($k0),end_date:e__namespace.string().max(Qk0).nullish(),next_run_date:e__namespace.string().max(Xk0).nullish(),last_run_date:e__namespace.string().max(ej0).nullish(),status:e__namespace.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e__namespace.boolean(),create_as_draft:e__namespace.boolean(),send_to:e__namespace.string().max(tj0).nullish(),payment_terms_days:e__namespace.number().min(nj0).max(sj0).nullish(),notify_owner:e__namespace.boolean(),invoices_generated:e__namespace.number().min(oj0).max(ij0),last_generated_invoice_id:e__namespace.string().max(aj0).nullish(),last_error:e__namespace.string().max(rj0).nullish(),last_error_at:e__namespace.iso.datetime({}).nullish(),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e__namespace.looseObject({})).describe("Recurring invoice schedule"),lj0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Vly=e__namespace.object({id:e__namespace.stringFormat("resource-id",lj0).describe("Unique resource identifier")}),qly=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),dj0=255,cj0=-2147483648,uj0=2147483647,pj0=-2147483648,mj0=2147483647,xj0=-2147483648,gj0=2147483647,yj0=-2147483648,Oj0=2147483647,Sj0=/^\d{4}-\d{2}-\d{2}$/,vj0=/^\d{4}-\d{2}-\d{2}$/,Bj0=255,Tj0=-2147483648,Ej0=2147483647,Wly=e__namespace.object({name:e__namespace.string().max(dj0).optional(),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).optional(),interval:e__namespace.number().min(cj0).max(uj0).optional(),day_of_week:e__namespace.number().min(pj0).max(mj0).nullish(),day_of_month:e__namespace.number().min(xj0).max(gj0).nullish(),month_of_year:e__namespace.number().min(yj0).max(Oj0).nullish(),start_date:e__namespace.string().regex(Sj0).optional(),end_date:e__namespace.string().regex(vj0).nullish(),auto_send:e__namespace.boolean().optional(),create_as_draft:e__namespace.boolean().optional(),send_to:e__namespace.string().max(Bj0).nullish(),payment_terms_days:e__namespace.number().min(Tj0).max(Ej0).nullish(),notify_owner:e__namespace.boolean().optional(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),bj0=36,Ij0=36,fj0=36,zj0=255,Dj0=-2147483648,Nj0=2147483647,Mj0=-2147483648,_j0=2147483647,hj0=-2147483648,Rj0=2147483647,Uj0=-2147483648,Cj0=2147483647,Pj0=10,wj0=10,Fj0=10,Aj0=10,kj0=255,jj0=-2147483648,Lj0=2147483647,Hj0=-2147483648,Gj0=2147483647,Kj0=36,Zj0=1e3,Yly=e__namespace.object({id:e__namespace.string().max(bj0),entity_id:e__namespace.string().max(Ij0),document_id:e__namespace.string().max(fj0),name:e__namespace.string().max(zj0),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e__namespace.number().min(Dj0).max(Nj0),day_of_week:e__namespace.number().min(Mj0).max(_j0).nullish(),day_of_month:e__namespace.number().min(hj0).max(Rj0).nullish(),month_of_year:e__namespace.number().min(Uj0).max(Cj0).nullish(),start_date:e__namespace.string().max(Pj0),end_date:e__namespace.string().max(wj0).nullish(),next_run_date:e__namespace.string().max(Fj0).nullish(),last_run_date:e__namespace.string().max(Aj0).nullish(),status:e__namespace.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e__namespace.boolean(),create_as_draft:e__namespace.boolean(),send_to:e__namespace.string().max(kj0).nullish(),payment_terms_days:e__namespace.number().min(jj0).max(Lj0).nullish(),notify_owner:e__namespace.boolean(),invoices_generated:e__namespace.number().min(Hj0).max(Gj0),last_generated_invoice_id:e__namespace.string().max(Kj0).nullish(),last_error:e__namespace.string().max(Zj0).nullish(),last_error_at:e__namespace.iso.datetime({}).nullish(),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e__namespace.looseObject({})).describe("Recurring invoice schedule"),Vj0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Jly=e__namespace.object({id:e__namespace.stringFormat("resource-id",Vj0).describe("Unique resource identifier")}),$ly=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),qj0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Qly=e__namespace.object({id:e__namespace.stringFormat("resource-id",qj0).describe("Unique resource identifier")}),Xly=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Wj0=36,Yj0=36,Jj0=36,$j0=255,Qj0=-2147483648,Xj0=2147483647,eL0=-2147483648,tL0=2147483647,nL0=-2147483648,sL0=2147483647,oL0=-2147483648,iL0=2147483647,aL0=10,rL0=10,lL0=10,dL0=10,cL0=255,uL0=-2147483648,pL0=2147483647,mL0=-2147483648,xL0=2147483647,gL0=36,yL0=1e3,edy=e__namespace.object({id:e__namespace.string().max(Wj0),entity_id:e__namespace.string().max(Yj0),document_id:e__namespace.string().max(Jj0),name:e__namespace.string().max($j0),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e__namespace.number().min(Qj0).max(Xj0),day_of_week:e__namespace.number().min(eL0).max(tL0).nullish(),day_of_month:e__namespace.number().min(nL0).max(sL0).nullish(),month_of_year:e__namespace.number().min(oL0).max(iL0).nullish(),start_date:e__namespace.string().max(aL0),end_date:e__namespace.string().max(rL0).nullish(),next_run_date:e__namespace.string().max(lL0).nullish(),last_run_date:e__namespace.string().max(dL0).nullish(),status:e__namespace.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e__namespace.boolean(),create_as_draft:e__namespace.boolean(),send_to:e__namespace.string().max(cL0).nullish(),payment_terms_days:e__namespace.number().min(uL0).max(pL0).nullish(),notify_owner:e__namespace.boolean(),invoices_generated:e__namespace.number().min(mL0).max(xL0),last_generated_invoice_id:e__namespace.string().max(gL0).nullish(),last_error:e__namespace.string().max(yL0).nullish(),last_error_at:e__namespace.iso.datetime({}).nullish(),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e__namespace.looseObject({})).describe("Recurring invoice schedule"),OL0=/^[a-z]{3,4}_[0-9a-f]{24}$/,tdy=e__namespace.object({id:e__namespace.stringFormat("resource-id",OL0).describe("Unique resource identifier")}),ndy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),SL0=/^[a-z]{3,4}_[0-9a-f]{24}$/,sdy=e__namespace.object({id:e__namespace.stringFormat("resource-id",SL0).describe("Unique resource identifier")}),ody=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),vL0=36,BL0=36,TL0=36,EL0=255,bL0=-2147483648,IL0=2147483647,fL0=-2147483648,zL0=2147483647,DL0=-2147483648,NL0=2147483647,ML0=-2147483648,_L0=2147483647,hL0=10,RL0=10,UL0=10,CL0=10,PL0=255,wL0=-2147483648,FL0=2147483647,AL0=-2147483648,kL0=2147483647,jL0=36,LL0=1e3,idy=e__namespace.object({id:e__namespace.string().max(vL0),entity_id:e__namespace.string().max(BL0),document_id:e__namespace.string().max(TL0),name:e__namespace.string().max(EL0),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e__namespace.number().min(bL0).max(IL0),day_of_week:e__namespace.number().min(fL0).max(zL0).nullish(),day_of_month:e__namespace.number().min(DL0).max(NL0).nullish(),month_of_year:e__namespace.number().min(ML0).max(_L0).nullish(),start_date:e__namespace.string().max(hL0),end_date:e__namespace.string().max(RL0).nullish(),next_run_date:e__namespace.string().max(UL0).nullish(),last_run_date:e__namespace.string().max(CL0).nullish(),status:e__namespace.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e__namespace.boolean(),create_as_draft:e__namespace.boolean(),send_to:e__namespace.string().max(PL0).nullish(),payment_terms_days:e__namespace.number().min(wL0).max(FL0).nullish(),notify_owner:e__namespace.boolean(),invoices_generated:e__namespace.number().min(AL0).max(kL0),last_generated_invoice_id:e__namespace.string().max(jL0).nullish(),last_error:e__namespace.string().max(LL0).nullish(),last_error_at:e__namespace.iso.datetime({}).nullish(),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e__namespace.looseObject({})).describe("Recurring invoice schedule"),HL0=/^[a-z]{3,4}_[0-9a-f]{24}$/,ady=e__namespace.object({id:e__namespace.stringFormat("resource-id",HL0).describe("Unique resource identifier")}),rdy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),GL0=36,KL0=36,ZL0=36,VL0=255,qL0=-2147483648,WL0=2147483647,YL0=-2147483648,JL0=2147483647,$L0=-2147483648,QL0=2147483647,XL0=-2147483648,eH0=2147483647,tH0=10,nH0=10,sH0=10,oH0=10,iH0=255,aH0=-2147483648,rH0=2147483647,lH0=-2147483648,dH0=2147483647,cH0=36,uH0=1e3,ldy=e__namespace.object({id:e__namespace.string().max(GL0),entity_id:e__namespace.string().max(KL0),document_id:e__namespace.string().max(ZL0),name:e__namespace.string().max(VL0),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e__namespace.number().min(qL0).max(WL0),day_of_week:e__namespace.number().min(YL0).max(JL0).nullish(),day_of_month:e__namespace.number().min($L0).max(QL0).nullish(),month_of_year:e__namespace.number().min(XL0).max(eH0).nullish(),start_date:e__namespace.string().max(tH0),end_date:e__namespace.string().max(nH0).nullish(),next_run_date:e__namespace.string().max(sH0).nullish(),last_run_date:e__namespace.string().max(oH0).nullish(),status:e__namespace.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e__namespace.boolean(),create_as_draft:e__namespace.boolean(),send_to:e__namespace.string().max(iH0).nullish(),payment_terms_days:e__namespace.number().min(aH0).max(rH0).nullish(),notify_owner:e__namespace.boolean(),invoices_generated:e__namespace.number().min(lH0).max(dH0),last_generated_invoice_id:e__namespace.string().max(cH0).nullish(),last_error:e__namespace.string().max(uH0).nullish(),last_error_at:e__namespace.iso.datetime({}).nullish(),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e__namespace.looseObject({})).describe("Recurring invoice schedule"),pH0=/^[a-z]{3,4}_[0-9a-f]{24}$/,ddy=e__namespace.object({id:e__namespace.stringFormat("resource-id",pH0).describe("Unique resource identifier")}),mH0=100,cdy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist."),"X-Request-Id":e__namespace.string().max(mH0).optional().describe("Stable identifier for retrying the same intentional recurring-invoice trigger without creating another invoice. A concurrent retry while the first trigger is still processing returns `409 conflict`. See the [idempotency guide](https://docs.spaceinvoices.com/guides/idempotency/).")}),xH0=36,gH0=36,yH0=36,OH0=255,SH0=-2147483648,vH0=2147483647,BH0=-2147483648,TH0=2147483647,EH0=-2147483648,bH0=2147483647,IH0=-2147483648,fH0=2147483647,zH0=10,DH0=10,NH0=10,MH0=10,_H0=255,hH0=-2147483648,RH0=2147483647,UH0=-2147483648,CH0=2147483647,PH0=36,wH0=1e3,udy=e__namespace.object({id:e__namespace.string().max(xH0),entity_id:e__namespace.string().max(gH0),document_id:e__namespace.string().max(yH0),name:e__namespace.string().max(OH0),frequency:e__namespace.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e__namespace.number().min(SH0).max(vH0),day_of_week:e__namespace.number().min(BH0).max(TH0).nullish(),day_of_month:e__namespace.number().min(EH0).max(bH0).nullish(),month_of_year:e__namespace.number().min(IH0).max(fH0).nullish(),start_date:e__namespace.string().max(zH0),end_date:e__namespace.string().max(DH0).nullish(),next_run_date:e__namespace.string().max(NH0).nullish(),last_run_date:e__namespace.string().max(MH0).nullish(),status:e__namespace.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e__namespace.boolean(),create_as_draft:e__namespace.boolean(),send_to:e__namespace.string().max(_H0).nullish(),payment_terms_days:e__namespace.number().min(hH0).max(RH0).nullish(),notify_owner:e__namespace.boolean(),invoices_generated:e__namespace.number().min(UH0).max(CH0),last_generated_invoice_id:e__namespace.string().max(PH0).nullish(),last_error:e__namespace.string().max(wH0).nullish(),last_error_at:e__namespace.iso.datetime({}).nullish(),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e__namespace.looseObject({})).describe("Recurring invoice schedule");var xt={};K(xt,{BackfillRevenueRecognitionBody:()=>Sdy,BackfillRevenueRecognitionHeader:()=>Ody,BackfillRevenueRecognitionResponse:()=>vdy,GetRevenueRecognitionDetailsHeader:()=>Idy,GetRevenueRecognitionDetailsQueryParams:()=>bdy,GetRevenueRecognitionDetailsResponse:()=>fdy,GetRevenueRecognitionReportHeader:()=>Tdy,GetRevenueRecognitionReportQueryParams:()=>Bdy,GetRevenueRecognitionReportResponse:()=>Edy,GetRevenueRecognitionSettingsHeader:()=>pdy,GetRevenueRecognitionSettingsResponse:()=>mdy,UpdateRevenueRecognitionSettingsBody:()=>gdy,UpdateRevenueRecognitionSettingsHeader:()=>xdy,UpdateRevenueRecognitionSettingsResponse:()=>ydy,backfillRevenueRecognitionBodyDryRunDefault:()=>jH0,getRevenueRecognitionDetailsQueryBasisDefault:()=>GH0,getRevenueRecognitionDetailsQueryGroupByDefault:()=>KH0,getRevenueRecognitionReportQueryBasisDefault:()=>LH0,getRevenueRecognitionReportQueryGroupByDefault:()=>HH0,getRevenueRecognitionSettingsResponseDefaultMethodDefault:()=>FH0,updateRevenueRecognitionSettingsBodyDefaultMethodDefault:()=>AH0,updateRevenueRecognitionSettingsResponseDefaultMethodDefault:()=>kH0});var pdy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),FH0="off",mdy=e__namespace.object({default_method:e__namespace.enum(["off","service_period_daily"]).default(FH0).describe("Entity default for generated revenue recognition entries. Individual document lines can opt out with method=immediate.")}),xdy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),AH0="off",gdy=e__namespace.object({default_method:e__namespace.union([e__namespace.literal("off"),e__namespace.literal("service_period_daily"),e__namespace.literal(null)]).nullish().default(AH0).describe("Entity default for generated revenue recognition entries. Send null to clear back to the default off behavior.")}),kH0="off",ydy=e__namespace.object({default_method:e__namespace.enum(["off","service_period_daily"]).default(kH0).describe("Entity default for generated revenue recognition entries. Individual document lines can opt out with method=immediate.")}),Ody=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),jH0=false,Sdy=e__namespace.object({date_from:e__namespace.string().nullish().describe("Optional document issue date lower bound in YYYY-MM-DD format."),date_to:e__namespace.string().nullish().describe("Optional document issue date upper bound in YYYY-MM-DD format."),dry_run:e__namespace.boolean().default(jH0).describe("When true, counts eligible documents without writing entries.")}),vdy=e__namespace.object({processed_documents:e__namespace.number(),generated_entries:e__namespace.number(),dry_run:e__namespace.boolean()}),LH0="recognized",HH0="financial_category",Bdy=e__namespace.object({date_from:e__namespace.string().describe("Report start date in YYYY-MM-DD format."),date_to:e__namespace.string().describe("Report end date in YYYY-MM-DD format."),basis:e__namespace.enum(["recognized","deferred"]).default(LH0).describe("recognized returns revenue recognized inside each period. deferred returns the remaining future recognition balance at the end of each period."),group_by:e__namespace.enum(["financial_category"]).default(HH0).describe("Report grouping dimension.")}),Tdy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Edy=e__namespace.object({basis:e__namespace.enum(["recognized","deferred"]),group_by:e__namespace.enum(["financial_category"]),calculation_mode:e__namespace.enum(["recognition_entries","document_date_fallback","mixed"]).describe("How report values were calculated. recognition_entries uses generated service-period schedules; document_date_fallback uses finalized document-item totals by issue date while automation is off; mixed combines document-date fallback with explicit line-level recognition entries."),periods:e__namespace.array(e__namespace.object({period:e__namespace.string(),date_from:e__namespace.string(),date_to:e__namespace.string()})),series:e__namespace.array(e__namespace.object({key:e__namespace.string(),financial_category_id:e__namespace.string().nullable(),name:e__namespace.string(),color:e__namespace.string().nullable(),values:e__namespace.array(e__namespace.number()),total:e__namespace.number()})),totals:e__namespace.array(e__namespace.number()),total:e__namespace.number(),currency_code:e__namespace.string(),date_from:e__namespace.string(),date_to:e__namespace.string()}),GH0="recognized",KH0="financial_category",bdy=e__namespace.object({date_from:e__namespace.string().describe("Report start date in YYYY-MM-DD format."),date_to:e__namespace.string().describe("Report end date in YYYY-MM-DD format."),basis:e__namespace.enum(["recognized","deferred"]).default(GH0).describe("recognized returns revenue recognized inside each period. deferred returns the remaining future recognition balance at the end of each period."),group_by:e__namespace.enum(["financial_category"]).default(KH0).describe("Report grouping dimension."),financial_category_id:e__namespace.string().nullish().describe("Optional category ID. Use null/omit for all categories.")}),Idy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),fdy=e__namespace.object({calculation_mode:e__namespace.enum(["recognition_entries","document_date_fallback","mixed"]),data:e__namespace.array(e__namespace.object({id:e__namespace.string(),document_id:e__namespace.string(),document_type:e__namespace.string(),document_number:e__namespace.string(),document_date:e__namespace.string(),document_item_id:e__namespace.string(),customer_id:e__namespace.string().nullable(),customer_name:e__namespace.string().nullable(),financial_category_id:e__namespace.string().nullable(),financial_category_name:e__namespace.string(),currency_code:e__namespace.string(),source_amount:e__namespace.number(),recognized_amount:e__namespace.number(),period_start:e__namespace.string(),period_end:e__namespace.string(),service_period_start:e__namespace.string(),service_period_end:e__namespace.string(),method:e__namespace.string()})),total:e__namespace.number(),currency_code:e__namespace.string()});var gt={};K(gt,{StripeAppAuthorizeHeader:()=>zdy,StripeAppAuthorizeResponse:()=>Ddy,StripeAppConnectBody:()=>Rdy,StripeAppCreateInvoiceBody:()=>Gdy,StripeAppCreateInvoiceHeader:()=>Hdy,StripeAppDisconnectHeader:()=>Pdy,StripeAppDisconnectResponse:()=>wdy,StripeAppEntityDisconnectResponse:()=>ecy,StripeAppEntityGetConnectionResponse:()=>Xdy,StripeAppEntityGetSettingsResponse:()=>tcy,StripeAppEntityUpdateSettingsBody:()=>ncy,StripeAppEntityUpdateSettingsResponse:()=>scy,StripeAppGetConnectionHeader:()=>Udy,StripeAppGetConnectionResponse:()=>Cdy,StripeAppGetInvoiceHeader:()=>$dy,StripeAppGetInvoiceParams:()=>Jdy,StripeAppGetInvoiceResponse:()=>Qdy,StripeAppGetSettingsHeader:()=>Fdy,StripeAppGetSettingsResponse:()=>Ady,StripeAppListInvoicesHeader:()=>Zdy,StripeAppListInvoicesQueryParams:()=>Kdy,StripeAppListInvoicesResponse:()=>Vdy,StripeAppLookupInvoiceHeader:()=>Wdy,StripeAppLookupInvoiceQueryParams:()=>qdy,StripeAppLookupInvoiceResponse:()=>Ydy,StripeAppMarketplaceAuthorizeBody:()=>_dy,StripeAppMarketplaceAuthorizeResponse:()=>hdy,StripeAppOAuthCallbackQueryParams:()=>Ndy,StripeAppUpdateSettingsBody:()=>jdy,StripeAppUpdateSettingsHeader:()=>kdy,StripeAppUpdateSettingsResponse:()=>Ldy,StripeAppWebhookResponse:()=>Mdy,stripeAppCreateInvoiceBodyNoteMax:()=>WH0,stripeAppEntityUpdateSettingsBodyDefaultNoteMax:()=>$H0,stripeAppEntityUpdateSettingsBodyDefaultTaxRateMax:()=>XH0,stripeAppEntityUpdateSettingsBodyDefaultTaxRateMin:()=>QH0,stripeAppListInvoicesQueryLimitDefault:()=>YH0,stripeAppListInvoicesQueryLimitMax:()=>JH0,stripeAppUpdateSettingsBodyDefaultNoteMax:()=>ZH0,stripeAppUpdateSettingsBodyDefaultTaxRateMax:()=>qH0,stripeAppUpdateSettingsBodyDefaultTaxRateMin:()=>VH0});var zdy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID from the Stripe App context")}),Ddy=e__namespace.object({redirect_url:e__namespace.url().describe("URL to redirect the user to for authentication")}),Ndy=e__namespace.object({code:e__namespace.string().min(1).describe("OAuth authorization code from Stripe"),state:e__namespace.string().min(1).describe("Encrypted state token from the authorize step")}),Mdy=e__namespace.object({received:e__namespace.boolean().describe("Whether the webhook was received successfully")}),_dy=e__namespace.object({entity_id:e__namespace.string().min(1).describe("Entity ID to connect to the Stripe account")}),hdy=e__namespace.object({redirect_url:e__namespace.url().describe("URL to redirect the user to for authentication")}),Rdy=e__namespace.object({state:e__namespace.string().min(1).describe("State token from the authorize step"),entity_id:e__namespace.string().min(1).describe("Entity ID to connect to the Stripe account"),force:e__namespace.boolean().optional().describe("If true, disconnects any existing connection for this Stripe account before connecting")}),Udy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),Cdy=e__namespace.object({id:e__namespace.string().describe("Connection ID"),stripe_account_id:e__namespace.string().describe("Connected Stripe account ID"),entity_id:e__namespace.string().describe("Connected Space Invoices entity ID"),white_label_id:e__namespace.string().describe("White-label context for this connection"),auto_invoice_config:e__namespace.object({enabled:e__namespace.boolean(),events:e__namespace.array(e__namespace.string()),default_note:e__namespace.string().optional()}).describe("Auto-invoice configuration"),created_at:e__namespace.iso.datetime({}).describe("When the connection was created")}),Pdy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),wdy=e__namespace.object({message:e__namespace.string()}),Fdy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),Ady=e__namespace.object({auto_invoice_enabled:e__namespace.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e__namespace.array(e__namespace.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e__namespace.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e__namespace.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")}),kdy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),ZH0=500,VH0=0,qH0=100,jdy=e__namespace.object({auto_invoice_enabled:e__namespace.boolean().optional().describe("Enable or disable auto-invoicing"),auto_invoice_events:e__namespace.array(e__namespace.enum(["payment_intent.succeeded","invoice.paid"])).optional().describe("Stripe event types that trigger auto-invoice creation"),default_note:e__namespace.string().max(ZH0).optional().describe("Default note to include on auto-created invoices"),default_tax_rate:e__namespace.number().min(VH0).max(qH0).nullish().describe("Default tax rate (%) to apply to auto-created invoices when Stripe data has no tax info. Set to null to disable.")}),Ldy=e__namespace.object({auto_invoice_enabled:e__namespace.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e__namespace.array(e__namespace.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e__namespace.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e__namespace.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")}),Hdy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),WH0=2e3,Gdy=e__namespace.object({stripe_object_id:e__namespace.string().min(1).describe("Stripe object ID (pi_xxx for payment intents, in_xxx for invoices). Type is auto-detected from prefix."),note:e__namespace.string().max(WH0).optional().describe("Optional note to include on the invoice")}),YH0=10,JH0=50,Kdy=e__namespace.object({limit:e__namespace.number().min(1).max(JH0).default(YH0).describe("Number of invoices to return")}),Zdy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),Vdy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().describe("Space Invoices invoice ID"),number:e__namespace.string().nullable().describe("Invoice number"),status:e__namespace.string().describe("Invoice status"),total:e__namespace.number().describe("Invoice total amount"),currency:e__namespace.string().describe("Currency code"),public_url:e__namespace.url().nullable().describe("Public URL to view the invoice"),fiscalization_status:e__namespace.string().nullable().describe("Fiscalization/compliance status if applicable"),created_at:e__namespace.iso.datetime({}).describe("When the invoice was created")}))}),qdy=e__namespace.object({stripe_object_id:e__namespace.string().min(1).describe("Stripe object ID (e.g. in_xxx for invoices, pi_xxx for payment intents)")}),Wdy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),Ydy=e__namespace.object({id:e__namespace.string().describe("Space Invoices invoice ID"),number:e__namespace.string().nullable().describe("Invoice number"),status:e__namespace.string().describe("Invoice status"),total:e__namespace.number().describe("Invoice total amount"),currency:e__namespace.string().describe("Currency code"),public_url:e__namespace.url().nullable().describe("Public URL to view the invoice"),fiscalization_status:e__namespace.string().nullable().describe("Fiscalization/compliance status if applicable"),created_at:e__namespace.iso.datetime({}).describe("When the invoice was created")}),Jdy=e__namespace.object({id:e__namespace.string().describe("Invoice ID")}),$dy=e__namespace.object({"stripe-user-account-id":e__namespace.string().describe("Stripe account ID")}),Qdy=e__namespace.object({id:e__namespace.string().describe("Space Invoices invoice ID"),number:e__namespace.string().nullable().describe("Invoice number"),status:e__namespace.string().describe("Invoice status"),total:e__namespace.number().describe("Invoice total amount"),currency:e__namespace.string().describe("Currency code"),public_url:e__namespace.url().nullable().describe("Public URL to view the invoice"),fiscalization_status:e__namespace.string().nullable().describe("Fiscalization/compliance status if applicable"),created_at:e__namespace.iso.datetime({}).describe("When the invoice was created")}),Xdy=e__namespace.object({id:e__namespace.string().describe("Connection ID"),stripe_account_id:e__namespace.string().describe("Connected Stripe account ID"),entity_id:e__namespace.string().describe("Connected Space Invoices entity ID"),white_label_id:e__namespace.string().describe("White-label context for this connection"),auto_invoice_config:e__namespace.object({enabled:e__namespace.boolean(),events:e__namespace.array(e__namespace.string()),default_note:e__namespace.string().optional()}).describe("Auto-invoice configuration"),created_at:e__namespace.iso.datetime({}).describe("When the connection was created")}),ecy=e__namespace.object({message:e__namespace.string()}),tcy=e__namespace.object({auto_invoice_enabled:e__namespace.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e__namespace.array(e__namespace.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e__namespace.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e__namespace.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")}),$H0=500,QH0=0,XH0=100,ncy=e__namespace.object({auto_invoice_enabled:e__namespace.boolean().optional().describe("Enable or disable auto-invoicing"),auto_invoice_events:e__namespace.array(e__namespace.enum(["payment_intent.succeeded","invoice.paid"])).optional().describe("Stripe event types that trigger auto-invoice creation"),default_note:e__namespace.string().max($H0).optional().describe("Default note to include on auto-created invoices"),default_tax_rate:e__namespace.number().min(QH0).max(XH0).nullish().describe("Default tax rate (%) to apply to auto-created invoices when Stripe data has no tax info. Set to null to disable.")}),scy=e__namespace.object({auto_invoice_enabled:e__namespace.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e__namespace.array(e__namespace.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e__namespace.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e__namespace.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")});var yt={};K(yt,{CheckEntityLimitResponse:()=>rcy,GetCurrentSubscriptionResponse:()=>ocy,UpdateSpendingLimitBody:()=>icy,UpdateSpendingLimitResponse:()=>acy,getCurrentSubscriptionResponseUsageEInvoicingSendCountDefault:()=>eG0,updateSpendingLimitBodySpendingLimitCentsMin:()=>tG0});var eG0=0,ocy=e__namespace.object({subscription:e__namespace.object({id:e__namespace.string(),account_id:e__namespace.string(),tier:e__namespace.enum(["free","metered"]),spending_limit_cents:e__namespace.number().nullable(),is_internal:e__namespace.boolean(),created_at:e__namespace.string(),updated_at:e__namespace.string()}),usage:e__namespace.object({documents_count:e__namespace.number(),e_invoicing_send_count:e__namespace.number().default(eG0),entities_active:e__namespace.number(),period_start:e__namespace.string(),period_end:e__namespace.string()}),limits:e__namespace.object({entities:e__namespace.number().nullable().describe("Max entities for free tier (null for metered)"),documents_per_month:e__namespace.number().nullable().describe("Max docs per month for free tier (null for metered)")}),is_over_limit:e__namespace.boolean()}).describe("Current subscription and usage for Space Invoices account"),tG0=0,icy=e__namespace.object({spending_limit_cents:e__namespace.number().min(tG0).nullable()}).describe("Request to update spending limit for metered tier"),acy=e__namespace.object({spending_limit_cents:e__namespace.number().nullable()}).describe("Updated spending limit"),rcy=e__namespace.object({can_create:e__namespace.boolean(),current_count:e__namespace.number(),limit:e__namespace.number().nullable()});var Ot={};K(Ot,{ListUsTaxRateEstimatesHeader:()=>dcy,ListUsTaxRateEstimatesQueryParams:()=>lcy,ListUsTaxRateEstimatesResponse:()=>ccy,listUsTaxRateEstimatesQueryStateMax:()=>oG0,listUsTaxRateEstimatesQueryStateMin:()=>sG0,listUsTaxRateEstimatesQueryZipCodeRegExp:()=>nG0,listUsTaxRateEstimatesResponseDataItemCityRateMax:()=>OG0,listUsTaxRateEstimatesResponseDataItemCityRateMin:()=>yG0,listUsTaxRateEstimatesResponseDataItemCountryCodeMax:()=>aG0,listUsTaxRateEstimatesResponseDataItemCountyRateMax:()=>gG0,listUsTaxRateEstimatesResponseDataItemCountyRateMin:()=>xG0,listUsTaxRateEstimatesResponseDataItemEstimatedCombinedRateMax:()=>uG0,listUsTaxRateEstimatesResponseDataItemEstimatedCombinedRateMin:()=>cG0,listUsTaxRateEstimatesResponseDataItemIdMax:()=>iG0,listUsTaxRateEstimatesResponseDataItemRiskLevelMax:()=>TG0,listUsTaxRateEstimatesResponseDataItemRiskLevelMin:()=>BG0,listUsTaxRateEstimatesResponseDataItemSourceMax:()=>EG0,listUsTaxRateEstimatesResponseDataItemSourceMonthMax:()=>bG0,listUsTaxRateEstimatesResponseDataItemSpecialRateMax:()=>vG0,listUsTaxRateEstimatesResponseDataItemSpecialRateMin:()=>SG0,listUsTaxRateEstimatesResponseDataItemStateMax:()=>rG0,listUsTaxRateEstimatesResponseDataItemStateRateMax:()=>mG0,listUsTaxRateEstimatesResponseDataItemStateRateMin:()=>pG0,listUsTaxRateEstimatesResponseDataItemTaxRegionNameMax:()=>dG0,listUsTaxRateEstimatesResponseDataItemZipCodeMax:()=>lG0});var nG0=/^\d{5}$/,sG0=2,oG0=2,lcy=e__namespace.object({zip_code:e__namespace.string().regex(nG0).describe("US ZIP code to look up."),state:e__namespace.string().min(sG0).max(oG0).optional().describe("Optional two-letter US state filter.")}),dcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),iG0=36,aG0=2,rG0=2,lG0=10,dG0=255,cG0=-140737488355328,uG0=0x7fffffffffff,pG0=-140737488355328,mG0=0x7fffffffffff,xG0=-140737488355328,gG0=0x7fffffffffff,yG0=-140737488355328,OG0=0x7fffffffffff,SG0=-140737488355328,vG0=0x7fffffffffff,BG0=-2147483648,TG0=2147483647,EG0=50,bG0=7,ccy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(iG0),country_code:e__namespace.string().max(aG0),state:e__namespace.string().max(rG0),zip_code:e__namespace.string().max(lG0),tax_region_name:e__namespace.string().max(dG0),estimated_combined_rate:e__namespace.number().min(cG0).max(uG0),state_rate:e__namespace.number().min(pG0).max(mG0),county_rate:e__namespace.number().min(xG0).max(gG0),city_rate:e__namespace.number().min(yG0).max(OG0),special_rate:e__namespace.number().min(SG0).max(vG0),risk_level:e__namespace.number().min(BG0).max(TG0),source:e__namespace.string().max(EG0),source_month:e__namespace.string().max(bG0),imported_at:e__namespace.iso.datetime({})}).describe("Imported ZIP-level tax-rate estimate. This is informational and must be verified before use."))});var St={};K(St,{ExportSloveniaVodXmlBody:()=>Icy,ExportSloveniaVodXmlHeader:()=>bcy,ExportSloveniaYearlyNormiraniReportBody:()=>Ecy,ExportSloveniaYearlyNormiraniReportHeader:()=>Tcy,GenerateKirExportHeader:()=>pcy,GenerateKirExportQueryParams:()=>ucy,GetSloveniaTaxProfileHeader:()=>mcy,GetSloveniaTaxProfileResponse:()=>xcy,ReviewSloveniaYearlyNormiraniReportBody:()=>vcy,ReviewSloveniaYearlyNormiraniReportHeader:()=>Scy,ReviewSloveniaYearlyNormiraniReportResponse:()=>Bcy,UpdateSloveniaTaxProfileBody:()=>ycy,UpdateSloveniaTaxProfileHeader:()=>gcy,UpdateSloveniaTaxProfileResponse:()=>Ocy,exportSloveniaYearlyNormiraniReportBodyManualValuesForeignTaxCreditAmountMin:()=>q40,exportSloveniaYearlyNormiraniReportBodyManualValuesPriorAdvanceIncomeTaxAmountMin:()=>W40,exportSloveniaYearlyNormiraniReportBodyManualValuesRevenueAdjustmentDecreaseMin:()=>Y40,exportSloveniaYearlyNormiraniReportBodyManualValuesRevenueAdjustmentIncreaseMin:()=>J40,exportSloveniaYearlyNormiraniReportBodyManualValuesWithholdingTaxAmountMin:()=>V40,exportSloveniaYearlyNormiraniReportBodyYearMax:()=>Z40,exportSloveniaYearlyNormiraniReportBodyYearMin:()=>K40,generateKirExportQueryMonthRegExp:()=>fG0,generateKirExportQueryQuarterRegExp:()=>zG0,generateKirExportQueryYearRegExp:()=>IG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePayablesMax:()=>hG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>qG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>YG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>WG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>$G0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>QG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>JG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>XG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>e30,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>t30,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>PG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>FG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>wG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneReceivablesMax:()=>_G0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>AG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>jG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>kG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>HG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>GG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>LG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>KG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>ZG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>VG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat22Max:()=>RG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat5Max:()=>CG0,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat95Max:()=>UG0,getSloveniaTaxProfileResponseYearlyReportingActivityCodesItemRegExp:()=>DG0,getSloveniaTaxProfileResponseYearlyReportingDefaultForeignTaxCreditAmountMin:()=>MG0,getSloveniaTaxProfileResponseYearlyReportingDefaultWithholdingTaxAmountMin:()=>NG0,reviewSloveniaYearlyNormiraniReportBodyYearMax:()=>r40,reviewSloveniaYearlyNormiraniReportBodyYearMin:()=>a40,reviewSloveniaYearlyNormiraniReportResponseManualValuesForeignTaxCreditAmountMin:()=>j40,reviewSloveniaYearlyNormiraniReportResponseManualValuesPriorAdvanceIncomeTaxAmountMin:()=>L40,reviewSloveniaYearlyNormiraniReportResponseManualValuesRevenueAdjustmentDecreaseMin:()=>H40,reviewSloveniaYearlyNormiraniReportResponseManualValuesRevenueAdjustmentIncreaseMin:()=>G40,reviewSloveniaYearlyNormiraniReportResponseManualValuesWithholdingTaxAmountMin:()=>k40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePayablesMax:()=>x40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>_40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>R40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>h40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>C40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>P40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>U40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>w40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>F40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>A40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>S40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>B40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>v40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneReceivablesMax:()=>m40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>T40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>b40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>E40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>f40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>z40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>I40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>D40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>N40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>M40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat22Max:()=>g40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat5Max:()=>O40,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat95Max:()=>y40,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingActivityCodesItemRegExp:()=>c40,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingDefaultForeignTaxCreditAmountMin:()=>p40,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingDefaultWithholdingTaxAmountMin:()=>u40,reviewSloveniaYearlyNormiraniReportResponseYearMax:()=>d40,reviewSloveniaYearlyNormiraniReportResponseYearMin:()=>l40,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPayablesMax:()=>a30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense22Max:()=>E30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense5Max:()=>I30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense95Max:()=>b30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseEuGoodsMax:()=>z30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseEuServicesMax:()=>D30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseExemptMax:()=>f30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseReverseChargeMax:()=>N30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseThirdCountryGoodsMax:()=>M30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseThirdCountryServicesMax:()=>_30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable22Max:()=>c30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable5Max:()=>p30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable95Max:()=>u30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsReceivablesMax:()=>i30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue22Max:()=>m30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue5Max:()=>g30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue95Max:()=>x30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueEuGoodsMax:()=>O30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueEuServicesMax:()=>S30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueExemptMax:()=>y30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueReverseChargeMax:()=>v30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueThirdCountryGoodsMax:()=>B30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueThirdCountryServicesMax:()=>T30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat22Max:()=>r30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat5Max:()=>d30,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat95Max:()=>l30,updateSloveniaTaxProfileBodyYearlyReportingActivityCodesItemRegExp:()=>n30,updateSloveniaTaxProfileBodyYearlyReportingDefaultForeignTaxCreditAmountMin:()=>o30,updateSloveniaTaxProfileBodyYearlyReportingDefaultWithholdingTaxAmountMin:()=>s30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePayablesMax:()=>P30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>$30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>X30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>Q30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>t40,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>n40,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>e40,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>s40,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>o40,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>i40,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>k30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>L30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>j30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneReceivablesMax:()=>C30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>H30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>K30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>G30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>V30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>q30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>Z30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>W30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>Y30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>J30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat22Max:()=>w30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat5Max:()=>A30,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat95Max:()=>F30,updateSloveniaTaxProfileResponseYearlyReportingActivityCodesItemRegExp:()=>h30,updateSloveniaTaxProfileResponseYearlyReportingDefaultForeignTaxCreditAmountMin:()=>U30,updateSloveniaTaxProfileResponseYearlyReportingDefaultWithholdingTaxAmountMin:()=>R30});var IG0=/^\d{4}$/,fG0=/^(1[0-2]|[1-9])$/,zG0=/^[1-4]$/,ucy=e__namespace.object({year:e__namespace.string().regex(IG0).describe("Year for the combined KIR/KPR export (e.g., 2025)"),month:e__namespace.string().regex(fG0).optional().describe("Month for monthly export (1-12). Cannot be used with quarter."),quarter:e__namespace.string().regex(zG0).optional().describe("Quarter for quarterly export (1-4). Cannot be used with month.")}),pcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),mcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),DG0=/^\d{2}\.\d{3}$/,NG0=0,MG0=0,_G0=8,hG0=8,RG0=8,UG0=8,CG0=8,PG0=8,wG0=8,FG0=8,AG0=8,kG0=8,jG0=8,LG0=8,HG0=8,GG0=8,KG0=8,ZG0=8,VG0=8,qG0=8,WG0=8,YG0=8,JG0=8,$G0=8,QG0=8,XG0=8,e30=8,t30=8,xcy=e__namespace.object({business_form:e__namespace.union([e__namespace.literal("sp"),e__namespace.literal("doo"),e__namespace.literal("dno"),e__namespace.literal("club"),e__namespace.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e__namespace.union([e__namespace.literal("normirani"),e__namespace.literal("dejanski"),e__namespace.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e__namespace.union([e__namespace.literal("standard"),e__namespace.literal("special_vat_identified"),e__namespace.literal("non_vat_subject"),e__namespace.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e__namespace.boolean().optional(),tax_residency:e__namespace.union([e__namespace.literal("resident"),e__namespace.literal("non_resident"),e__namespace.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e__namespace.object({activity_codes:e__namespace.array(e__namespace.string().regex(DG0).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e__namespace.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e__namespace.union([e__namespace.literal("records"),e__namespace.literal("single_entry"),e__namespace.literal("double_entry"),e__namespace.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e__namespace.union([e__namespace.literal("full_time_self_employed"),e__namespace.literal("other"),e__namespace.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e__namespace.number().min(NG0).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e__namespace.number().min(MG0).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e__namespace.object({preferred_format:e__namespace.union([e__namespace.literal("vod_xml"),e__namespace.literal("vasco_xml"),e__namespace.literal("minimax_xml"),e__namespace.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e__namespace.object({receivables:e__namespace.string().max(_G0).nullish(),payables:e__namespace.string().max(hG0).nullish(),sales_vat_22:e__namespace.string().max(RG0).nullish(),sales_vat_95:e__namespace.string().max(UG0).nullish(),sales_vat_5:e__namespace.string().max(CG0).nullish(),purchase_vat_recoverable_22:e__namespace.string().max(PG0).nullish(),purchase_vat_recoverable_95:e__namespace.string().max(wG0).nullish(),purchase_vat_recoverable_5:e__namespace.string().max(FG0).nullish(),sales_revenue_22:e__namespace.string().max(AG0).nullish(),sales_revenue_95:e__namespace.string().max(kG0).nullish(),sales_revenue_5:e__namespace.string().max(jG0).nullish(),sales_revenue_exempt:e__namespace.string().max(LG0).nullish(),sales_revenue_eu_goods:e__namespace.string().max(HG0).nullish(),sales_revenue_eu_services:e__namespace.string().max(GG0).nullish(),sales_revenue_reverse_charge:e__namespace.string().max(KG0).nullish(),sales_revenue_third_country_goods:e__namespace.string().max(ZG0).nullish(),sales_revenue_third_country_services:e__namespace.string().max(VG0).nullish(),purchase_expense_22:e__namespace.string().max(qG0).nullish(),purchase_expense_95:e__namespace.string().max(WG0).nullish(),purchase_expense_5:e__namespace.string().max(YG0).nullish(),purchase_expense_exempt:e__namespace.string().max(JG0).nullish(),purchase_expense_eu_goods:e__namespace.string().max($G0).nullish(),purchase_expense_eu_services:e__namespace.string().max(QG0).nullish(),purchase_expense_reverse_charge:e__namespace.string().max(XG0).nullish(),purchase_expense_third_country_goods:e__namespace.string().max(e30).nullish(),purchase_expense_third_country_services:e__namespace.string().max(t30).nullish()}).and(e__namespace.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e__namespace.enum(["stored","registry","unknown"]),inferred_business_form:e__namespace.union([e__namespace.literal("sp"),e__namespace.literal("doo"),e__namespace.literal("dno"),e__namespace.literal("club"),e__namespace.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e__namespace.object({yearly_normirani:e__namespace.boolean(),vod_xml:e__namespace.boolean(),vasco_xml:e__namespace.boolean(),minimax_xml:e__namespace.boolean()}),unsupported_reason:e__namespace.string().nullable()}),gcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),n30=/^\d{2}\.\d{3}$/,s30=0,o30=0,i30=8,a30=8,r30=8,l30=8,d30=8,c30=8,u30=8,p30=8,m30=8,x30=8,g30=8,y30=8,O30=8,S30=8,v30=8,B30=8,T30=8,E30=8,b30=8,I30=8,f30=8,z30=8,D30=8,N30=8,M30=8,_30=8,ycy=e__namespace.object({business_form:e__namespace.union([e__namespace.literal("sp"),e__namespace.literal("doo"),e__namespace.literal("dno"),e__namespace.literal("club"),e__namespace.literal(null)]).nullish().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e__namespace.union([e__namespace.literal("normirani"),e__namespace.literal("dejanski"),e__namespace.literal(null)]).nullish().describe("Income tax regime used by the Slovenian entity."),vat_profile:e__namespace.union([e__namespace.literal("standard"),e__namespace.literal("special_vat_identified"),e__namespace.literal("non_vat_subject"),e__namespace.literal(null)]).nullish().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e__namespace.boolean().nullish(),tax_residency:e__namespace.union([e__namespace.literal("resident"),e__namespace.literal("non_resident"),e__namespace.literal(null)]).nullish().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e__namespace.object({activity_codes:e__namespace.array(e__namespace.string().regex(n30).describe("Slovenian SKD activity code used for yearly reporting.")).nullish(),registration_number:e__namespace.string().nullish(),accounting_type:e__namespace.union([e__namespace.literal("records"),e__namespace.literal("single_entry"),e__namespace.literal("double_entry"),e__namespace.literal(null)]).nullish().describe("Accounting or records mode used for the yearly filing."),normiranec_insurance_basis:e__namespace.union([e__namespace.literal("full_time_self_employed"),e__namespace.literal("other"),e__namespace.literal(null)]).nullish().describe("Insurance basis used to determine the applicable normirani rules."),default_withholding_tax_amount:e__namespace.number().min(s30).nullish().describe("Monetary amount in EUR."),default_foreign_tax_credit_amount:e__namespace.number().min(o30).nullish().describe("Monetary amount in EUR.")}).nullish(),accounting_exports:e__namespace.object({preferred_format:e__namespace.union([e__namespace.literal("vod_xml"),e__namespace.literal("vasco_xml"),e__namespace.literal("minimax_xml"),e__namespace.literal(null)]).nullish().describe("Stored preferred export format for Slovenian accounting handoff."),konto_mappings:e__namespace.object({receivables:e__namespace.string().max(i30).nullish(),payables:e__namespace.string().max(a30).nullish(),sales_vat_22:e__namespace.string().max(r30).nullish(),sales_vat_95:e__namespace.string().max(l30).nullish(),sales_vat_5:e__namespace.string().max(d30).nullish(),purchase_vat_recoverable_22:e__namespace.string().max(c30).nullish(),purchase_vat_recoverable_95:e__namespace.string().max(u30).nullish(),purchase_vat_recoverable_5:e__namespace.string().max(p30).nullish(),sales_revenue_22:e__namespace.string().max(m30).nullish(),sales_revenue_95:e__namespace.string().max(x30).nullish(),sales_revenue_5:e__namespace.string().max(g30).nullish(),sales_revenue_exempt:e__namespace.string().max(y30).nullish(),sales_revenue_eu_goods:e__namespace.string().max(O30).nullish(),sales_revenue_eu_services:e__namespace.string().max(S30).nullish(),sales_revenue_reverse_charge:e__namespace.string().max(v30).nullish(),sales_revenue_third_country_goods:e__namespace.string().max(B30).nullish(),sales_revenue_third_country_services:e__namespace.string().max(T30).nullish(),purchase_expense_22:e__namespace.string().max(E30).nullish(),purchase_expense_95:e__namespace.string().max(b30).nullish(),purchase_expense_5:e__namespace.string().max(I30).nullish(),purchase_expense_exempt:e__namespace.string().max(f30).nullish(),purchase_expense_eu_goods:e__namespace.string().max(z30).nullish(),purchase_expense_eu_services:e__namespace.string().max(D30).nullish(),purchase_expense_reverse_charge:e__namespace.string().max(N30).nullish(),purchase_expense_third_country_goods:e__namespace.string().max(M30).nullish(),purchase_expense_third_country_services:e__namespace.string().max(_30).nullish()}).nullish()}).nullish()}),h30=/^\d{2}\.\d{3}$/,R30=0,U30=0,C30=8,P30=8,w30=8,F30=8,A30=8,k30=8,j30=8,L30=8,H30=8,G30=8,K30=8,Z30=8,V30=8,q30=8,W30=8,Y30=8,J30=8,$30=8,Q30=8,X30=8,e40=8,t40=8,n40=8,s40=8,o40=8,i40=8,Ocy=e__namespace.object({business_form:e__namespace.union([e__namespace.literal("sp"),e__namespace.literal("doo"),e__namespace.literal("dno"),e__namespace.literal("club"),e__namespace.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e__namespace.union([e__namespace.literal("normirani"),e__namespace.literal("dejanski"),e__namespace.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e__namespace.union([e__namespace.literal("standard"),e__namespace.literal("special_vat_identified"),e__namespace.literal("non_vat_subject"),e__namespace.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e__namespace.boolean().optional(),tax_residency:e__namespace.union([e__namespace.literal("resident"),e__namespace.literal("non_resident"),e__namespace.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e__namespace.object({activity_codes:e__namespace.array(e__namespace.string().regex(h30).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e__namespace.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e__namespace.union([e__namespace.literal("records"),e__namespace.literal("single_entry"),e__namespace.literal("double_entry"),e__namespace.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e__namespace.union([e__namespace.literal("full_time_self_employed"),e__namespace.literal("other"),e__namespace.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e__namespace.number().min(R30).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e__namespace.number().min(U30).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e__namespace.object({preferred_format:e__namespace.union([e__namespace.literal("vod_xml"),e__namespace.literal("vasco_xml"),e__namespace.literal("minimax_xml"),e__namespace.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e__namespace.object({receivables:e__namespace.string().max(C30).nullish(),payables:e__namespace.string().max(P30).nullish(),sales_vat_22:e__namespace.string().max(w30).nullish(),sales_vat_95:e__namespace.string().max(F30).nullish(),sales_vat_5:e__namespace.string().max(A30).nullish(),purchase_vat_recoverable_22:e__namespace.string().max(k30).nullish(),purchase_vat_recoverable_95:e__namespace.string().max(j30).nullish(),purchase_vat_recoverable_5:e__namespace.string().max(L30).nullish(),sales_revenue_22:e__namespace.string().max(H30).nullish(),sales_revenue_95:e__namespace.string().max(G30).nullish(),sales_revenue_5:e__namespace.string().max(K30).nullish(),sales_revenue_exempt:e__namespace.string().max(Z30).nullish(),sales_revenue_eu_goods:e__namespace.string().max(V30).nullish(),sales_revenue_eu_services:e__namespace.string().max(q30).nullish(),sales_revenue_reverse_charge:e__namespace.string().max(W30).nullish(),sales_revenue_third_country_goods:e__namespace.string().max(Y30).nullish(),sales_revenue_third_country_services:e__namespace.string().max(J30).nullish(),purchase_expense_22:e__namespace.string().max($30).nullish(),purchase_expense_95:e__namespace.string().max(Q30).nullish(),purchase_expense_5:e__namespace.string().max(X30).nullish(),purchase_expense_exempt:e__namespace.string().max(e40).nullish(),purchase_expense_eu_goods:e__namespace.string().max(t40).nullish(),purchase_expense_eu_services:e__namespace.string().max(n40).nullish(),purchase_expense_reverse_charge:e__namespace.string().max(s40).nullish(),purchase_expense_third_country_goods:e__namespace.string().max(o40).nullish(),purchase_expense_third_country_services:e__namespace.string().max(i40).nullish()}).and(e__namespace.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e__namespace.enum(["stored","registry","unknown"]),inferred_business_form:e__namespace.union([e__namespace.literal("sp"),e__namespace.literal("doo"),e__namespace.literal("dno"),e__namespace.literal("club"),e__namespace.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e__namespace.object({yearly_normirani:e__namespace.boolean(),vod_xml:e__namespace.boolean(),vasco_xml:e__namespace.boolean(),minimax_xml:e__namespace.boolean()}),unsupported_reason:e__namespace.string().nullable()}),Scy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),a40=2025,r40=2100,vcy=e__namespace.object({year:e__namespace.number().min(a40).max(r40).describe("Tax year for the yearly Slovenia eDavki filing.")}),l40=2025,d40=2100,c40=/^\d{2}\.\d{3}$/,u40=0,p40=0,m40=8,x40=8,g40=8,y40=8,O40=8,S40=8,v40=8,B40=8,T40=8,E40=8,b40=8,I40=8,f40=8,z40=8,D40=8,N40=8,M40=8,_40=8,h40=8,R40=8,U40=8,C40=8,P40=8,w40=8,F40=8,A40=8,k40=0,j40=0,L40=0,H40=0,G40=0,Bcy=e__namespace.object({entity_id:e__namespace.string(),year:e__namespace.number().min(l40).max(d40).describe("Tax year for the yearly Slovenia eDavki filing."),filing_kind:e__namespace.enum(["regular_annual"]),profile:e__namespace.object({business_form:e__namespace.union([e__namespace.literal("sp"),e__namespace.literal("doo"),e__namespace.literal("dno"),e__namespace.literal("club"),e__namespace.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e__namespace.union([e__namespace.literal("normirani"),e__namespace.literal("dejanski"),e__namespace.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e__namespace.union([e__namespace.literal("standard"),e__namespace.literal("special_vat_identified"),e__namespace.literal("non_vat_subject"),e__namespace.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e__namespace.boolean().optional(),tax_residency:e__namespace.union([e__namespace.literal("resident"),e__namespace.literal("non_resident"),e__namespace.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e__namespace.object({activity_codes:e__namespace.array(e__namespace.string().regex(c40).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e__namespace.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e__namespace.union([e__namespace.literal("records"),e__namespace.literal("single_entry"),e__namespace.literal("double_entry"),e__namespace.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e__namespace.union([e__namespace.literal("full_time_self_employed"),e__namespace.literal("other"),e__namespace.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e__namespace.number().min(u40).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e__namespace.number().min(p40).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e__namespace.object({preferred_format:e__namespace.union([e__namespace.literal("vod_xml"),e__namespace.literal("vasco_xml"),e__namespace.literal("minimax_xml"),e__namespace.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e__namespace.object({receivables:e__namespace.string().max(m40).nullish(),payables:e__namespace.string().max(x40).nullish(),sales_vat_22:e__namespace.string().max(g40).nullish(),sales_vat_95:e__namespace.string().max(y40).nullish(),sales_vat_5:e__namespace.string().max(O40).nullish(),purchase_vat_recoverable_22:e__namespace.string().max(S40).nullish(),purchase_vat_recoverable_95:e__namespace.string().max(v40).nullish(),purchase_vat_recoverable_5:e__namespace.string().max(B40).nullish(),sales_revenue_22:e__namespace.string().max(T40).nullish(),sales_revenue_95:e__namespace.string().max(E40).nullish(),sales_revenue_5:e__namespace.string().max(b40).nullish(),sales_revenue_exempt:e__namespace.string().max(I40).nullish(),sales_revenue_eu_goods:e__namespace.string().max(f40).nullish(),sales_revenue_eu_services:e__namespace.string().max(z40).nullish(),sales_revenue_reverse_charge:e__namespace.string().max(D40).nullish(),sales_revenue_third_country_goods:e__namespace.string().max(N40).nullish(),sales_revenue_third_country_services:e__namespace.string().max(M40).nullish(),purchase_expense_22:e__namespace.string().max(_40).nullish(),purchase_expense_95:e__namespace.string().max(h40).nullish(),purchase_expense_5:e__namespace.string().max(R40).nullish(),purchase_expense_exempt:e__namespace.string().max(U40).nullish(),purchase_expense_eu_goods:e__namespace.string().max(C40).nullish(),purchase_expense_eu_services:e__namespace.string().max(P40).nullish(),purchase_expense_reverse_charge:e__namespace.string().max(w40).nullish(),purchase_expense_third_country_goods:e__namespace.string().max(F40).nullish(),purchase_expense_third_country_services:e__namespace.string().max(A40).nullish()}).and(e__namespace.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e__namespace.enum(["stored","registry","unknown"]),inferred_business_form:e__namespace.union([e__namespace.literal("sp"),e__namespace.literal("doo"),e__namespace.literal("dno"),e__namespace.literal("club"),e__namespace.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e__namespace.object({yearly_normirani:e__namespace.boolean(),vod_xml:e__namespace.boolean(),vasco_xml:e__namespace.boolean(),minimax_xml:e__namespace.boolean()}),unsupported_reason:e__namespace.string().nullable()}),auto_values:e__namespace.object({total_invoice_revenue:e__namespace.number(),total_credit_note_reduction:e__namespace.number(),computed_revenue:e__namespace.number(),adjusted_revenue:e__namespace.number(),normative_expense_rate:e__namespace.number(),normative_expenses:e__namespace.number(),tax_base:e__namespace.number(),income_tax_rate:e__namespace.number(),income_tax_amount:e__namespace.number(),advance_tax_amount:e__namespace.number(),monthly_installment_amount:e__namespace.number(),quarterly_installment_amount:e__namespace.number()}),manual_values:e__namespace.object({withholding_tax_amount:e__namespace.number().min(k40).describe("Monetary amount in EUR."),foreign_tax_credit_amount:e__namespace.number().min(j40).describe("Monetary amount in EUR."),prior_advance_income_tax_amount:e__namespace.number().min(L40).describe("Monetary amount in EUR."),revenue_adjustment_decrease:e__namespace.number().min(H40).describe("Monetary amount in EUR."),revenue_adjustment_increase:e__namespace.number().min(G40).describe("Monetary amount in EUR.")}),derived_flags:e__namespace.object({has_foreign_customers:e__namespace.boolean(),has_foreign_tax_numbers:e__namespace.boolean(),has_non_eur_documents:e__namespace.boolean()}),warnings:e__namespace.array(e__namespace.object({code:e__namespace.string(),message:e__namespace.string(),severity:e__namespace.enum(["info","warning"])})),issue_details:e__namespace.array(e__namespace.object({code:e__namespace.string(),title:e__namespace.string(),summary:e__namespace.string(),explanation:e__namespace.string(),action:e__namespace.string().nullable(),severity:e__namespace.enum(["info","warning"]),official_sources:e__namespace.array(e__namespace.object({label:e__namespace.string(),url:e__namespace.url(),issuer:e__namespace.enum(["FURS","PISRS"])})),affected_documents:e__namespace.array(e__namespace.object({id:e__namespace.string(),type:e__namespace.enum(["invoice","credit_note"]),number:e__namespace.string(),date:e__namespace.string(),customer_name:e__namespace.string().nullable(),customer_country_code:e__namespace.string().nullable(),customer_tax_number:e__namespace.string().nullable(),currency_code:e__namespace.string(),total:e__namespace.number(),total_converted:e__namespace.number().nullable(),reason:e__namespace.string(),document_path:e__namespace.string()}))})),rule_summary:e__namespace.object({normative_expense_rule:e__namespace.string(),income_tax_rule:e__namespace.string(),advance_rule:e__namespace.string()})}),Tcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),K40=2025,Z40=2100,V40=0,q40=0,W40=0,Y40=0,J40=0,Ecy=e__namespace.object({year:e__namespace.number().min(K40).max(Z40).describe("Tax year for the yearly Slovenia eDavki filing."),manual_values:e__namespace.object({withholding_tax_amount:e__namespace.number().min(V40).describe("Monetary amount in EUR."),foreign_tax_credit_amount:e__namespace.number().min(q40).describe("Monetary amount in EUR."),prior_advance_income_tax_amount:e__namespace.number().min(W40).describe("Monetary amount in EUR."),revenue_adjustment_decrease:e__namespace.number().min(Y40).describe("Monetary amount in EUR."),revenue_adjustment_increase:e__namespace.number().min(J40).describe("Monetary amount in EUR.")})}),bcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Icy=e__namespace.object({date_from:e__namespace.iso.date().describe("Inclusive document date in YYYY-MM-DD format."),date_to:e__namespace.iso.date().describe("Inclusive document date in YYYY-MM-DD format.")});var vt={};K(vt,{CreateTaxBody:()=>zcy,CreateTaxHeader:()=>fcy,DeleteTaxHeader:()=>kcy,DeleteTaxParams:()=>Acy,GetTaxesHeader:()=>Ncy,GetTaxesQueryParams:()=>Dcy,GetTaxesResponse:()=>Mcy,PermanentDeleteTaxHeader:()=>Kcy,PermanentDeleteTaxParams:()=>Gcy,ReplaceTaxBody:()=>wcy,ReplaceTaxHeader:()=>Pcy,ReplaceTaxParams:()=>Ccy,ReplaceTaxResponse:()=>Fcy,RestoreTaxHeader:()=>Lcy,RestoreTaxParams:()=>jcy,RestoreTaxResponse:()=>Hcy,UpdateTaxBody:()=>Rcy,UpdateTaxHeader:()=>hcy,UpdateTaxParams:()=>_cy,UpdateTaxResponse:()=>Ucy,createTaxBodyNameMax:()=>$40,createTaxBodyTaxRatesItemRateMax:()=>X40,createTaxBodyTaxRatesItemRateMin:()=>Q40,deleteTaxPathIdRegExp:()=>I10,getTaxesQueryLimitDefault:()=>e10,getTaxesQueryLimitMax:()=>t10,getTaxesResponseDataItemOneEntityIdMax:()=>a10,getTaxesResponseDataItemOneIdMax:()=>n10,getTaxesResponseDataItemOneNameMax:()=>s10,getTaxesResponseDataItemOneTaxRatesItemRateMax:()=>i10,getTaxesResponseDataItemOneTaxRatesItemRateMin:()=>o10,permanentDeleteTaxPathIdRegExp:()=>h10,replaceTaxBodyNameMax:()=>y10,replaceTaxBodyTaxRatesItemRateMax:()=>S10,replaceTaxBodyTaxRatesItemRateMin:()=>O10,replaceTaxPathIdRegExp:()=>g10,replaceTaxResponseOneEntityIdMax:()=>b10,replaceTaxResponseOneIdMax:()=>v10,replaceTaxResponseOneNameMax:()=>B10,replaceTaxResponseOneTaxRatesItemRateMax:()=>E10,replaceTaxResponseOneTaxRatesItemRateMin:()=>T10,restoreTaxPathIdRegExp:()=>f10,restoreTaxResponseOneEntityIdMax:()=>_10,restoreTaxResponseOneIdMax:()=>z10,restoreTaxResponseOneNameMax:()=>D10,restoreTaxResponseOneTaxRatesItemRateMax:()=>M10,restoreTaxResponseOneTaxRatesItemRateMin:()=>N10,updateTaxBodyTaxRatesItemRateMax:()=>d10,updateTaxBodyTaxRatesItemRateMin:()=>l10,updateTaxPathIdRegExp:()=>r10,updateTaxResponseOneEntityIdMax:()=>x10,updateTaxResponseOneIdMax:()=>c10,updateTaxResponseOneNameMax:()=>u10,updateTaxResponseOneTaxRatesItemRateMax:()=>m10,updateTaxResponseOneTaxRatesItemRateMin:()=>p10});var fcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),$40=100,Q40=0,X40=100,zcy=e__namespace.object({name:e__namespace.string().max($40).optional(),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(Q40).max(X40),valid_from:e__namespace.iso.datetime({}).nullish()})).min(1),is_default:e__namespace.boolean().optional().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),e10=10,t10=100,Dcy=e__namespace.object({limit:e__namespace.number().min(1).max(t10).default(e10).describe("Number of results per request."),next_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e__namespace.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance."),order_by:e__namespace.union([e__namespace.enum(["id","name","created_at","updated_at","-id","-name","-created_at","-updated_at"]),e__namespace.array(e__namespace.enum(["id","name","created_at","updated_at","-id","-name","-created_at","-updated_at"]))]).optional().describe("Sort by one field or provide a repeated array for multi-column ordering. Prefix a field with `-` for descending order. When paginating, reuse cursors only with the same effective ordering."),query:e__namespace.string().optional().describe('JSON query object for filtering results. Supports MongoDB-style operators.\n\n**Supported operators:**\n- `equals` or direct value - Exact match (default)\n- `gte` - Greater than or equal\n- `lte` - Less than or equal\n- `gt` - Greater than\n- `lt` - Less than\n- `in` - Value in array\n- `notIn` - Value not in array\n- `contains` - String contains (case-insensitive)\n- `startsWith` - String starts with\n- `endsWith` - String ends with\n- `between` - Value between two numbers/dates [min, max]\n\n**Allowed fields:** id, name, is_default, created_at, updated_at\n\n**Examples:**\n- `{"total": {"gte": 1000}}` - Invoices over 1000\n- `{"customer.name": {"contains": "Acme"}}` - Customer name contains "Acme"\n- `{"date": {"between": ["2025-01-01", "2025-12-31"]}}` - Date range'),search:e__namespace.string().optional().describe(`Full-text search query to filter results across multiple fields.
|
|
178
178
|
Searches are case-insensitive and match partial strings.
|
|
179
|
-
Searches across all text fields including names, descriptions, addresses, and metadata values.`),deleted:e__namespace.boolean().optional().describe("When true, returns only soft-deleted (trashed) items. Default false excludes deleted items.")}),Ncy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),n10=36,s10=100,o10=0,i10=100,a10=36,Mcy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(n10),name:e__namespace.string().max(s10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(o10).max(i10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(a10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking")),pagination:e__namespace.object({total:e__namespace.number().describe("Total number of items available in the collection"),next_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e__namespace.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),r10=/^[a-z]{3,4}_[0-9a-f]{24}$/,_cy=e__namespace.object({id:e__namespace.stringFormat("resource-id",r10).describe("Unique resource identifier")}),hcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),l10=0,d10=100,Rcy=e__namespace.object({tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(l10).max(d10),valid_from:e__namespace.iso.datetime({}).nullish()})).min(1),is_default:e__namespace.boolean().optional().describe("Set to true to make this the default tax (unsets other defaults)")}),c10=36,u10=100,p10=0,m10=100,x10=36,Ucy=e__namespace.object({id:e__namespace.string().max(c10),name:e__namespace.string().max(u10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(p10).max(m10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(x10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),g10=/^[a-z]{3,4}_[0-9a-f]{24}$/,Ccy=e__namespace.object({id:e__namespace.stringFormat("resource-id",g10).describe("Unique resource identifier")}),Pcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),y10=100,O10=0,S10=100,wcy=e__namespace.object({name:e__namespace.string().max(y10).optional(),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(O10).max(S10),valid_from:e__namespace.iso.datetime({}).nullish()})).min(1),is_default:e__namespace.boolean().optional().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),v10=36,B10=100,T10=0,E10=100,b10=36,Fcy=e__namespace.object({id:e__namespace.string().max(v10),name:e__namespace.string().max(B10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(T10).max(E10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(b10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),I10=/^[a-z]{3,4}_[0-9a-f]{24}$/,Acy=e__namespace.object({id:e__namespace.stringFormat("resource-id",I10).describe("Unique resource identifier")}),kcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),f10=/^[a-z]{3,4}_[0-9a-f]{24}$/,jcy=e__namespace.object({id:e__namespace.stringFormat("resource-id",f10).describe("Unique resource identifier")}),Lcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),z10=36,D10=100,N10=0,M10=100,_10=36,Hcy=e__namespace.object({id:e__namespace.string().max(z10),name:e__namespace.string().max(D10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(N10).max(M10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(_10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),h10=/^[a-z]{3,4}_[0-9a-f]{24}$/,Gcy=e__namespace.object({id:e__namespace.stringFormat("resource-id",h10).describe("Unique resource identifier")}),Kcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")});var Bt={};K(Bt,{CheckTransactionTypeBody:()=>Zcy,CheckTransactionTypeResponse:()=>Vcy,checkTransactionTypeBodyCustomerCountryCodeMax:()=>w10,checkTransactionTypeBodyCustomerCountryCodeMin:()=>P10,checkTransactionTypeBodyIssuerCountryCodeMax:()=>U10,checkTransactionTypeBodyIssuerCountryCodeMin:()=>R10,checkTransactionTypeBodyIssuerIsTaxSubjectDefault:()=>C10,checkTransactionTypeResponseCustomerCountryCodeMax:()=>j10,checkTransactionTypeResponseCustomerCountryCodeMin:()=>k10,checkTransactionTypeResponseIssuerCountryCodeMax:()=>A10,checkTransactionTypeResponseIssuerCountryCodeMin:()=>F10});var R10=2,U10=2,C10=true,P10=2,w10=2,Zcy=e__namespace.object({issuer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland', 'Slovenija'). Automatically resolved to country_code."),country_code:e__namespace.string().min(R10).max(U10).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),is_tax_subject:e__namespace.boolean().default(C10).describe("Whether the issuer is a tax subject. Set false for small businesses or tax-exempt organizations.")}).describe("Issuer (seller) information"),customer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland'). Automatically resolved to country_code."),country_code:e__namespace.string().min(P10).max(w10).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),tax_number:e__namespace.string().optional().describe("Customer tax number (with or without country prefix)"),is_end_consumer:e__namespace.boolean().optional().describe("Whether the customer is an end consumer (B2C override). When true, forces B2C classification for non-EU transactions even if customer has a tax number. For intra-EU, VIES validation takes precedence.")}).describe("Customer (buyer) information")}),F10=2,A10=2,k10=2,j10=2,Vcy=e__namespace.object({transaction_type:e__namespace.union([e__namespace.literal("domestic"),e__namespace.literal("intra_eu_b2b"),e__namespace.literal("intra_eu_b2c"),e__namespace.literal("3w_b2b"),e__namespace.literal("3w_b2c"),e__namespace.literal(null)]).nullable().describe("Determined transaction type based on geography and tax status. 3w_b2b/3w_b2c = third-world (non-EU) B2B/B2C."),reverse_charge_applies:e__namespace.boolean().describe("Whether reverse charge should be applied (0% tax with reverse charge note)"),issuer_country_code:e__namespace.string().min(F10).max(A10).nullable().describe("Resolved issuer country code"),customer_country_code:e__namespace.string().min(k10).max(j10).nullable().describe("Resolved customer country code"),vies_valid:e__namespace.boolean().nullable().describe("VIES validation result (true if tax number is valid, null if not checked)"),warning:e__namespace.string().nullable().describe("Warning message if VIES validation was unavailable or tax number was invalid"),is_tax_subject:e__namespace.boolean().optional().describe("False when issuer is not a tax subject (transaction treated as B2C)")});var Tt={};K(Tt,{DownloadUjpPackageHeader:()=>Wcy,DownloadUjpPackageParams:()=>qcy});var qcy=e__namespace.object({id:e__namespace.string().describe("Document ID. The document type is detected from the ID prefix.")}),Wcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")});var Et={};K(Et,{UploadImageBody:()=>Jcy,UploadImageHeader:()=>Ycy,UploadImageResponse:()=>$cy});var Ycy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Jcy=e__namespace.object({file:e__namespace.custom(d=>typeof File<"u"&&d instanceof File,"Input not instance of File").describe("Image file to upload (PNG, JPG, WEBP, GIF)")}),$cy=e__namespace.object({url:e__namespace.url().describe("Public URL of the uploaded image"),secure_url:e__namespace.url().optional().describe("Secure HTTPS URL of the uploaded image"),public_id:e__namespace.string().optional().describe("Storage object key for future reference/deletion"),secureUrl:e__namespace.url().describe("Deprecated compatibility alias for secure_url. Use secure_url for new integrations."),publicId:e__namespace.string().describe("Deprecated compatibility alias for public_id. Use public_id for new integrations."),format:e__namespace.string().describe("Image format (jpg, png, webp, etc.)"),width:e__namespace.number().describe("Image width in pixels"),height:e__namespace.number().describe("Image height in pixels"),bytes:e__namespace.number().describe("File size in bytes"),entity_id:e__namespace.string().describe("Entity ID that the image belongs to")});var bt={};K(bt,{ConfirmPasswordResetBody:()=>suy,ConfirmPasswordResetResponse:()=>ouy,GetMeResponse:()=>auy,ListMyAccountsResponse:()=>iuy,LoginBody:()=>Qcy,LoginResponse:()=>Xcy,PatchMeBody:()=>ruy,PatchMeResponse:()=>luy,RequestPasswordResetBody:()=>tuy,RequestPasswordResetResponse:()=>nuy,SignupBody:()=>euy,UpdateUserFinaSettingsBody:()=>muy,UpdateUserFinaSettingsHeader:()=>puy,UpdateUserFinaSettingsResponse:()=>xuy,UpdateUserFursSettingsBody:()=>cuy,UpdateUserFursSettingsHeader:()=>duy,UpdateUserFursSettingsResponse:()=>uuy,UpdateUserPtSettingsBody:()=>yuy,UpdateUserPtSettingsHeader:()=>guy,UpdateUserPtSettingsResponse:()=>Ouy,confirmPasswordResetBodyPasswordMin:()=>X10,confirmPasswordResetBodyPasswordRegExp:()=>eK0,getMeResponseAccountIdMax:()=>oK0,getMeResponseEmailMax:()=>nK0,getMeResponseIdMax:()=>tK0,getMeResponseNameMax:()=>sK0,loginResponseOneIdMax:()=>L10,loginResponseOneImpersonatorUserIdMax:()=>Z10,loginResponseOneScopeMax:()=>K10,loginResponseOneTtlDefault:()=>G10,loginResponseOneUserIdMax:()=>H10,loginResponseTwoUserAccountIdMax:()=>Y10,loginResponseTwoUserEmailMax:()=>q10,loginResponseTwoUserIdMax:()=>V10,loginResponseTwoUserNameMax:()=>W10,patchMeBodyNameMin:()=>iK0,patchMeResponseAccountIdMax:()=>dK0,patchMeResponseEmailMax:()=>rK0,patchMeResponseIdMax:()=>aK0,patchMeResponseNameMax:()=>lK0,signupBodyNameMin:()=>J10,signupBodyPasswordMin:()=>$10,signupBodyPasswordRegExp:()=>Q10,updateUserFinaSettingsResponseAccountIdMax:()=>OK0,updateUserFinaSettingsResponseEmailMax:()=>gK0,updateUserFinaSettingsResponseIdMax:()=>xK0,updateUserFinaSettingsResponseNameMax:()=>yK0,updateUserFursSettingsResponseAccountIdMax:()=>mK0,updateUserFursSettingsResponseEmailMax:()=>uK0,updateUserFursSettingsResponseIdMax:()=>cK0,updateUserFursSettingsResponseNameMax:()=>pK0,updateUserPtSettingsResponseAccountIdMax:()=>TK0,updateUserPtSettingsResponseEmailMax:()=>vK0,updateUserPtSettingsResponseIdMax:()=>SK0,updateUserPtSettingsResponseNameMax:()=>BK0});var Qcy=e__namespace.object({email:e__namespace.email(),password:e__namespace.string()}),L10=100,H10=36,G10=31536e3,K10=50,Z10=36,V10=36,q10=255,W10=255,Y10=36,Xcy=e__namespace.object({id:e__namespace.string().max(L10),user_id:e__namespace.string().max(H10),ttl:e__namespace.number().default(G10).describe("Token time-to-live in seconds"),scope:e__namespace.string().max(K10).nullish(),created_at:e__namespace.iso.datetime({}),impersonator_user_id:e__namespace.string().max(Z10).nullish(),updated_at:e__namespace.iso.datetime({})}).describe("Access token for authentication").and(e__namespace.object({user:e__namespace.object({id:e__namespace.string().max(V10),email:e__namespace.string().max(q10),name:e__namespace.string().max(W10).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(Y10).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),redirect_origin:e__namespace.string().nullish()})).describe("Access token for authentication"),J10=2,$10=8,Q10=/[a-z]/,euy=e__namespace.object({email:e__namespace.email(),name:e__namespace.string().min(J10).nullish(),password:e__namespace.string().min($10).regex(Q10),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]).optional(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),company_name:e__namespace.string().min(1).optional(),account_invitation_token:e__namespace.string().min(1).optional()}),tuy=e__namespace.object({email:e__namespace.email()}),nuy=e__namespace.object({message:e__namespace.string()}),X10=8,eK0=/[a-z]/,suy=e__namespace.object({token:e__namespace.string().min(1),password:e__namespace.string().min(X10).regex(eK0)}),ouy=e__namespace.object({message:e__namespace.string()}),iuy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string(),name:e__namespace.string(),role:e__namespace.enum(["owner","admin","member"])}))}),tK0=36,nK0=255,sK0=255,oK0=36,auy=e__namespace.object({id:e__namespace.string().max(tK0),email:e__namespace.string().max(nK0),name:e__namespace.string().max(sK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(oK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),iK0=2,ruy=e__namespace.object({name:e__namespace.string().min(iK0).nullish().describe("User display name"),locale:e__namespace.union([e__namespace.literal("en"),e__namespace.literal("de"),e__namespace.literal("sl"),e__namespace.literal("it"),e__namespace.literal("fr"),e__namespace.literal("es"),e__namespace.literal("pt"),e__namespace.literal("nl"),e__namespace.literal("pl"),e__namespace.literal("hr"),e__namespace.literal("sv"),e__namespace.literal("fi"),e__namespace.literal("et"),e__namespace.literal("bg"),e__namespace.literal("cs"),e__namespace.literal("sk"),e__namespace.literal("nb"),e__namespace.literal("is"),e__namespace.literal(null)]).nullish().describe("Preferred UI language. When omitted or null, the current preference is left unchanged.")}),aK0=36,rK0=255,lK0=255,dK0=36,luy=e__namespace.object({id:e__namespace.string().max(aK0),email:e__namespace.string().max(rK0),name:e__namespace.string().max(lK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(dK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),duy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),cuy=e__namespace.object({operator_tax_number:e__namespace.string().optional().describe("Operator tax number for FURS fiscalization"),operator_label:e__namespace.string().optional().describe("Operator label/name for FURS fiscalization")}).describe("Update user FURS operator settings for a specific entity"),cK0=36,uK0=255,pK0=255,mK0=36,uuy=e__namespace.object({id:e__namespace.string().max(cK0),email:e__namespace.string().max(uK0),name:e__namespace.string().max(pK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(mK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),puy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),muy=e__namespace.object({operator_oib:e__namespace.string().optional().describe("Operator OIB for FINA fiscalization"),operator_label:e__namespace.string().optional().describe("Operator label/name for FINA fiscalization")}).describe("Update user FINA operator settings for a specific entity"),xK0=36,gK0=255,yK0=255,OK0=36,xuy=e__namespace.object({id:e__namespace.string().max(xK0),email:e__namespace.string().max(gK0),name:e__namespace.string().max(yK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(OK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),guy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),yuy=e__namespace.object({operator_first_name:e__namespace.string().optional().describe("PT operator first name"),operator_last_name:e__namespace.string().optional().describe("PT operator last name"),operator_tax_number:e__namespace.string().optional().describe("PT operator tax number"),account_first_name:e__namespace.string().optional().describe("Deprecated alias for PT operator first name"),account_last_name:e__namespace.string().optional().describe("Deprecated alias for PT operator last name"),account_tax_number:e__namespace.string().optional().describe("Deprecated alias for PT operator tax number")}).describe("Update user PT operator settings for a specific entity"),SK0=36,vK0=255,BK0=255,TK0=36,Ouy=e__namespace.object({id:e__namespace.string().max(SK0),email:e__namespace.string().max(vK0),name:e__namespace.string().max(BK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(TK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})});var It={};K(It,{CheckViesBody:()=>Suy,CheckViesResponse:()=>vuy,checkViesBodyCustomerCountryCodeMax:()=>zK0,checkViesBodyCustomerCountryCodeMin:()=>fK0,checkViesBodyIssuerCountryCodeMax:()=>bK0,checkViesBodyIssuerCountryCodeMin:()=>EK0,checkViesBodyIssuerIsTaxSubjectDefault:()=>IK0,checkViesResponseCustomerCountryCodeMax:()=>_K0,checkViesResponseCustomerCountryCodeMin:()=>MK0,checkViesResponseIssuerCountryCodeMax:()=>NK0,checkViesResponseIssuerCountryCodeMin:()=>DK0});var EK0=2,bK0=2,IK0=true,fK0=2,zK0=2,Suy=e__namespace.object({issuer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland', 'Slovenija'). Automatically resolved to country_code."),country_code:e__namespace.string().min(EK0).max(bK0).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),is_tax_subject:e__namespace.boolean().default(IK0).describe("Whether the issuer is a tax subject. Set false for small businesses or tax-exempt organizations.")}).describe("Issuer (seller) information"),customer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland'). Automatically resolved to country_code."),country_code:e__namespace.string().min(fK0).max(zK0).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),tax_number:e__namespace.string().optional().describe("Customer tax number (with or without country prefix)"),is_end_consumer:e__namespace.boolean().optional().describe("Whether the customer is an end consumer (B2C override). When true, forces B2C classification for non-EU transactions even if customer has a tax number. For intra-EU, VIES validation takes precedence.")}).describe("Customer (buyer) information")}),DK0=2,NK0=2,MK0=2,_K0=2,vuy=e__namespace.object({transaction_type:e__namespace.union([e__namespace.literal("domestic"),e__namespace.literal("intra_eu_b2b"),e__namespace.literal("intra_eu_b2c"),e__namespace.literal("3w_b2b"),e__namespace.literal("3w_b2c"),e__namespace.literal(null)]).nullable().describe("Determined transaction type based on geography and tax status. 3w_b2b/3w_b2c = third-world (non-EU) B2B/B2C."),reverse_charge_applies:e__namespace.boolean().describe("Whether reverse charge should be applied (0% tax with reverse charge note)"),issuer_country_code:e__namespace.string().min(DK0).max(NK0).nullable().describe("Resolved issuer country code"),customer_country_code:e__namespace.string().min(MK0).max(_K0).nullable().describe("Resolved customer country code"),vies_valid:e__namespace.boolean().nullable().describe("VIES validation result (true if tax number is valid, null if not checked)"),warning:e__namespace.string().nullable().describe("Warning message if VIES validation was unavailable or tax number was invalid"),is_tax_subject:e__namespace.boolean().optional().describe("False when issuer is not a tax subject (transaction treated as B2C)")});var ft={};K(ft,{CreateWebhookBody:()=>Tuy,CreateWebhookHeader:()=>Buy,DeleteWebhookHeader:()=>Uuy,DeleteWebhookParams:()=>Ruy,DeleteWebhookResponse:()=>Cuy,GetWebhookByIdHeader:()=>zuy,GetWebhookByIdParams:()=>fuy,GetWebhookByIdResponse:()=>Duy,GetWebhookDeliveriesHeader:()=>juy,GetWebhookDeliveriesParams:()=>Auy,GetWebhookDeliveriesQueryParams:()=>kuy,GetWebhookDeliveriesResponse:()=>Luy,GetWebhooksHeader:()=>buy,GetWebhooksQueryParams:()=>Euy,GetWebhooksResponse:()=>Iuy,RotateWebhookSecretHeader:()=>Guy,RotateWebhookSecretParams:()=>Huy,RotateWebhookSecretResponse:()=>Kuy,TestWebhookHeader:()=>wuy,TestWebhookParams:()=>Puy,TestWebhookResponse:()=>Fuy,UpdateWebhookBody:()=>_uy,UpdateWebhookHeader:()=>Muy,UpdateWebhookParams:()=>Nuy,UpdateWebhookResponse:()=>huy,createWebhookBodyActiveDefault:()=>UK0,createWebhookBodyDescriptionMax:()=>RK0,createWebhookBodyUrlMax:()=>hK0,deleteWebhookPathIdRegExp:()=>tZ0,getWebhookByIdPathIdRegExp:()=>LK0,getWebhookByIdResponseDescriptionMax:()=>ZK0,getWebhookByIdResponseEntityIdMax:()=>GK0,getWebhookByIdResponseIdMax:()=>HK0,getWebhookByIdResponseMetadataDefault:()=>VK0,getWebhookByIdResponseUrlMax:()=>KK0,getWebhookDeliveriesPathIdRegExp:()=>OZ0,getWebhookDeliveriesQueryLimitDefault:()=>SZ0,getWebhookDeliveriesQueryLimitMax:()=>vZ0,getWebhookDeliveriesResponseDataItemAttemptMax:()=>MZ0,getWebhookDeliveriesResponseDataItemAttemptMin:()=>NZ0,getWebhookDeliveriesResponseDataItemDurationMsMax:()=>UZ0,getWebhookDeliveriesResponseDataItemDurationMsMin:()=>RZ0,getWebhookDeliveriesResponseDataItemEntityIdMax:()=>EZ0,getWebhookDeliveriesResponseDataItemErrorMessageMax:()=>DZ0,getWebhookDeliveriesResponseDataItemEventTypeMax:()=>bZ0,getWebhookDeliveriesResponseDataItemIdMax:()=>BZ0,getWebhookDeliveriesResponseDataItemMaxAttemptsMax:()=>hZ0,getWebhookDeliveriesResponseDataItemMaxAttemptsMin:()=>_Z0,getWebhookDeliveriesResponseDataItemResponseBodyMax:()=>zZ0,getWebhookDeliveriesResponseDataItemResponseStatusMax:()=>fZ0,getWebhookDeliveriesResponseDataItemResponseStatusMin:()=>IZ0,getWebhookDeliveriesResponseDataItemWebhookIdMax:()=>TZ0,getWebhooksQueryLimitDefault:()=>CK0,getWebhooksQueryLimitMax:()=>PK0,getWebhooksResponseDataItemDescriptionMax:()=>kK0,getWebhooksResponseDataItemEntityIdMax:()=>FK0,getWebhooksResponseDataItemIdMax:()=>wK0,getWebhooksResponseDataItemMetadataDefault:()=>jK0,getWebhooksResponseDataItemUrlMax:()=>AK0,rotateWebhookSecretPathIdRegExp:()=>CZ0,rotateWebhookSecretResponseDescriptionMax:()=>AZ0,rotateWebhookSecretResponseEntityIdMax:()=>wZ0,rotateWebhookSecretResponseIdMax:()=>PZ0,rotateWebhookSecretResponseMetadataDefault:()=>jZ0,rotateWebhookSecretResponseSecretMax:()=>kZ0,rotateWebhookSecretResponseUrlMax:()=>FZ0,testWebhookPathIdRegExp:()=>nZ0,testWebhookResponseAttemptMax:()=>pZ0,testWebhookResponseAttemptMin:()=>uZ0,testWebhookResponseDurationMsMax:()=>yZ0,testWebhookResponseDurationMsMin:()=>gZ0,testWebhookResponseEntityIdMax:()=>iZ0,testWebhookResponseErrorMessageMax:()=>cZ0,testWebhookResponseEventTypeMax:()=>aZ0,testWebhookResponseIdMax:()=>sZ0,testWebhookResponseMaxAttemptsMax:()=>xZ0,testWebhookResponseMaxAttemptsMin:()=>mZ0,testWebhookResponseResponseBodyMax:()=>dZ0,testWebhookResponseResponseStatusMax:()=>lZ0,testWebhookResponseResponseStatusMin:()=>rZ0,testWebhookResponseWebhookIdMax:()=>oZ0,updateWebhookBodyDescriptionMax:()=>YK0,updateWebhookBodyUrlMax:()=>WK0,updateWebhookPathIdRegExp:()=>qK0,updateWebhookResponseDescriptionMax:()=>XK0,updateWebhookResponseEntityIdMax:()=>$K0,updateWebhookResponseIdMax:()=>JK0,updateWebhookResponseMetadataDefault:()=>eZ0,updateWebhookResponseUrlMax:()=>QK0});var Buy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),hK0=2048,RK0=500,UK0=true,Tuy=e__namespace.object({url:e__namespace.url().max(hK0).describe("The HTTPS URL to send webhook events to. Cannot target localhost, private IPs, or internal domains."),description:e__namespace.string().max(RK0).optional().describe("Optional description for this webhook"),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])).min(1).describe("Events that trigger this webhook"),active:e__namespace.boolean().default(UK0).describe("Whether webhook is active"),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),CK0=10,PK0=100,Euy=e__namespace.object({limit:e__namespace.number().min(1).max(PK0).default(CK0).describe("Number of results per request."),next_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e__namespace.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance.")}),buy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),wK0=36,FK0=36,AK0=2048,kK0=500,jK0={},Iuy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(wK0),entity_id:e__namespace.string().max(FK0),url:e__namespace.string().max(AK0),description:e__namespace.string().max(kK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(jK0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({}),secret:e__namespace.string().describe("Masked secret (only shown on create and rotate)")}).describe("Webhook endpoint (secret masked)")),pagination:e__namespace.object({total:e__namespace.number().describe("Total number of items available in the collection"),next_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e__namespace.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),LK0=/^[a-z]{3,4}_[0-9a-f]{24}$/,fuy=e__namespace.object({id:e__namespace.stringFormat("resource-id",LK0).describe("Unique resource identifier")}),zuy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),HK0=36,GK0=36,KK0=2048,ZK0=500,VK0={},Duy=e__namespace.object({id:e__namespace.string().max(HK0),entity_id:e__namespace.string().max(GK0),url:e__namespace.string().max(KK0),description:e__namespace.string().max(ZK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(VK0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({}),secret:e__namespace.string().describe("Masked secret (only shown on create and rotate)")}).describe("Webhook endpoint (secret masked)"),qK0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Nuy=e__namespace.object({id:e__namespace.stringFormat("resource-id",qK0).describe("Unique resource identifier")}),Muy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),WK0=2048,YK0=500,_uy=e__namespace.object({url:e__namespace.url().max(WK0).optional().describe("The HTTPS URL to send webhook events to. Cannot target localhost, private IPs, or internal domains."),description:e__namespace.string().max(YK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])).min(1).optional(),active:e__namespace.boolean().optional(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),JK0=36,$K0=36,QK0=2048,XK0=500,eZ0={},huy=e__namespace.object({id:e__namespace.string().max(JK0),entity_id:e__namespace.string().max($K0),url:e__namespace.string().max(QK0),description:e__namespace.string().max(XK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(eZ0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({}),secret:e__namespace.string().describe("Masked secret (only shown on create and rotate)")}).describe("Webhook endpoint (secret masked)"),tZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Ruy=e__namespace.object({id:e__namespace.stringFormat("resource-id",tZ0).describe("Unique resource identifier")}),Uuy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Cuy=e__namespace.object({success:e__namespace.boolean()}),nZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Puy=e__namespace.object({id:e__namespace.stringFormat("resource-id",nZ0).describe("Unique resource identifier")}),wuy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),sZ0=36,oZ0=36,iZ0=36,aZ0=100,rZ0=-2147483648,lZ0=2147483647,dZ0=1e4,cZ0=2e3,uZ0=-2147483648,pZ0=2147483647,mZ0=-2147483648,xZ0=2147483647,gZ0=-2147483648,yZ0=2147483647,Fuy=e__namespace.object({id:e__namespace.string().max(sZ0),webhook_id:e__namespace.string().max(oZ0),entity_id:e__namespace.string().max(iZ0),event_type:e__namespace.string().max(aZ0),status:e__namespace.enum(["pending","success","failed"]),request_body:e__namespace.record(e__namespace.string(),e__namespace.unknown()),response_status:e__namespace.number().min(rZ0).max(lZ0).nullish(),response_body:e__namespace.string().max(dZ0).nullish(),error_message:e__namespace.string().max(cZ0).nullish(),attempt:e__namespace.number().min(uZ0).max(pZ0),max_attempts:e__namespace.number().min(mZ0).max(xZ0),next_retry_at:e__namespace.iso.datetime({}).nullish(),duration_ms:e__namespace.number().min(gZ0).max(yZ0).nullish(),created_at:e__namespace.iso.datetime({}),completed_at:e__namespace.iso.datetime({}).nullish()}).describe("Webhook delivery attempt record"),OZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Auy=e__namespace.object({id:e__namespace.stringFormat("resource-id",OZ0).describe("Unique resource identifier")}),SZ0=10,vZ0=100,kuy=e__namespace.object({limit:e__namespace.number().min(1).max(vZ0).default(SZ0).describe("Number of results per request."),next_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e__namespace.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance.")}),juy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),BZ0=36,TZ0=36,EZ0=36,bZ0=100,IZ0=-2147483648,fZ0=2147483647,zZ0=1e4,DZ0=2e3,NZ0=-2147483648,MZ0=2147483647,_Z0=-2147483648,hZ0=2147483647,RZ0=-2147483648,UZ0=2147483647,Luy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(BZ0),webhook_id:e__namespace.string().max(TZ0),entity_id:e__namespace.string().max(EZ0),event_type:e__namespace.string().max(bZ0),status:e__namespace.enum(["pending","success","failed"]),request_body:e__namespace.record(e__namespace.string(),e__namespace.unknown()),response_status:e__namespace.number().min(IZ0).max(fZ0).nullish(),response_body:e__namespace.string().max(zZ0).nullish(),error_message:e__namespace.string().max(DZ0).nullish(),attempt:e__namespace.number().min(NZ0).max(MZ0),max_attempts:e__namespace.number().min(_Z0).max(hZ0),next_retry_at:e__namespace.iso.datetime({}).nullish(),duration_ms:e__namespace.number().min(RZ0).max(UZ0).nullish(),created_at:e__namespace.iso.datetime({}),completed_at:e__namespace.iso.datetime({}).nullish()}).describe("Webhook delivery attempt record")),pagination:e__namespace.object({total:e__namespace.number().describe("Total number of items available in the collection"),next_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e__namespace.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),CZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Huy=e__namespace.object({id:e__namespace.stringFormat("resource-id",CZ0).describe("Unique resource identifier")}),Guy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),PZ0=36,wZ0=36,FZ0=2048,AZ0=500,kZ0=64,jZ0={},Kuy=e__namespace.object({id:e__namespace.string().max(PZ0),entity_id:e__namespace.string().max(wZ0),url:e__namespace.string().max(FZ0),description:e__namespace.string().max(AZ0).nullish(),secret:e__namespace.string().max(kZ0),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(jZ0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Webhook endpoint with full secret visible");var zt={};K(zt,{CheckWLFeatureParams:()=>quy,CheckWLFeatureResponse:()=>Wuy,CheckWLLimitParams:()=>Yuy,CheckWLLimitResponse:()=>Juy,GetCurrentWLSubscriptionResponse:()=>Zuy,GetWLSubscriptionPlansResponse:()=>Vuy,UpdateWLSubscriptionBillingEmailBody:()=>$uy,UpdateWLSubscriptionBillingEmailResponse:()=>Quy,getCurrentWLSubscriptionResponseUsageEInvoicingSendCountDefault:()=>LZ0,getCurrentWLSubscriptionResponseUsageEInvoicingSendsIncludedDefault:()=>HZ0});var LZ0=0,HZ0=null,Zuy=e__namespace.object({plan:e__namespace.object({id:e__namespace.string().describe("Unique plan ID"),slug:e__namespace.string().describe("Plan slug"),name:e__namespace.string().describe("Display name"),billing_interval:e__namespace.string().nullable().describe('Billing interval: "monthly", "yearly", or null for free plans'),base_price_cents:e__namespace.number().nullable().describe("Price in cents. Null for free plans."),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for this plan in the current billing profile."),limits:e__namespace.union([e__namespace.object({documents_per_month:e__namespace.number().nullable().describe("Maximum documents per month (backward compat). Null means unlimited."),invoices_per_month:e__namespace.number().nullable().describe("Maximum invoices per month. Null means unlimited."),overage_price_cents:e__namespace.number().nullable().describe("Overage price in cents per document. Null means hard block."),annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly plan price in cents. Null uses twelve monthly payments with a 20% yearly discount."),included_store_count:e__namespace.number().nullable().describe("Number of connected stores included in the base plan."),extra_store_price_cents:e__namespace.number().nullable().describe("Monthly price in cents for each additional connected store."),extra_store_annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly price in cents for each additional connected store. Null uses twelve monthly payments with a 20% yearly discount."),extra_store_invoices_per_month:e__namespace.number().nullable().describe("Pooled invoice allowance added by each additional store."),e_invoicing_sends_included:e__namespace.number().nullable().describe("Peppol sends included per month. Null means the plan does not configure Peppol metering."),e_invoicing_send_price_cents:e__namespace.number().nullable().describe("Overage price in cents per successful live Peppol send.")}),e__namespace.null()]),features:e__namespace.array(e__namespace.string()).describe("List of features included. Empty array means all features."),is_free:e__namespace.boolean().describe("Whether this is a free plan"),display_order:e__namespace.number().describe("Display order for sorting")}).describe("A subscription plan for a white-label product"),status:e__namespace.string().describe("Subscription status"),billing_interval:e__namespace.string().nullable().describe("Current billing interval"),current_period_start:e__namespace.string().describe("Current period start date (ISO 8601)"),current_period_end:e__namespace.string().describe("Current period end date (ISO 8601)"),payment_provider:e__namespace.enum(["stripe","paypal","bank","braintree"]).describe("Billing provider used for this subscription"),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for subscription billing."),billing_profile:e__namespace.enum(["default","us_company"]).describe("Resolved billing profile for this subscription."),allowed_payment_providers:e__namespace.array(e__namespace.enum(["stripe","paypal","bank"])).describe("Payment providers allowed for the resolved billing profile."),stripe_publishable_key_kind:e__namespace.enum(["default","us_company"]).describe("Frontend-safe selector for which Stripe publishable key to use."),bank_reference:e__namespace.string().nullable().describe("Stable bank-transfer payment reference for Apollo subscriptions"),billing_email:e__namespace.string().nullable().describe("Billing email used for subscription notifications and invoices"),coupon_code:e__namespace.string().nullable().describe('Applied saved coupon code for the base plan price, e.g. "COUPON_50".'),trial_ends_at:e__namespace.string().nullable().describe("Trial end date (ISO 8601). Null if not on trial."),trial_days_remaining:e__namespace.number().nullable().describe("Days remaining in trial. Null if not on trial."),trial_started_now:e__namespace.boolean().describe("True only when this request created the trial subscription."),cancel_at:e__namespace.string().nullable().describe("Scheduled cancellation date (ISO 8601). Null if not scheduled."),scheduled_change:e__namespace.object({plan:e__namespace.object({id:e__namespace.string().describe("Unique plan ID"),slug:e__namespace.string().describe("Plan slug"),name:e__namespace.string().describe("Display name"),billing_interval:e__namespace.string().nullable().describe('Billing interval: "monthly", "yearly", or null for free plans'),base_price_cents:e__namespace.number().nullable().describe("Price in cents. Null for free plans."),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for this plan in the current billing profile."),limits:e__namespace.union([e__namespace.object({documents_per_month:e__namespace.number().nullable().describe("Maximum documents per month (backward compat). Null means unlimited."),invoices_per_month:e__namespace.number().nullable().describe("Maximum invoices per month. Null means unlimited."),overage_price_cents:e__namespace.number().nullable().describe("Overage price in cents per document. Null means hard block."),annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly plan price in cents. Null uses twelve monthly payments with a 20% yearly discount."),included_store_count:e__namespace.number().nullable().describe("Number of connected stores included in the base plan."),extra_store_price_cents:e__namespace.number().nullable().describe("Monthly price in cents for each additional connected store."),extra_store_annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly price in cents for each additional connected store. Null uses twelve monthly payments with a 20% yearly discount."),extra_store_invoices_per_month:e__namespace.number().nullable().describe("Pooled invoice allowance added by each additional store."),e_invoicing_sends_included:e__namespace.number().nullable().describe("Peppol sends included per month. Null means the plan does not configure Peppol metering."),e_invoicing_send_price_cents:e__namespace.number().nullable().describe("Overage price in cents per successful live Peppol send.")}),e__namespace.null()]),features:e__namespace.array(e__namespace.string()).describe("List of features included. Empty array means all features."),is_free:e__namespace.boolean().describe("Whether this is a free plan"),display_order:e__namespace.number().describe("Display order for sorting")}).describe("A subscription plan for a white-label product"),billing_interval:e__namespace.string().nullable().describe("Scheduled billing interval once the change takes effect"),effective_at:e__namespace.string().describe("When the scheduled change takes effect (ISO 8601)")}).nullable(),payment_method:e__namespace.object({last4:e__namespace.string().nullable(),brand:e__namespace.string().nullable(),has_card:e__namespace.boolean()}).nullable(),store_billing:e__namespace.union([e__namespace.object({connected_stores:e__namespace.number(),included_stores:e__namespace.number(),billable_extra_stores:e__namespace.number(),invoices_included_from_extra_stores:e__namespace.number(),extra_store_price_cents_monthly:e__namespace.number().nullable(),extra_store_price_cents_yearly:e__namespace.number().nullable().describe("Effective yearly price in cents for each additional connected store, using the explicit yearly price or the 20% yearly fallback.")}),e__namespace.null()]),usage:e__namespace.object({documents_count:e__namespace.number().describe("Documents created this period"),documents_limit:e__namespace.number().nullable().describe("Documents limit for current plan. Null means unlimited."),invoices_count:e__namespace.number().describe("Invoices created this period (invoices, credit notes, advance invoices)"),invoices_limit:e__namespace.number().nullable().describe("Invoice limit for current plan. Null means unlimited."),e_invoicing_send_count:e__namespace.number().default(LZ0).describe("Peppol/e-invoicing sends this period."),e_invoicing_sends_included:e__namespace.number().nullish().default(HZ0).describe("Included Peppol/e-invoicing sends for current plan. Null means not configured."),period_start:e__namespace.string().describe("Current period start date (ISO 8601)"),period_end:e__namespace.string().describe("Current period end date (ISO 8601)")}).describe("Usage statistics for current billing period")}).describe("Current entity subscription with usage stats"),Vuy=e__namespace.object({plans:e__namespace.array(e__namespace.object({id:e__namespace.string().describe("Unique plan ID"),slug:e__namespace.string().describe("Plan slug"),name:e__namespace.string().describe("Display name"),billing_interval:e__namespace.string().nullable().describe('Billing interval: "monthly", "yearly", or null for free plans'),base_price_cents:e__namespace.number().nullable().describe("Price in cents. Null for free plans."),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for this plan in the current billing profile."),limits:e__namespace.union([e__namespace.object({documents_per_month:e__namespace.number().nullable().describe("Maximum documents per month (backward compat). Null means unlimited."),invoices_per_month:e__namespace.number().nullable().describe("Maximum invoices per month. Null means unlimited."),overage_price_cents:e__namespace.number().nullable().describe("Overage price in cents per document. Null means hard block."),annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly plan price in cents. Null uses twelve monthly payments with a 20% yearly discount."),included_store_count:e__namespace.number().nullable().describe("Number of connected stores included in the base plan."),extra_store_price_cents:e__namespace.number().nullable().describe("Monthly price in cents for each additional connected store."),extra_store_annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly price in cents for each additional connected store. Null uses twelve monthly payments with a 20% yearly discount."),extra_store_invoices_per_month:e__namespace.number().nullable().describe("Pooled invoice allowance added by each additional store."),e_invoicing_sends_included:e__namespace.number().nullable().describe("Peppol sends included per month. Null means the plan does not configure Peppol metering."),e_invoicing_send_price_cents:e__namespace.number().nullable().describe("Overage price in cents per successful live Peppol send.")}),e__namespace.null()]),features:e__namespace.array(e__namespace.string()).describe("List of features included. Empty array means all features."),is_free:e__namespace.boolean().describe("Whether this is a free plan"),display_order:e__namespace.number().describe("Display order for sorting")}).describe("A subscription plan for a white-label product")).describe("Available plans for the current white-label"),current_plan_slug:e__namespace.string().nullable().describe("Current plan slug (null if no subscription)"),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for the returned plans."),billing_profile:e__namespace.enum(["default","us_company"]).describe("Resolved billing profile for the current entity."),allowed_payment_providers:e__namespace.array(e__namespace.enum(["stripe","paypal","bank"])).describe("Payment providers allowed for the resolved billing profile."),stripe_publishable_key_kind:e__namespace.enum(["default","us_company"]).describe("Frontend-safe selector for which Stripe publishable key to use.")}).describe("Available subscription plans for the current white-label"),quy=e__namespace.object({feature:e__namespace.string().describe("Feature slug to check")}),Wuy=e__namespace.object({feature:e__namespace.string().describe("Feature being checked"),allowed:e__namespace.boolean().describe("Whether the feature is allowed on the current plan"),requires_upgrade:e__namespace.boolean().describe("Whether an upgrade is needed to access this feature"),upgrade_plan_slug:e__namespace.string().nullable().describe("Minimum plan slug that includes this feature (if requires_upgrade is true)")}).describe("Feature access check result"),Yuy=e__namespace.object({resource:e__namespace.string().describe("Resource type to check (e.g., 'documents')")}),Juy=e__namespace.object({resource:e__namespace.string().describe("Resource being checked"),allowed:e__namespace.boolean().describe("Whether creating more of this resource is allowed"),usage:e__namespace.number().describe("Current usage count"),limit:e__namespace.number().nullable().describe("Current limit. Null means unlimited."),percentage:e__namespace.number().describe("Usage as percentage of limit (0-100). 0 if unlimited.")}).describe("Resource limit check result"),$uy=e__namespace.object({billing_email:e__namespace.email().nullable()}),Quy=e__namespace.object({billing_email:e__namespace.string().nullable()});var Dt={};K(Dt,{GetCurrentWhiteLabelResponse:()=>Xuy,GetMyWhiteLabelResponse:()=>epy});var Xuy=e__namespace.object({slug:e__namespace.string().describe("Unique identifier for the white-label"),name:e__namespace.string().describe("Display name of the white-label"),environment:e__namespace.enum(["production","sandbox"]).optional().describe("White-label environment resolved for this domain or account."),hidden_features:e__namespace.array(e__namespace.string()).describe('UI capabilities and standalone action controls hidden for this white-label. Empty array means all configured capability families and controls stay visible. Example values include "developer_tools", "documents.credit_notes", and "actions.documents.credit_notes.create_from_invoice".'),billing_enabled:e__namespace.boolean().describe("Whether billing-related settings and subscription UI should be shown for this white-label."),account_users_full_ui_enabled:e__namespace.boolean().describe("Whether account users bypass white-label UI hiding and keep access to the full product UI on this brand."),hide_new_features_by_default:e__namespace.boolean().describe("Whether white-label-visible features added after the last capabilities review stay hidden until reviewed."),reviewed_feature_catalog_ids:e__namespace.array(e__namespace.string()).describe("Catalog IDs reviewed during the last explicit capabilities save."),theme:e__namespace.object({primary:e__namespace.string().optional().describe("Primary color in HSL format (e.g., '220 70% 50%')"),radius:e__namespace.string().optional().describe("Border radius (e.g., '0.5rem', '0.75rem')")}).nullish().describe("Theme configuration (default colors for embed-sdk). Null means use defaults."),app_name:e__namespace.string().nullable().describe("Installed app name for PWA/browser surfaces. Null means use the white-label name."),short_name:e__namespace.string().nullable().describe("Short installed app name for compact browser/PWA surfaces. Null means use the white-label name."),logo_url:e__namespace.url().nullable().describe("Branded logo URL used for app install surfaces when configured."),favicon_url:e__namespace.url().nullable().describe("Branded favicon/app icon URL used for browser and install surfaces when configured."),theme_color:e__namespace.string().nullable().describe("Resolved CSS theme color for install surfaces and browser UI."),analytics:e__namespace.object({posthog_key:e__namespace.string().nullable().describe("Public PostHog project key for this white-label. Null means browser analytics are disabled."),posthog_host:e__namespace.string().nullable().describe("PostHog API host for this white-label. Null means use the default PostHog host."),posthog_track_embeds:e__namespace.boolean().describe("Whether PostHog may initialize on embedded app routes for this white-label.")}).describe("Analytics configuration for this white-label."),hal_app_id:e__namespace.string().nullable().describe("Hal app ID for chat widget loading. Null means no Hal integration."),support_email:e__namespace.email().nullable().describe("Support contact email for this white-label. Null means no configured support email."),google_tag_id:e__namespace.string().nullable().describe("Google tag ID used for conversion tracking. Null means Google tracking is disabled.")}).describe("White-label configuration for the current domain"),epy=e__namespace.object({slug:e__namespace.string().describe("Unique identifier for the white-label"),name:e__namespace.string().describe("Display name of the white-label"),environment:e__namespace.enum(["production","sandbox"]).optional().describe("White-label environment resolved for this domain or account."),hidden_features:e__namespace.array(e__namespace.string()).describe('UI capabilities and standalone action controls hidden for this white-label. Empty array means all configured capability families and controls stay visible. Example values include "developer_tools", "documents.credit_notes", and "actions.documents.credit_notes.create_from_invoice".'),billing_enabled:e__namespace.boolean().describe("Whether billing-related settings and subscription UI should be shown for this white-label."),account_users_full_ui_enabled:e__namespace.boolean().describe("Whether account users bypass white-label UI hiding and keep access to the full product UI on this brand."),hide_new_features_by_default:e__namespace.boolean().describe("Whether white-label-visible features added after the last capabilities review stay hidden until reviewed."),reviewed_feature_catalog_ids:e__namespace.array(e__namespace.string()).describe("Catalog IDs reviewed during the last explicit capabilities save."),theme:e__namespace.object({primary:e__namespace.string().optional().describe("Primary color in HSL format (e.g., '220 70% 50%')"),radius:e__namespace.string().optional().describe("Border radius (e.g., '0.5rem', '0.75rem')")}).nullish().describe("Theme configuration (default colors for embed-sdk). Null means use defaults."),app_name:e__namespace.string().nullable().describe("Installed app name for PWA/browser surfaces. Null means use the white-label name."),short_name:e__namespace.string().nullable().describe("Short installed app name for compact browser/PWA surfaces. Null means use the white-label name."),logo_url:e__namespace.url().nullable().describe("Branded logo URL used for app install surfaces when configured."),favicon_url:e__namespace.url().nullable().describe("Branded favicon/app icon URL used for browser and install surfaces when configured."),theme_color:e__namespace.string().nullable().describe("Resolved CSS theme color for install surfaces and browser UI."),analytics:e__namespace.object({posthog_key:e__namespace.string().nullable().describe("Public PostHog project key for this white-label. Null means browser analytics are disabled."),posthog_host:e__namespace.string().nullable().describe("PostHog API host for this white-label. Null means use the default PostHog host."),posthog_track_embeds:e__namespace.boolean().describe("Whether PostHog may initialize on embedded app routes for this white-label.")}).describe("Analytics configuration for this white-label."),hal_app_id:e__namespace.string().nullable().describe("Hal app ID for chat widget loading. Null means no Hal integration."),support_email:e__namespace.email().nullable().describe("Support contact email for this white-label. Null means no configured support email."),google_tag_id:e__namespace.string().nullable().describe("Google tag ID used for conversion tracking. Null means Google tracking is disabled.")}).describe("White-label configuration for the current domain");var tpy=125e3,Nt=null,Ie=null,Mt=false;function KZ0(d){Nt=d;}function _t(d){Ie=d,d==null&&(Mt=false);}function npy(){Mt||(Mt=true,console.warn("[space-invoices] setAccountId() fallback is deprecated for SDK instance requests. Pass accountId via the SDK constructor or per-call config instead."));}function spy(){return Ie}function opy(){if(!Nt)throw new Error("SDK not initialized. Call new SpaceInvoices() first.");return Nt}function ipy(d){if(!d)return {};if(d instanceof Headers){let c={};return d.forEach((m,f)=>{c[f]=m;}),c}if(Array.isArray(d)){let c={};for(let[m,f]of d)c[m]=f;return c}return d}function apy(d,c){if(c==null||c<=0)return {signal:d??void 0,cleanup:()=>{}};let m=new AbortController,f=()=>{m.abort(d?.reason);};if(d?.aborted)return f(),{signal:m.signal,cleanup:()=>{}};let B=setTimeout(()=>{m.abort(new Error(`SDK request timed out after ${c}ms`));},c),R=()=>{clearTimeout(B),d?.removeEventListener("abort",f);};return d?.addEventListener("abort",f,{once:true}),m.signal.addEventListener("abort",R,{once:true}),{signal:m.signal,cleanup:R}}async function g(d,c){let{timeoutMs:m,sdkConfig:f,...B}=c??{},R=f??opy(),de=await Promise.resolve(R.getAccessToken()),me=`${R.baseUrl}${d}`,ce={...ipy(B.headers)};R.clientName&&Object.assign(ce,fe(R.clientName)),de&&(ce.Authorization=`Bearer ${de}`);let ve=ce["x-account-id"]||ce["X-Account-Id"]||R.accountId||null;!ve&&Ie&&(f&&npy(),ve=Ie),ve&&!ce["x-account-id"]&&!ce["X-Account-Id"]&&(ce["x-account-id"]=ve);let ge=apy(B.signal,m===void 0?R.requestTimeoutMs??tpy:m);try{let ue=await fetch(me,{...B,headers:ce,signal:ge.signal});ue.status===401&&R.onUnauthorized&&R.onUnauthorized(ue);let Se,z90=ue.headers.get("content-length"),xe=ue.headers.get("content-type"),D90=ue.headers.get("content-disposition");if(z90==="0"||ue.status===204)Se=void 0;else if(xe?.includes("application/pdf")||xe?.includes("application/vnd.openxmlformats-officedocument.wordprocessingml.document")||xe?.includes("application/octet-stream")||xe?.includes("application/zip")||xe?.includes("application/x-zip-compressed")||xe?.includes("image/"))Se=await ue.blob();else if(xe?.includes("application/xml")||xe?.includes("text/xml"))Se=D90?.toLowerCase().includes("attachment")?await ue.blob():await ue.text();else if(xe?.includes("text/html"))Se=await ue.text();else try{Se=await ue.json();}catch{Se=void 0;}return {data:Se,status:ue.status,headers:ue.headers}}finally{ge.cleanup();}}var rpy=()=>"/account-webhooks",ZZ0=async(d,c)=>g(rpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),lpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/account-webhooks?${m}`:"/account-webhooks"},VZ0=async(d,c)=>g(lpy(d),{...c,method:"GET"}),dpy=d=>`/account-webhooks/${d}`,qZ0=async(d,c)=>g(dpy(d),{...c,method:"GET"}),cpy=d=>`/account-webhooks/${d}`,WZ0=async(d,c,m)=>g(cpy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),upy=d=>`/account-webhooks/${d}`,YZ0=async(d,c)=>g(upy(d),{...c,method:"DELETE"}),ppy=d=>`/account-webhooks/${d}/test`,JZ0=async(d,c)=>g(ppy(d),{...c,method:"POST"});var mpy=d=>`/account-webhooks/${d}/rotate-secret`,$Z0=async(d,c)=>g(mpy(d),{...c,method:"POST"});async function xpy(d,c){return d(...c)}function XZ0(d){if(!d?.entity_id&&!d?.account_id&&!d?.request_id&&!d?.signal&&d?.timeoutMs===void 0&&!d?.sdkConfig)return;let c={};return (d.entity_id||d.account_id||d.request_id)&&(c.headers={...d.entity_id?{"x-entity-id":d.entity_id}:{},...d.account_id?{"x-account-id":d.account_id}:{},...d.request_id?{"X-Request-Id":d.request_id}:{}}),d.signal&&(c.signal=d.signal),d.timeoutMs!==void 0&&(c.timeoutMs=d.timeoutMs),d.sdkConfig&&(c.sdkConfig=d.sdkConfig),c}function O(d){return async(...c)=>{let m=c[c.length-1],f=m&&typeof m=="object"&&("entity_id"in m||"account_id"in m||"request_id"in m||"signal"in m||"timeoutMs"in m||"sdkConfig"in m||Object.keys(m).length===0),B,R;f?(B=c.slice(0,-1),R=XZ0(m)):B=[...c],B.push(R);let de=await xpy(d,B);if(de.status>=200&&de.status<300)return de.data;let me=new Error(`API error: ${de.status}`);throw me.status=de.status,me.data=de.data,me}}function J(d){return Object.assign(async m=>{let{entity_id:f,account_id:B,request_id:R,signal:de,timeoutMs:me,sdkConfig:Oe,...ce}=m||{},ve=XZ0({entity_id:f,account_id:B,request_id:R,signal:de,timeoutMs:me,sdkConfig:Oe}),ge=await d(ce,ve);if(ge.status===200)return ge.data;let ue=new Error(`API error: ${ge.status}`);throw ue.status=ge.status,ue.data=ge.data,ue},{__sdkListMethod:true})}function QZ0(d){return !!d&&typeof d=="object"&&("entity_id"in d||"account_id"in d||"request_id"in d||"signal"in d||"timeoutMs"in d||"sdkConfig"in d||Object.keys(d).length===0)}function G(d,c){let m=Object.entries(d).map(([f,B])=>typeof B!="function"?[f,B]:[f,(...R)=>{let de=c(),me=R[R.length-1],Oe=B;if(Oe.__sdkListMethod){let ce=R[0];R[0]=ce&&typeof ce=="object"?{...ce,sdkConfig:de}:{sdkConfig:de};}else if(typeof Oe.__sdkOptionsIndex=="number"){let ce=R[Oe.__sdkOptionsIndex];R[Oe.__sdkOptionsIndex]=QZ0(ce)?{...ce,sdkConfig:de}:{sdkConfig:de};}else QZ0(me)?R[R.length-1]={...me,sdkConfig:de}:R.push({sdkConfig:de});return B(...R)}]);return Object.fromEntries(m)}var ht={create:O(ZZ0),list:J(VZ0),get:O(qZ0),update:O(WZ0),delete:O(YZ0),testAccountWebhook:O(JZ0),rotateAccountWebhookSecret:O($Z0)};var gpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/activities?${m}`:"/activities"},eV0=async(d,c)=>g(gpy(d),{...c,method:"GET"});var Rt={list:J(eV0)};var ypy=d=>`/advance-invoices/shareable/${d}`,tV0=async(d,c)=>g(ypy(d),{...c,method:"GET"}),Opy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/advance-invoices/shareable/${d}/html?${f}`:`/advance-invoices/shareable/${d}/html`},nV0=async(d,c,m)=>g(Opy(d,c),{...m,method:"GET"}),Spy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/advance-invoices/shareable/${d}/pdf?${f}`:`/advance-invoices/shareable/${d}/pdf`},sV0=async(d,c,m)=>g(Spy(d,c),{...m,method:"GET"}),vpy=d=>`/advance-invoices/shareable/${d}/eslog`,oV0=async(d,c)=>g(vpy(d),{...c,method:"GET"}),Bpy=()=>"/advance-invoices",iV0=async(d,c)=>g(Bpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Tpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/advance-invoices?${m}`:"/advance-invoices"},aV0=async(d,c)=>g(Tpy(d),{...c,method:"GET"}),Epy=()=>"/advance-invoices/custom",rV0=async(d,c)=>g(Epy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),bpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/advance-invoices/${d}?${f}`:`/advance-invoices/${d}`},lV0=async(d,c,m)=>g(bpy(d,c),{...m,method:"GET"}),Ipy=d=>`/advance-invoices/${d}`,dV0=async(d,c,m)=>g(Ipy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),fpy=d=>`/advance-invoices/${d}/versions`,cV0=async(d,c)=>g(fpy(d),{...c,method:"GET"}),zpy=(d,c)=>`/advance-invoices/${d}/versions/${c}`,uV0=async(d,c,m)=>g(zpy(d,c),{...m,method:"GET"}),Dpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/advance-invoices/render?${m}`:"/advance-invoices/render"},pV0=async(d,c,m)=>g(Dpy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Npy=d=>`/advance-invoices/${d}/void`,mV0=async(d,c,m)=>g(Npy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var Ut={getShareableAdvanceInvoice:O(tV0),getShareableAdvanceInvoiceHtml:O(nV0),getShareableAdvanceInvoicePdf:O(sV0),getShareableAdvanceInvoiceEslog:O(oV0),create:O(iV0),list:J(aV0),createCustom:O(rV0),get:O(lV0),update:O(dV0),getVersions:O(cV0),getVersion:O(uV0),renderAdvanceInvoicePreview:O(pV0),void:O(mV0)};var Mpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/business-units?${m}`:"/business-units"},xV0=async(d,c)=>g(Mpy(d),{...c,method:"GET"}),_py=()=>"/business-units",gV0=async(d,c)=>g(_py(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),hpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/business-units/${d}?${f}`:`/business-units/${d}`},yV0=async(d,c,m)=>g(hpy(d,c),{...m,method:"GET"}),Rpy=d=>`/business-units/${d}`,OV0=async(d,c,m)=>g(Rpy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Upy=d=>`/business-units/${d}`,SV0=async(d,c)=>g(Upy(d),{...c,method:"DELETE"});var Ct={list:J(xV0),create:O(gV0),get:O(yV0),update:O(OV0),delete:O(SV0)};var Cpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/company-registry/search?${m}`:"/company-registry/search"},vV0=async(d,c)=>g(Cpy(d),{...c,method:"GET"}),Ppy=()=>"/company-registry/countries",BV0=async d=>g(Ppy(),{...d,method:"GET"});var Pt={searchCompanyRegistry:O(vV0),list:O(BV0)};var wpy=d=>`/credit-notes/shareable/${d}`,TV0=async(d,c)=>g(wpy(d),{...c,method:"GET"}),Fpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/credit-notes/shareable/${d}/html?${f}`:`/credit-notes/shareable/${d}/html`},EV0=async(d,c,m)=>g(Fpy(d,c),{...m,method:"GET"}),Apy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/credit-notes/shareable/${d}/pdf?${f}`:`/credit-notes/shareable/${d}/pdf`},bV0=async(d,c,m)=>g(Apy(d,c),{...m,method:"GET"}),kpy=d=>`/credit-notes/shareable/${d}/eslog`,IV0=async(d,c)=>g(kpy(d),{...c,method:"GET"}),jpy=()=>"/credit-notes",fV0=async(d,c)=>g(jpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Lpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/credit-notes?${m}`:"/credit-notes"},zV0=async(d,c)=>g(Lpy(d),{...c,method:"GET"}),Hpy=()=>"/credit-notes/custom",DV0=async(d,c)=>g(Hpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Gpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/credit-notes/${d}?${f}`:`/credit-notes/${d}`},NV0=async(d,c,m)=>g(Gpy(d,c),{...m,method:"GET"}),Kpy=d=>`/credit-notes/${d}`,MV0=async(d,c,m)=>g(Kpy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Zpy=d=>`/credit-notes/${d}/xrechnung`,_V0=async(d,c)=>g(Zpy(d),{...c,method:"GET"}),Vpy=d=>`/credit-notes/${d}/zugferd`,hV0=async(d,c)=>g(Vpy(d),{...c,method:"GET"}),qpy=d=>`/credit-notes/${d}/versions`,RV0=async(d,c)=>g(qpy(d),{...c,method:"GET"}),Wpy=(d,c)=>`/credit-notes/${d}/versions/${c}`,UV0=async(d,c,m)=>g(Wpy(d,c),{...m,method:"GET"}),Ypy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/credit-notes/render?${m}`:"/credit-notes/render"},CV0=async(d,c,m)=>g(Ypy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Jpy=d=>`/credit-notes/${d}/fiscalize`,PV0=async(d,c)=>g(Jpy(d),{...c,method:"POST"}),$py=d=>`/credit-notes/${d}/void`,wV0=async(d,c,m)=>g($py(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var wt={getShareableCreditNote:O(TV0),getShareableCreditNoteHtml:O(EV0),getShareableCreditNotePdf:O(bV0),getShareableCreditNoteEslog:O(IV0),create:O(fV0),list:J(zV0),createCustom:O(DV0),get:O(NV0),update:O(MV0),downloadCreditNoteXRechnung:O(_V0),downloadCreditNoteZugferd:O(hV0),getVersions:O(RV0),getVersion:O(UV0),renderCreditNotePreview:O(CV0),fiscalizeCreditNote:O(PV0),void:O(wV0)};var Qpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/currency/exchange-rate?${m}`:"/currency/exchange-rate"},FV0=async(d,c)=>g(Qpy(d),{...c,method:"GET"});var Ft={getExchangeRate:O(FV0)};var Xpy=()=>"/customers",AV0=async(d,c)=>g(Xpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),emy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/customers?${m}`:"/customers"},kV0=async(d,c)=>g(emy(d),{...c,method:"GET"}),tmy=d=>`/customers/${d}`,jV0=async(d,c)=>g(tmy(d),{...c,method:"GET"}),nmy=d=>`/customers/${d}`,LV0=async(d,c,m)=>g(nmy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),smy=d=>`/customers/${d}`,HV0=async(d,c)=>g(smy(d),{...c,method:"DELETE"}),omy=d=>`/customers/${d}/restore`,GV0=async(d,c)=>g(omy(d),{...c,method:"POST"}),imy=d=>`/customers/${d}/permanent`,KV0=async(d,c)=>g(imy(d),{...c,method:"DELETE"});var At={create:O(AV0),list:J(kV0),get:O(jV0),update:O(LV0),delete:O(HV0),restoreCustomer:O(GV0),permanentDeleteCustomer:O(KV0)};var amy=d=>`/delivery-notes/shareable/${d}`,ZV0=async(d,c)=>g(amy(d),{...c,method:"GET"}),rmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/delivery-notes/shareable/${d}/html?${f}`:`/delivery-notes/shareable/${d}/html`},VV0=async(d,c,m)=>g(rmy(d,c),{...m,method:"GET"}),lmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/delivery-notes/shareable/${d}/pdf?${f}`:`/delivery-notes/shareable/${d}/pdf`},qV0=async(d,c,m)=>g(lmy(d,c),{...m,method:"GET"}),dmy=()=>"/delivery-notes",WV0=async(d,c)=>g(dmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),cmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/delivery-notes?${m}`:"/delivery-notes"},YV0=async(d,c)=>g(cmy(d),{...c,method:"GET"}),umy=()=>"/delivery-notes/custom",JV0=async(d,c)=>g(umy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),pmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/delivery-notes/${d}?${f}`:`/delivery-notes/${d}`},$V0=async(d,c,m)=>g(pmy(d,c),{...m,method:"GET"}),mmy=d=>`/delivery-notes/${d}`,QV0=async(d,c,m)=>g(mmy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),xmy=d=>`/delivery-notes/${d}/versions`,XV0=async(d,c)=>g(xmy(d),{...c,method:"GET"}),gmy=(d,c)=>`/delivery-notes/${d}/versions/${c}`,eq0=async(d,c,m)=>g(gmy(d,c),{...m,method:"GET"}),ymy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/delivery-notes/render?${m}`:"/delivery-notes/render"},tq0=async(d,c,m)=>g(ymy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Omy=d=>`/delivery-notes/${d}/void`,nq0=async(d,c,m)=>g(Omy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var kt={getShareableDeliveryNote:O(ZV0),getShareableDeliveryNoteHtml:O(VV0),getShareableDeliveryNotePdf:O(qV0),create:O(WV0),list:J(YV0),createCustom:O(JV0),get:O($V0),update:O(QV0),getVersions:O(XV0),getVersion:O(eq0),renderDeliveryNotePreview:O(tq0),void:O(nq0)};var Smy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/next-number?${m}`:"/documents/next-number"},sq0=async(d,c)=>g(Smy(d),{...c,method:"GET"}),vmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/calculate?${m}`:"/documents/calculate"},oq0=async(d,c,m)=>g(vmy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Bmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/finalize?${f}`:`/documents/${d}/finalize`},iq0=async(d,c,m,f)=>g(Bmy(d,m),{...f,method:"POST",headers:{"Content-Type":"application/json",...f?.headers},body:JSON.stringify(c)}),Tmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/fiscalize?${f}`:`/documents/${d}/fiscalize`},aq0=async(d,c,m,f)=>g(Tmy(d,m),{...f,method:"POST",headers:{"Content-Type":"application/json",...f?.headers},body:JSON.stringify(c)}),Emy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/register-output?${f}`:`/documents/${d}/register-output`},rq0=async(d,c,m)=>g(Emy(d,c),{...m,method:"POST"}),bmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}?${f}`:`/documents/${d}`},lq0=async(d,c,m)=>g(bmy(d,c),{...m,method:"DELETE"}),Imy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/restore?${f}`:`/documents/${d}/restore`},dq0=async(d,c,m)=>g(Imy(d,c),{...m,method:"POST"}),fmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/permanent?${f}`:`/documents/${d}/permanent`},cq0=async(d,c,m)=>g(fmy(d,c),{...m,method:"DELETE"}),zmy=d=>`/documents/${d}/send`,uq0=async(d,c,m)=>g(zmy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Dmy=d=>`/documents/${d}/share`,pq0=async(d,c)=>g(Dmy(d),{...c,method:"POST"}),Nmy=d=>`/documents/${d}/share`,mq0=async(d,c)=>g(Nmy(d),{...c,method:"GET"}),Mmy=d=>`/documents/${d}/share`,xq0=async(d,c)=>g(Mmy(d),{...c,method:"DELETE"});var jt=O(aq0);function _my(d){return !!d&&typeof d=="object"&&"type"in d}function Lt(d){return !!d&&typeof d=="object"&&("entity_id"in d||"account_id"in d||"request_id"in d||"signal"in d||"timeoutMs"in d||"sdkConfig"in d||Object.keys(d).length===0)}var hmy=async(d,c,m,f)=>{if(Lt(c))return jt(d,void 0,void 0,c);if(_my(c))return jt(d,void 0,c,m);let B=Lt(m)?void 0:m,R=Lt(m)?m:f;return jt(d,c,B,R)},Ht={getNextNumber:O(sq0),calculateDocumentPreview:O(oq0),finalizeDocument:O(iq0),fiscalizeDocument:hmy,registerDocumentOutput:O(rq0),delete:O(lq0),restoreDocument:O(dq0),permanentDeleteDocument:O(cq0),sendDocument:O(uq0),shareDocument:O(pq0),getShareableId:O(mq0),unshareDocument:O(xq0)};var Rmy=()=>"/e-invoicing/settings",gq0=async d=>g(Rmy(),{...d,method:"GET"}),Umy=()=>"/e-invoicing/settings",yq0=async(d,c)=>g(Umy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Cmy=()=>"/e-invoicing/enrollment/sync",Oq0=async d=>g(Cmy(),{...d,method:"POST"}),Pmy=()=>"/e-invoicing/enrollment/verification-link",Sq0=async d=>g(Pmy(),{...d,method:"POST"}),wmy=()=>"/e-invoicing/enrollment/authorize",vq0=async(d,c)=>g(wmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Fmy=()=>"/e-invoicing/enrollment/disconnect",Bq0=async d=>g(Fmy(),{...d,method:"POST"}),Amy=()=>"/e-invoicing/france/directory/lookup",Tq0=async(d,c)=>g(Amy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),kmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/e-invoicing/received-documents?${m}`:"/e-invoicing/received-documents"},Eq0=async(d,c)=>g(kmy(d),{...c,method:"GET"}),jmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/e-invoicing/received-documents/${d}/download?${f}`:`/e-invoicing/received-documents/${d}/download`},bq0=async(d,c,m)=>g(jmy(d,c),{...m,method:"GET"}),Lmy=d=>`/e-invoicing/received-documents/${d}/accept`,Iq0=async(d,c)=>g(Lmy(d),{...c,method:"POST"}),Hmy=d=>`/e-invoicing/received-documents/${d}/lifecycle`,fq0=async(d,c,m)=>g(Hmy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Gmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/e-invoicing/reporting-records?${m}`:"/e-invoicing/reporting-records"},zq0=async(d,c)=>g(Gmy(d),{...c,method:"GET"}),Kmy=d=>`/e-invoicing/reporting-records/${d}/retry`,Dq0=async(d,c)=>g(Kmy(d),{...c,method:"POST"}),Zmy=()=>"/e-invoicing/supplier",Nq0=async(d,c)=>g(Zmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Vmy=()=>"/e-invoicing/supplier",Mq0=async d=>g(Vmy(),{...d,method:"GET"});var qmy=()=>"/e-invoicing/recipients/check",_q0=async(d,c)=>g(qmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Wmy=()=>"/e-invoicing/customer-search",hq0=async(d,c)=>g(Wmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Ymy=d=>`/e-invoicing/documents/${d}/send`,Rq0=async(d,c,m)=>g(Ymy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Jmy=()=>"/e-invoicing/send/:documentType/:documentId",Uq0=async(d,c)=>g(Jmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),$my=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/e-invoicing/submissions?${m}`:"/e-invoicing/submissions"},Cq0=async(d,c)=>g($my(d),{...c,method:"GET"}),Qmy=d=>`/e-invoicing/submissions/${d}`,Pq0=async(d,c)=>g(Qmy(d),{...c,method:"GET"}),Xmy=d=>`/e-invoicing/submissions/${d}/retry`,wq0=async(d,c)=>g(Xmy(d),{...c,method:"POST"}),exy=()=>"/e-invoicing/submissions/:id",Fq0=async d=>g(exy(),{...d,method:"GET"}),txy=()=>"/e-invoicing/submissions/:id/retry",Aq0=async d=>g(txy(),{...d,method:"POST"});var Gt={list:O(gq0),update:O(yq0),syncEInvoicingEnrollment:O(Oq0),create:O(Sq0),createEInvoicingEnrollmentAuthorization:O(vq0),disconnectEInvoicingEnrollment:O(Bq0),lookupFranceEInvoicingDirectory:O(Tq0),listReceivedEInvoices:O(Eq0),downloadReceivedEInvoice:O(bq0),acceptReceivedEInvoice:O(Iq0),sendReceivedEInvoiceLifecycle:O(fq0),listFrenchEReportingRecords:O(zq0),retryFrenchEReportingRecord:O(Dq0),registerEInvoicingSupplier:O(Nq0),getEInvoicingSupplier:O(Mq0),checkEInvoicingRecipient:O(_q0),searchEInvoicingCustomer:O(hq0),sendEInvoicingDocument:O(Rq0),sendEInvoice:O(Uq0),listEInvoicingSubmissions:O(Cq0),get:O(Pq0),retryEInvoicingSubmissionById:O(wq0),getEInvoicingSubmission:O(Fq0),retryEInvoicingSubmission:O(Aq0)};var nxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/eslog/${d}/validate?${f}`:`/eslog/${d}/validate`},kq0=async(d,c,m)=>g(nxy(d,c),{...m,method:"POST"}),sxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/eslog/${d}/download?${f}`:`/eslog/${d}/download`},jq0=async(d,c,m)=>g(sxy(d,c),{...m,method:"GET"});var Kt={validate:O(kq0),download:O(jq0)};var oxy=()=>"/email/send",Lq0=async(d,c)=>g(oxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Zt={sendEmail:O(Lq0)};var ixy=()=>"/entities",Hq0=async(d,c)=>g(ixy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),axy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/entities?${m}`:"/entities"},Gq0=async(d,c)=>g(axy(d),{...c,method:"GET"}),rxy=d=>`/entities/${d}`,Kq0=async(d,c)=>g(rxy(d),{...c,method:"GET"}),lxy=d=>`/entities/${d}`,Zq0=async(d,c,m)=>g(lxy(d),{...m,method:"PUT",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),dxy=d=>`/entities/${d}/enable`,Vq0=async(d,c)=>g(dxy(d),{...c,method:"POST"}),cxy=d=>`/entities/${d}/disable`,qq0=async(d,c)=>g(cxy(d),{...c,method:"POST"}),uxy=d=>`/entities/${d}/email-sender`,Wq0=async(d,c)=>g(uxy(d),{...c,method:"GET"}),pxy=d=>`/entities/${d}/email-sender`,Yq0=async(d,c,m)=>g(pxy(d),{...m,method:"PUT",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),mxy=d=>`/entities/${d}/email-sender`,Jq0=async(d,c)=>g(mxy(d),{...c,method:"DELETE"}),xxy=d=>`/entities/${d}/email-sender/recheck`,$q0=async(d,c)=>g(xxy(d),{...c,method:"POST"});var Vt={create:O(Hq0),list:J(Gq0),get:O(Kq0),update:O(Zq0),enableEntity:O(Vq0),disableEntity:O(qq0),getEntityEmailSender:O(Wq0),putEntityEmailSender:O(Yq0),deleteEntityEmailSender:O(Jq0),recheckEntityEmailSender:O($q0)};var gxy=()=>"/entities/api-keys",Qq0=async d=>g(gxy(),{...d,method:"GET"}),yxy=()=>"/entities/api-keys",Xq0=async(d,c)=>g(yxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Oxy=d=>`/entities/api-keys/${d}`,e70=async(d,c)=>g(Oxy(d),{...c,method:"DELETE"});var qt={listEntityApiKeys:O(Qq0),create:O(Xq0),delete:O(e70)};var Sxy=()=>"/entities/invitations",t70=async d=>g(Sxy(),{...d,method:"GET"}),vxy=d=>`/entities/invitations/${d}`,n70=async(d,c)=>g(vxy(d),{...c,method:"GET"}),Bxy=d=>`/entities/invitations/${d}`,s70=async(d,c)=>g(Bxy(d),{...c,method:"DELETE"}),Txy=d=>`/entities/invitations/${d}/resend`,o70=async(d,c)=>g(Txy(d),{...c,method:"POST"}),Exy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invitations/preview?${m}`:"/invitations/preview"},i70=async(d,c)=>g(Exy(d),{...c,method:"GET"}),bxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invitations/accept?${m}`:"/invitations/accept"},a70=async(d,c,m)=>g(bxy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)});var Wt={listEntityInvitations:O(t70),getEntityInvitation:O(n70),cancelEntityInvitation:O(s70),resendEntityInvitation:O(o70),preview:O(i70),acceptEntityInvitation:O(a70)};var Ixy=()=>"/stats/query",r70=async(d,c)=>g(Ixy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Yt={queryEntityStats:O(r70)};var fxy=()=>"/entities/users",l70=async d=>g(fxy(),{...d,method:"GET"}),zxy=()=>"/entities/users",d70=async(d,c)=>g(zxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Dxy=()=>"/entities/users/access",c70=async d=>g(Dxy(),{...d,method:"GET"}),Nxy=d=>`/entities/users/${d}`,u70=async(d,c,m)=>g(Nxy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Mxy=d=>`/entities/users/${d}`,p70=async(d,c)=>g(Mxy(d),{...c,method:"DELETE"}),_xy=d=>`/entities/users/${d}/token`,m70=async(d,c)=>g(_xy(d),{...c,method:"POST"});var Jt={list:O(l70),addEntityUser:O(d70),getAccess:O(c70),update:O(u70),removeEntityUser:O(p70),generateEntityUserToken:O(m70)};var hxy=d=>`/estimates/shareable/${d}`,x70=async(d,c)=>g(hxy(d),{...c,method:"GET"}),Rxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/estimates/shareable/${d}/html?${f}`:`/estimates/shareable/${d}/html`},g70=async(d,c,m)=>g(Rxy(d,c),{...m,method:"GET"}),Uxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/estimates/shareable/${d}/pdf?${f}`:`/estimates/shareable/${d}/pdf`},y70=async(d,c,m)=>g(Uxy(d,c),{...m,method:"GET"}),Cxy=d=>`/estimates/shareable/${d}/eslog`,O70=async(d,c)=>g(Cxy(d),{...c,method:"GET"}),Pxy=()=>"/estimates",S70=async(d,c)=>g(Pxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),wxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/estimates?${m}`:"/estimates"},v70=async(d,c)=>g(wxy(d),{...c,method:"GET"}),Fxy=()=>"/estimates/custom",B70=async(d,c)=>g(Fxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Axy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/estimates/${d}?${f}`:`/estimates/${d}`},T70=async(d,c,m)=>g(Axy(d,c),{...m,method:"GET"}),kxy=d=>`/estimates/${d}`,E70=async(d,c,m)=>g(kxy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),jxy=d=>`/estimates/${d}/versions`,b70=async(d,c)=>g(jxy(d),{...c,method:"GET"}),Lxy=(d,c)=>`/estimates/${d}/versions/${c}`,I70=async(d,c,m)=>g(Lxy(d,c),{...m,method:"GET"}),Hxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/estimates/render?${m}`:"/estimates/render"},f70=async(d,c,m)=>g(Hxy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)});var $t={getShareableEstimate:O(x70),getShareableEstimateHtml:O(g70),getShareableEstimatePdf:O(y70),getShareableEstimateEslog:O(O70),create:O(S70),list:J(v70),createCustom:O(B70),get:O(T70),update:O(E70),getVersions:O(b70),getVersion:O(I70),renderEstimatePreview:O(f70)};var Gxy=()=>"/expenses",z70=async(d,c)=>g(Gxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Kxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/expenses?${m}`:"/expenses"},D70=async(d,c)=>g(Kxy(d),{...c,method:"GET"}),Zxy=()=>"/expenses/custom",N70=async(d,c)=>g(Zxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Vxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/expenses/export?${m}`:"/expenses/export"},M70=async(d,c)=>g(Vxy(d),{...c,method:"GET"}),qxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/expenses/report?${m}`:"/expenses/report"},_70=async(d,c)=>g(qxy(d),{...c,method:"GET"}),Wxy=()=>"/expenses/recognition/settings",h70=async d=>g(Wxy(),{...d,method:"GET"}),Yxy=()=>"/expenses/recognition/settings",R70=async(d,c)=>g(Yxy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Jxy=()=>"/expenses/recognition/backfill",U70=async(d,c)=>g(Jxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),$xy=()=>"/expenses/recognitions",C70=async(d,c)=>{let m=new FormData;return m.append("file",d.file),g($xy(),{...c,method:"POST",body:m})},Qxy=d=>`/expenses/recognitions/${d}`,P70=async(d,c)=>g(Qxy(d),{...c,method:"GET"}),Xxy=d=>`/expenses/recognitions/${d}/retry`,w70=async(d,c)=>g(Xxy(d),{...c,method:"POST"}),egy=d=>`/expenses/${d}/recognition`,F70=async(d,c)=>g(egy(d),{...c,method:"GET"}),tgy=d=>`/expenses/${d}`,A70=async(d,c)=>g(tgy(d),{...c,method:"GET"}),ngy=d=>`/expenses/${d}`,k70=async(d,c,m)=>g(ngy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),sgy=d=>`/expenses/${d}`,j70=async(d,c)=>g(sgy(d),{...c,method:"DELETE"}),ogy=d=>`/expenses/${d}/void`,L70=async(d,c)=>g(ogy(d),{...c,method:"POST"}),igy=d=>`/expenses/${d}/restore`,H70=async(d,c)=>g(igy(d),{...c,method:"POST"}),agy=d=>`/expenses/${d}/attachments`,G70=async(d,c,m)=>{let f=new FormData;return c.file!==void 0&&f.append("file",c.file),g(agy(d),{...m,method:"POST",body:f})},rgy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/expenses/${d}/attachments?${f}`:`/expenses/${d}/attachments`},K70=async(d,c,m)=>g(rgy(d,c),{...m,method:"GET"}),lgy=(d,c)=>`/expenses/${d}/attachments/${c}`,Z70=async(d,c,m)=>g(lgy(d,c),{...m,method:"DELETE"}),dgy=d=>`/expenses/${d}/payments`,V70=async(d,c)=>g(dgy(d),{...c,method:"GET"}),cgy=d=>`/expenses/${d}/payments`,q70=async(d,c,m)=>g(cgy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var Qt={create:O(z70),list:J(D70),createCustom:O(N70),exportExpenses:O(M70),getExpenseCategoryReport:O(_70),getRecognitionSettings:O(h70),updateRecognitionSettings:O(R70),backfillExpenseRecognition:O(U70),createRecognition:O(C70),getRecognition:O(P70),retryRecognition:O(w70),getLatestRecognition:O(F70),get:O(A70),update:O(k70),delete:O(j70),void:O(L70),restoreExpense:O(H70),uploadExpenseAttachment:O(G70),getExpenseAttachments:O(K70),deleteExpenseAttachment:O(Z70),getExpensePayments:O(V70),createExpensePayment:O(q70)};var ugy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/export?${m}`:"/documents/export"},W70=async(d,c)=>g(ugy(d),{...c,method:"GET"}),pgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/export/sales-per-item?${m}`:"/documents/export/sales-per-item"},Y70=async(d,c)=>g(pgy(d),{...c,method:"GET"}),mgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/export/revenue-by-category?${m}`:"/documents/export/revenue-by-category"},J70=async(d,c)=>g(mgy(d),{...c,method:"GET"}),xgy=()=>"/documents/export/pdf",$70=async(d,c)=>g(xgy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),ggy=d=>`/documents/export/pdf/${d}`,Q70=async(d,c)=>g(ggy(d),{...c,method:"GET"}),ygy=d=>`/documents/export/pdf/${d}/download`,X70=async(d,c)=>g(ygy(d),{...c,method:"GET"}),Ogy=()=>"/documents/export/eslog",eW0=async(d,c)=>g(Ogy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Sgy=d=>`/documents/export/eslog/${d}`,tW0=async(d,c)=>g(Sgy(d),{...c,method:"GET"}),vgy=d=>`/documents/export/eslog/${d}/download`,nW0=async(d,c)=>g(vgy(d),{...c,method:"GET"});var Xt={exportDocuments:O(W70),exportSalesPerItem:O(Y70),exportRevenueByCategory:O(J70),startPdfExport:O($70),getPdfStatus:O(Q70),downloadPdfExport:O(X70),startEslogExport:O(eW0),getEslogStatus:O(tW0),downloadEslogExport:O(nW0)};var Bgy=()=>"/files",sW0=async(d,c)=>{let m=new FormData;return d.file!==void 0&&m.append("file",d.file),m.append("category",d.category),d.account_payable_id!==void 0&&m.append("account_payable_id",d.account_payable_id),d.business_unit_id!==void 0&&m.append("business_unit_id",d.business_unit_id),d.expense_id!==void 0&&m.append("expense_id",d.expense_id),g(Bgy(),{...c,method:"POST",body:m})},Tgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/files?${m}`:"/files"},oW0=async(d,c)=>g(Tgy(d),{...c,method:"GET"}),Egy=d=>`/files/${d}`,iW0=async(d,c)=>g(Egy(d),{...c,method:"GET"}),bgy=d=>`/files/${d}`,aW0=async(d,c)=>g(bgy(d),{...c,method:"DELETE"});var en={uploadFile:O(sW0),list:J(oW0),get:O(iW0),delete:O(aW0)};var Igy=()=>"/fiscalization/fina/settings/certificate",rW0=async(d,c)=>{let m=new FormData;return d.file!==void 0&&m.append("file",d.file),d.passphrase!==void 0&&m.append("passphrase",d.passphrase),g(Igy(),{...c,method:"POST",body:m})},fgy=()=>"/fiscalization/fina/settings/certificate",lW0=async d=>g(fgy(),{...d,method:"GET"}),zgy=()=>"/fiscalization/fina/settings/certificate",dW0=async d=>g(zgy(),{...d,method:"DELETE"});var tn={uploadFinaCertificate:O(rW0),getFinaCertificate:O(lW0),delete:O(dW0)};var Dgy=d=>`/fiscalization/fina/premises/${d}/devices`,cW0=async(d,c)=>g(Dgy(d),{...c,method:"GET"}),Ngy=d=>`/fiscalization/fina/premises/${d}/devices`,uW0=async(d,c,m)=>g(Ngy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Mgy=d=>`/fiscalization/fina/devices/${d}`,pW0=async(d,c)=>g(Mgy(d),{...c,method:"GET"}),_gy=d=>`/fiscalization/fina/devices/${d}`,mW0=async(d,c,m)=>g(_gy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),hgy=d=>`/fiscalization/fina/devices/${d}`,xW0=async(d,c)=>g(hgy(d),{...c,method:"DELETE"});var nn={listFinaDevices:O(cW0),registerFinaDevice:O(uW0),getFinaDevice:O(pW0),update:O(mW0),delete:O(xW0)};var Rgy=()=>"/fiscalization/fina/premises",gW0=async d=>g(Rgy(),{...d,method:"GET"}),Ugy=()=>"/fiscalization/fina/premises",yW0=async(d,c)=>g(Ugy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Cgy=d=>`/fiscalization/fina/premises/${d}`,OW0=async(d,c)=>g(Cgy(d),{...c,method:"GET"}),Pgy=d=>`/fiscalization/fina/premises/${d}`,SW0=async(d,c,m)=>g(Pgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),wgy=d=>`/fiscalization/fina/premises/${d}`,vW0=async(d,c)=>g(wgy(d),{...c,method:"DELETE"});var sn={listFinaPremises:O(gW0),create:O(yW0),getFinaPremise:O(OW0),update:O(SW0),delete:O(vW0)};var Fgy=()=>"/fiscalization/fina/settings",BW0=async d=>g(Fgy(),{...d,method:"GET"}),Agy=()=>"/fiscalization/fina/settings",TW0=async(d,c)=>g(Agy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var on={list:O(BW0),update:O(TW0)};var kgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/financial-categories?${m}`:"/financial-categories"},EW0=async(d,c)=>g(kgy(d),{...c,method:"GET"}),jgy=()=>"/financial-categories",bW0=async(d,c)=>g(jgy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Lgy=d=>`/financial-categories/${d}`,IW0=async(d,c,m)=>g(Lgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Hgy=d=>`/financial-categories/${d}`,fW0=async(d,c)=>g(Hgy(d),{...c,method:"DELETE"}),Ggy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/financial-categories/revenue-summary?${m}`:"/financial-categories/revenue-summary"},zW0=async(d,c)=>g(Ggy(d),{...c,method:"GET"}),Kgy=()=>"/financial-categories/document-items/batch",DW0=async(d,c)=>g(Kgy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Zgy=d=>`/financial-categories/document-items/${d}`,NW0=async(d,c,m)=>g(Zgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var an={list:J(EW0),create:O(bW0),update:O(IW0),delete:O(fW0),getRevenueByFinancialCategory:O(zW0),updateDocumentItemFinancialCategories:O(DW0),updateDocumentItemFinancialCategory:O(NW0)};var Vgy=()=>"/fiscalization/furs/settings/certificate",MW0=async(d,c)=>{let m=new FormData;return d.file!==void 0&&m.append("file",d.file),d.passphrase!==void 0&&m.append("passphrase",d.passphrase),g(Vgy(),{...c,method:"POST",body:m})},qgy=()=>"/fiscalization/furs/settings/certificate",_W0=async d=>g(qgy(),{...d,method:"GET"}),Wgy=()=>"/fiscalization/furs/settings/certificate",hW0=async d=>g(Wgy(),{...d,method:"DELETE"});var rn={uploadFursCertificate:O(MW0),getFursCertificate:O(_W0),delete:O(hW0)};var Ygy=d=>`/fiscalization/furs/premises/${d}/devices`,RW0=async(d,c)=>g(Ygy(d),{...c,method:"GET"}),Jgy=d=>`/fiscalization/furs/premises/${d}/devices`,UW0=async(d,c,m)=>g(Jgy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),$gy=d=>`/fiscalization/furs/devices/${d}`,CW0=async(d,c)=>g($gy(d),{...c,method:"GET"}),Qgy=d=>`/fiscalization/furs/devices/${d}`,PW0=async(d,c,m)=>g(Qgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var ln={listFursElectronicDevices:O(RW0),registerFursElectronicDevice:O(UW0),getFursElectronicDevice:O(CW0),update:O(PW0)};var Xgy=()=>"/fiscalization/furs/internal-act/report.pdf",wW0=async d=>g(Xgy(),{...d,method:"GET"}),e0y=()=>"/fiscalization/furs/internal-act/report.docx",FW0=async d=>g(e0y(),{...d,method:"GET"});var dn={generateFursInternalActPdf:O(wW0),generateFursInternalActDocx:O(FW0)};var t0y=()=>"/fiscalization/furs/premises",AW0=async d=>g(t0y(),{...d,method:"GET"}),n0y=d=>`/fiscalization/furs/premises/${d}`,kW0=async(d,c)=>g(n0y(d),{...c,method:"GET"}),s0y=d=>`/fiscalization/furs/premises/${d}`,jW0=async(d,c,m)=>g(s0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),o0y=()=>"/fiscalization/furs/premises/real-estate",LW0=async(d,c)=>g(o0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),i0y=()=>"/fiscalization/furs/premises/movable",HW0=async(d,c)=>g(i0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),a0y=d=>`/fiscalization/furs/premises/${d}/close`,GW0=async(d,c)=>g(a0y(d),{...c,method:"POST"});var cn={listFursBusinessPremises:O(AW0),getFursBusinessPremise:O(kW0),update:O(jW0),registerFursRealEstatePremise:O(LW0),registerFursMovablePremise:O(HW0),closeFursBusinessPremise:O(GW0)};var r0y=()=>"/fiscalization/furs/settings",KW0=async d=>g(r0y(),{...d,method:"GET"}),l0y=()=>"/fiscalization/furs/settings",ZW0=async(d,c)=>g(l0y(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var un={list:O(KW0),update:O(ZW0)};var d0y=()=>"/health/live",VW0=async d=>g(d0y(),{...d,method:"GET"}),c0y=()=>"/health/ready",qW0=async d=>g(c0y(),{...d,method:"GET"}),u0y=()=>"/health",WW0=async d=>g(u0y(),{...d,method:"GET"});var pn={livenessCheck:O(VW0),readinessCheck:O(qW0),healthCheck:O(WW0)};var p0y=d=>`/invoices/shareable/${d}`,YW0=async(d,c)=>g(p0y(d),{...c,method:"GET"}),m0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/invoices/shareable/${d}/html?${f}`:`/invoices/shareable/${d}/html`},JW0=async(d,c,m)=>g(m0y(d,c),{...m,method:"GET"}),x0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/invoices/shareable/${d}/pdf?${f}`:`/invoices/shareable/${d}/pdf`},$W0=async(d,c,m)=>g(x0y(d,c),{...m,method:"GET"}),g0y=d=>`/invoices/shareable/${d}/eslog`,QW0=async(d,c)=>g(g0y(d),{...c,method:"GET"}),y0y=()=>"/invoices",XW0=async(d,c)=>g(y0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),O0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invoices?${m}`:"/invoices"},e60=async(d,c)=>g(O0y(d),{...c,method:"GET"}),S0y=()=>"/invoices/custom",t60=async(d,c)=>g(S0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),v0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/invoices/${d}?${f}`:`/invoices/${d}`},n60=async(d,c,m)=>g(v0y(d,c),{...m,method:"GET"}),B0y=d=>`/invoices/${d}`,s60=async(d,c,m)=>g(B0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),T0y=d=>`/invoices/${d}/xrechnung`,o60=async(d,c)=>g(T0y(d),{...c,method:"GET"}),E0y=d=>`/invoices/${d}/zugferd`,i60=async(d,c)=>g(E0y(d),{...c,method:"GET"}),b0y=d=>`/invoices/${d}/versions`,a60=async(d,c)=>g(b0y(d),{...c,method:"GET"}),I0y=(d,c)=>`/invoices/${d}/versions/${c}`,r60=async(d,c,m)=>g(I0y(d,c),{...m,method:"GET"}),f0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invoices/render?${m}`:"/invoices/render"},l60=async(d,c,m)=>g(f0y(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),z0y=d=>`/invoices/${d}/void`,d60=async(d,c,m)=>g(z0y(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),D0y=d=>`/invoices/${d}/fiscalize`,c60=async(d,c)=>g(D0y(d),{...c,method:"POST"}),N0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/html?${f}`:`/documents/${d}/html`},u60=async(d,c,m)=>g(N0y(d,c),{...m,method:"GET"}),M0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/pdf?${f}`:`/documents/${d}/pdf`},p60=async(d,c,m)=>g(M0y(d,c),{...m,method:"GET"});function mn(d,c){let m=URL.createObjectURL(d),f=document.createElement("a");f.href=m,f.download=c,document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(m);}var m60=O(p60),_0y=Object.assign(async(d,c,m,f)=>{let B=await m60(d,m,f);mn(B,c);},{__sdkOptionsIndex:3}),xn={getShareableInvoice:O(YW0),getShareableInvoiceHtml:O(JW0),getShareableInvoicePdf:O($W0),getShareableInvoiceEslog:O(QW0),create:O(XW0),list:J(e60),createCustom:O(t60),get:O(n60),update:O(s60),downloadInvoiceXRechnung:O(o60),downloadInvoiceZugferd:O(i60),getVersions:O(a60),getVersion:O(r60),renderInvoicePreview:O(l60),void:O(d60),fiscalizeInvoice:O(c60),renderHtml:O(u60),renderPdf:m60,downloadPdf:_0y};var h0y=()=>"/items",x60=async(d,c)=>g(h0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),R0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/items?${m}`:"/items"},g60=async(d,c)=>g(R0y(d),{...c,method:"GET"}),U0y=d=>`/items/${d}`,y60=async(d,c,m)=>g(U0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),C0y=d=>`/items/${d}`,O60=async(d,c)=>g(C0y(d),{...c,method:"DELETE"}),P0y=d=>`/items/${d}/restore`,S60=async(d,c)=>g(P0y(d),{...c,method:"POST"}),w0y=d=>`/items/${d}/permanent`,v60=async(d,c)=>g(w0y(d),{...c,method:"DELETE"});var gn={create:O(x60),list:J(g60),update:O(y60),delete:O(O60),restoreItem:O(S60),permanentDeleteItem:O(v60)};var F0y=()=>"/legacy-migration/auth",B60=async(d,c)=>g(F0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),A0y=()=>"/legacy-migration/jobs",T60=async(d,c)=>g(A0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),k0y=()=>"/legacy-migration/jobs",E60=async d=>g(k0y(),{...d,method:"GET"}),j0y=d=>`/legacy-migration/jobs/${d}`,b60=async(d,c)=>g(j0y(d),{...c,method:"GET"});var yn={legacyMigrationAuth:O(B60),create:O(T60),listMigrationJobs:O(E60),getMigrationJob:O(b60)};var L0y=()=>"/locale/detect",I60=async d=>g(L0y(),{...d,method:"GET"});var On={detectLocale:O(I60)};var H0y=()=>"/order-integrations/shopify/authorize",f60=async(d,c)=>g(H0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),G0y=()=>"/order-integrations/woocommerce/authorize",z60=async(d,c)=>g(G0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),K0y=()=>"/order-integrations/shopify/resume-install",D60=async(d,c)=>g(K0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Z0y=d=>`/order-integrations/${d}/sync-shopify`,N60=async(d,c,m)=>g(Z0y(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),V0y=d=>`/order-integrations/${d}/sync`,M60=async(d,c,m)=>g(V0y(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),q0y=()=>"/order-integrations",_60=async(d,c)=>g(q0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),W0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/order-integrations?${m}`:"/order-integrations"},h60=async(d,c)=>g(W0y(d),{...c,method:"GET"}),Y0y=d=>`/order-integrations/${d}`,R60=async(d,c)=>g(Y0y(d),{...c,method:"GET"}),J0y=d=>`/order-integrations/${d}`,U60=async(d,c,m)=>g(J0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),$0y=d=>`/order-integrations/${d}`,C60=async(d,c)=>g($0y(d),{...c,method:"DELETE"});var Sn={authorizeShopify:O(f60),authorizeWooCommerce:O(z60),resumeShopifyInstall:O(D60),syncShopifyOrders:O(N60),syncOrderIntegration:O(M60),create:O(_60),list:J(h60),get:O(R60),update:O(U60),delete:O(C60)};var Q0y=()=>"/orders",P60=async(d,c)=>g(Q0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),X0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/orders?${m}`:"/orders"},w60=async(d,c)=>g(X0y(d),{...c,method:"GET"}),eyy=d=>`/orders/${d}`,F60=async(d,c)=>g(eyy(d),{...c,method:"GET"}),tyy=d=>`/orders/${d}`,A60=async(d,c,m)=>g(tyy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),nyy=d=>`/orders/${d}`,k60=async(d,c)=>g(nyy(d),{...c,method:"DELETE"}),syy=d=>`/orders/${d}/process`,j60=async(d,c)=>g(syy(d),{...c,method:"POST"}),oyy=d=>`/orders/${d}/cancel`,L60=async(d,c)=>g(oyy(d),{...c,method:"POST"}),iyy=d=>`/orders/${d}/reissue`,H60=async(d,c)=>g(iyy(d),{...c,method:"POST"});var vn={create:O(P60),list:J(w60),get:O(F60),update:O(A60),delete:O(k60),processOrder:O(j60),cancelOrder:O(L60),reissueOrder:O(H60)};var ayy=()=>"/payment-reminders/send",G60=async(d,c)=>g(ayy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Bn={sendPaymentReminder:O(G60)};var ryy=()=>"/payments",K60=async(d,c)=>g(ryy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),lyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/payments?${m}`:"/payments"},Z60=async(d,c)=>g(lyy(d),{...c,method:"GET"}),dyy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/payments/${d}?${f}`:`/payments/${d}`},V60=async(d,c,m)=>g(dyy(d,c),{...m,method:"GET"}),cyy=d=>`/payments/${d}`,q60=async(d,c,m)=>g(cyy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),uyy=d=>`/payments/${d}`,W60=async(d,c)=>g(uyy(d),{...c,method:"DELETE"}),pyy=d=>`/payments/${d}/restore`,Y60=async(d,c)=>g(pyy(d),{...c,method:"POST"}),myy=d=>`/payments/${d}/permanent`,J60=async(d,c)=>g(myy(d),{...c,method:"DELETE"});var Tn={create:O(K60),list:J(Z60),get:O(V60),update:O(q60),delete:O(W60),restorePayment:O(Y60),permanentDeletePayment:O(J60)};var xyy=()=>"/fiscalization/pt/atcud-series",$60=async(d,c)=>g(xyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),gyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/fiscalization/pt/atcud-series?${m}`:"/fiscalization/pt/atcud-series"},Q60=async(d,c)=>g(gyy(d),{...c,method:"GET"}),yyy=d=>`/fiscalization/pt/atcud-series/${d}`,X60=async(d,c)=>g(yyy(d),{...c,method:"GET"}),Oyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/fiscalization/pt/atcud-series/active?${m}`:"/fiscalization/pt/atcud-series/active"},e80=async(d,c)=>g(Oyy(d),{...c,method:"POST"});var En={create:O($60),list:J(Q60),get:O(X60),getActive:O(e80)};var Syy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/fiscalization/pt/saft/report?${m}`:"/fiscalization/pt/saft/report"},t80=async(d,c)=>g(Syy(d),{...c,method:"GET"});var bn={generateReport:O(t80)};var vyy=()=>"/recurring-invoices",n80=async(d,c)=>g(vyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Byy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/recurring-invoices?${m}`:"/recurring-invoices"},s80=async(d,c)=>g(Byy(d),{...c,method:"GET"}),Tyy=d=>`/recurring-invoices/${d}`,o80=async(d,c)=>g(Tyy(d),{...c,method:"GET"}),Eyy=d=>`/recurring-invoices/${d}`,i80=async(d,c,m)=>g(Eyy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),byy=d=>`/recurring-invoices/${d}`,a80=async(d,c)=>g(byy(d),{...c,method:"DELETE"}),Iyy=d=>`/recurring-invoices/${d}/restore`,r80=async(d,c)=>g(Iyy(d),{...c,method:"POST"}),fyy=d=>`/recurring-invoices/${d}/permanent`,l80=async(d,c)=>g(fyy(d),{...c,method:"DELETE"}),zyy=d=>`/recurring-invoices/${d}/pause`,d80=async(d,c)=>g(zyy(d),{...c,method:"POST"}),Dyy=d=>`/recurring-invoices/${d}/resume`,c80=async(d,c)=>g(Dyy(d),{...c,method:"POST"}),Nyy=d=>`/recurring-invoices/${d}/trigger`,u80=async(d,c)=>g(Nyy(d),{...c,method:"POST"});var In={create:O(n80),list:J(s80),get:O(o80),update:O(i80),delete:O(a80),restoreRecurringInvoice:O(r80),permanentDeleteRecurringInvoice:O(l80),pauseRecurringInvoice:O(d80),resumeRecurringInvoice:O(c80),triggerRecurringInvoice:O(u80)};var Myy=()=>"/revenue-recognition/settings",p80=async d=>g(Myy(),{...d,method:"GET"}),_yy=()=>"/revenue-recognition/settings",m80=async(d,c)=>g(_yy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),hyy=()=>"/revenue-recognition/backfill",x80=async(d,c)=>g(hyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Ryy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/revenue-recognition/report?${m}`:"/revenue-recognition/report"},g80=async(d,c)=>g(Ryy(d),{...c,method:"GET"}),Uyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/revenue-recognition/details?${m}`:"/revenue-recognition/details"},y80=async(d,c)=>g(Uyy(d),{...c,method:"GET"});var fn={getSettings:O(p80),updateSettings:O(m80),backfill:O(x80),getReport:O(g80),getDetails:O(y80)};var Cyy=()=>"/stripe-app/authorize",O80=async d=>g(Cyy(),{...d,method:"GET"}),Pyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/stripe-app/oauth/callback?${m}`:"/stripe-app/oauth/callback"},S80=async(d,c)=>g(Pyy(d),{...c,method:"GET"}),wyy=()=>"/stripe-app/webhooks",v80=async d=>g(wyy(),{...d,method:"POST"}),Fyy=()=>"/stripe-app/marketplace-authorize",B80=async(d,c)=>g(Fyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Ayy=()=>"/stripe-app/connect",T80=async(d,c)=>g(Ayy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),kyy=()=>"/stripe-app/connection",E80=async d=>g(kyy(),{...d,method:"GET"}),jyy=()=>"/stripe-app/connection",b80=async d=>g(jyy(),{...d,method:"DELETE"}),Lyy=()=>"/stripe-app/settings",I80=async d=>g(Lyy(),{...d,method:"GET"}),Hyy=()=>"/stripe-app/settings",f80=async(d,c)=>g(Hyy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Gyy=()=>"/stripe-app/invoices",z80=async(d,c)=>g(Gyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Kyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/stripe-app/invoices?${m}`:"/stripe-app/invoices"},D80=async(d,c)=>g(Kyy(d),{...c,method:"GET"}),Zyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/stripe-app/invoices/lookup?${m}`:"/stripe-app/invoices/lookup"},N80=async(d,c)=>g(Zyy(d),{...c,method:"GET"}),Vyy=d=>`/stripe-app/invoices/${d}`,M80=async(d,c)=>g(Vyy(d),{...c,method:"GET"}),qyy=()=>"/stripe-app/entity-connection",_80=async d=>g(qyy(),{...d,method:"GET"}),Wyy=()=>"/stripe-app/entity-connection",h80=async d=>g(Wyy(),{...d,method:"DELETE"}),Yyy=()=>"/stripe-app/entity-settings",R80=async d=>g(Yyy(),{...d,method:"GET"}),Jyy=()=>"/stripe-app/entity-settings",U80=async(d,c)=>g(Jyy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var zn={stripeAppAuthorize:O(O80),stripeAppOAuthCallback:O(S80),stripeAppWebhook:O(v80),stripeAppMarketplaceAuthorize:O(B80),stripeAppConnect:O(T80),stripeAppGetConnection:O(E80),stripeAppDisconnect:O(b80),stripeAppGetSettings:O(I80),stripeAppUpdateSettings:O(f80),stripeAppCreateInvoice:O(z80),stripeAppListInvoices:O(D80),stripeAppLookupInvoice:O(N80),stripeAppGetInvoice:O(M80),stripeAppEntityGetConnection:O(_80),stripeAppEntityDisconnect:O(h80),stripeAppEntityGetSettings:O(R80),stripeAppEntityUpdateSettings:O(U80)};var $yy=()=>"/subscriptions",C80=async d=>g($yy(),{...d,method:"GET"}),Qyy=()=>"/subscriptions/spending-limit",P80=async(d,c)=>g(Qyy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Xyy=()=>"/subscriptions/check-entity-limit",w80=async d=>g(Xyy(),{...d,method:"GET"});var Dn={getCurrent:O(C80),update:O(P80),checkEntityLimit:O(w80)};var eOy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/tax-rate-estimates/us?${m}`:"/tax-rate-estimates/us"},F80=async(d,c)=>g(eOy(d),{...c,method:"GET"});var Nn={listUsTaxRateEstimates:O(F80)};var tOy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/tax-reports/kir?${m}`:"/tax-reports/kir"},A80=async(d,c)=>g(tOy(d),{...c,method:"POST"}),nOy=()=>"/tax-reports/si/profile",k80=async d=>g(nOy(),{...d,method:"GET"}),sOy=()=>"/tax-reports/si/profile",j80=async(d,c)=>g(sOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),oOy=()=>"/tax-reports/si/yearly/normirani/review",L80=async(d,c)=>g(oOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),iOy=()=>"/tax-reports/si/yearly/normirani/export",H80=async(d,c)=>g(iOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),aOy=()=>"/tax-reports/si/accounting/vod/export",G80=async(d,c)=>g(aOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Mn={generateKirExport:O(A80),getSloveniaTaxProfile:O(k80),updateSloveniaTaxProfile:O(j80),reviewSloveniaYearlyNormiraniReport:O(L80),exportSloveniaYearlyNormiraniReport:O(H80),exportSloveniaVodXml:O(G80)};var rOy=()=>"/taxes",K80=async(d,c)=>g(rOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),lOy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/taxes?${m}`:"/taxes"},Z80=async(d,c)=>g(lOy(d),{...c,method:"GET"}),dOy=d=>`/taxes/${d}`,V80=async(d,c,m)=>g(dOy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),cOy=d=>`/taxes/${d}`,q80=async(d,c,m)=>g(cOy(d),{...m,method:"PUT",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),uOy=d=>`/taxes/${d}`,W80=async(d,c)=>g(uOy(d),{...c,method:"DELETE"}),pOy=d=>`/taxes/${d}/restore`,Y80=async(d,c)=>g(pOy(d),{...c,method:"POST"}),mOy=d=>`/taxes/${d}/permanent`,J80=async(d,c)=>g(mOy(d),{...c,method:"DELETE"});var _n={create:O(K80),list:J(Z80),update:O(V80),replaceTax:O(q80),delete:O(W80),restoreTax:O(Y80),permanentDeleteTax:O(J80)};var xOy=()=>"/transaction-type/check",$80=async(d,c)=>g(xOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var hn={checkTransactionType:O($80)};var be="https://eu.spaceinvoices.com";var gOy=d=>`/documents/${d}/ujp`,Q80=async(d,c)=>g(gOy(d),{...c,method:"GET"});var Rn={download:O(Q80)};var yOy=()=>"/upload/image",X80=async(d,c)=>{let m=new FormData;return m.append("file",d.file),g(yOy(),{...c,method:"POST",body:m})};var Un={uploadImage:O(X80)};var OOy=()=>"/users/login",e90=async(d,c)=>g(OOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),SOy=()=>"/users/signup",t90=async(d,c)=>g(SOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),vOy=()=>"/users/password-reset",n90=async(d,c)=>g(vOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),BOy=()=>"/users/password-reset/confirm",s90=async(d,c)=>g(BOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),TOy=()=>"/users/me/accounts",o90=async d=>g(TOy(),{...d,method:"GET"}),EOy=()=>"/users/me",i90=async d=>g(EOy(),{...d,method:"GET"}),bOy=()=>"/users/me",a90=async(d,c)=>g(bOy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),IOy=()=>"/users/me/account-deletion",r90=async d=>g(IOy(),{...d,method:"POST"}),fOy=()=>"/users/me/settings/furs",l90=async(d,c)=>g(fOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),zOy=()=>"/users/me/settings/fina",d90=async(d,c)=>g(zOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),DOy=()=>"/users/me/settings/pt",c90=async(d,c)=>g(DOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Cn={login:O(e90),signup:O(t90),requestPasswordReset:O(n90),confirmPasswordReset:O(s90),listMyAccounts:O(o90),getMe:O(i90),update:O(a90),requestAccountDeletion:O(r90),updateFursSettings:O(l90),updateFinaSettings:O(d90),updatePtSettings:O(c90)};var NOy=()=>"/vies/check",u90=async(d,c)=>g(NOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Pn={checkVies:O(u90)};var MOy=()=>"/webhooks",p90=async(d,c)=>g(MOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),_Oy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/webhooks?${m}`:"/webhooks"},m90=async(d,c)=>g(_Oy(d),{...c,method:"GET"}),hOy=d=>`/webhooks/${d}`,x90=async(d,c)=>g(hOy(d),{...c,method:"GET"}),ROy=d=>`/webhooks/${d}`,g90=async(d,c,m)=>g(ROy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),UOy=d=>`/webhooks/${d}`,y90=async(d,c)=>g(UOy(d),{...c,method:"DELETE"}),COy=d=>`/webhooks/${d}/test`,O90=async(d,c)=>g(COy(d),{...c,method:"POST"});var POy=d=>`/webhooks/${d}/rotate-secret`,S90=async(d,c)=>g(POy(d),{...c,method:"POST"});var wn={create:O(p90),list:J(m90),get:O(x90),update:O(g90),delete:O(y90),testWebhook:O(O90),rotateWebhookSecret:O(S90)};var wOy=()=>"/white-label-subscriptions",v90=async d=>g(wOy(),{...d,method:"GET"}),FOy=()=>"/white-label-subscriptions/plans",B90=async d=>g(FOy(),{...d,method:"GET"}),AOy=d=>`/white-label-subscriptions/check-feature/${d}`,T90=async(d,c)=>g(AOy(d),{...c,method:"GET"}),kOy=d=>`/white-label-subscriptions/check-limit/${d}`,E90=async(d,c)=>g(kOy(d),{...c,method:"GET"}),jOy=()=>"/white-label-subscriptions/billing-email",b90=async(d,c)=>g(jOy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Fn={getCurrentWLSubscription:O(v90),list:O(B90),checkWLFeature:O(T90),checkWLLimit:O(E90),update:O(b90)};var LOy=()=>"/white-labels/current",I90=async d=>g(LOy(),{...d,method:"GET"}),HOy=()=>"/white-labels/me",f90=async d=>g(HOy(),{...d,method:"GET"});var An={getCurrentWhiteLabel:O(I90),getMyWhiteLabel:O(f90)};var Ee=class{sdkConfig;accountWebhooks=G(ht,()=>this.sdkConfig);activities=G(Rt,()=>this.sdkConfig);advanceInvoices=G(Ut,()=>this.sdkConfig);businessUnits=G(Ct,()=>this.sdkConfig);companyRegistry=G(Pt,()=>this.sdkConfig);creditNotes=G(wt,()=>this.sdkConfig);currency=G(Ft,()=>this.sdkConfig);customers=G(At,()=>this.sdkConfig);deliveryNotes=G(kt,()=>this.sdkConfig);documents=G(Ht,()=>this.sdkConfig);eInvoicing=G(Gt,()=>this.sdkConfig);eSlog=G(Kt,()=>this.sdkConfig);email=G(Zt,()=>this.sdkConfig);entities=G(Vt,()=>this.sdkConfig);entityApiKeys=G(qt,()=>this.sdkConfig);entityInvitations=G(Wt,()=>this.sdkConfig);entityStats=G(Yt,()=>this.sdkConfig);entityUsers=G(Jt,()=>this.sdkConfig);estimates=G($t,()=>this.sdkConfig);expenses=G(Qt,()=>this.sdkConfig);exports=G(Xt,()=>this.sdkConfig);files=G(en,()=>this.sdkConfig);finaCertificate=G(tn,()=>this.sdkConfig);finaDevices=G(nn,()=>this.sdkConfig);finaPremises=G(sn,()=>this.sdkConfig);finaSettings=G(on,()=>this.sdkConfig);financialCategories=G(an,()=>this.sdkConfig);fursCertificate=G(rn,()=>this.sdkConfig);fursDevices=G(ln,()=>this.sdkConfig);fursInternalAct=G(dn,()=>this.sdkConfig);fursPremises=G(cn,()=>this.sdkConfig);fursSettings=G(un,()=>this.sdkConfig);health=G(pn,()=>this.sdkConfig);invoices=G(xn,()=>this.sdkConfig);items=G(gn,()=>this.sdkConfig);legacyMigration=G(yn,()=>this.sdkConfig);locale=G(On,()=>this.sdkConfig);orderIntegrations=G(Sn,()=>this.sdkConfig);orders=G(vn,()=>this.sdkConfig);paymentReminders=G(Bn,()=>this.sdkConfig);payments=G(Tn,()=>this.sdkConfig);ptAtcudSeries=G(En,()=>this.sdkConfig);ptSafT=G(bn,()=>this.sdkConfig);recurringInvoices=G(In,()=>this.sdkConfig);revenueRecognition=G(fn,()=>this.sdkConfig);stripeApp=G(zn,()=>this.sdkConfig);subscriptions=G(Dn,()=>this.sdkConfig);taxRateEstimates=G(Nn,()=>this.sdkConfig);taxReports=G(Mn,()=>this.sdkConfig);taxes=G(_n,()=>this.sdkConfig);transactionType=G(hn,()=>this.sdkConfig);ujp=G(Rn,()=>this.sdkConfig);upload=G(Un,()=>this.sdkConfig);users=G(Cn,()=>this.sdkConfig);vies=G(Pn,()=>this.sdkConfig);webhooks=G(wn,()=>this.sdkConfig);whiteLabelSubscriptions=G(Fn,()=>this.sdkConfig);whiteLabels=G(An,()=>this.sdkConfig);constructor(c){let m=typeof c=="string"?{accessToken:c}:c,f=typeof m.accessToken=="function"?m.accessToken:()=>m.accessToken;this.sdkConfig={baseUrl:m.basePath??be,getAccessToken:f,clientName:m.clientName??"js-sdk",onUnauthorized:m.onUnauthorized,requestTimeoutMs:m.requestTimeoutMs,accountId:m.accountId??null};}};function GOy(d){let c=typeof d=="string"?{accessToken:d}:d,m=typeof c.accessToken=="function"?c.accessToken:()=>c.accessToken;KZ0({baseUrl:c.basePath??be,getAccessToken:m,clientName:c.clientName??"js-sdk",onUnauthorized:c.onUnauthorized,requestTimeoutMs:c.requestTimeoutMs}),_t(c.accountId??null);}
|
|
179
|
+
Searches across all text fields including names, descriptions, addresses, and metadata values.`),deleted:e__namespace.boolean().optional().describe("When true, returns only soft-deleted (trashed) items. Default false excludes deleted items.")}),Ncy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),n10=36,s10=100,o10=0,i10=100,a10=36,Mcy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(n10),name:e__namespace.string().max(s10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(o10).max(i10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(a10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking")),pagination:e__namespace.object({total:e__namespace.number().describe("Total number of items available in the collection"),next_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e__namespace.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),r10=/^[a-z]{3,4}_[0-9a-f]{24}$/,_cy=e__namespace.object({id:e__namespace.stringFormat("resource-id",r10).describe("Unique resource identifier")}),hcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),l10=0,d10=100,Rcy=e__namespace.object({tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(l10).max(d10),valid_from:e__namespace.iso.datetime({}).nullish()})).min(1),is_default:e__namespace.boolean().optional().describe("Set to true to make this the default tax (unsets other defaults)")}),c10=36,u10=100,p10=0,m10=100,x10=36,Ucy=e__namespace.object({id:e__namespace.string().max(c10),name:e__namespace.string().max(u10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(p10).max(m10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(x10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),g10=/^[a-z]{3,4}_[0-9a-f]{24}$/,Ccy=e__namespace.object({id:e__namespace.stringFormat("resource-id",g10).describe("Unique resource identifier")}),Pcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),y10=100,O10=0,S10=100,wcy=e__namespace.object({name:e__namespace.string().max(y10).optional(),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(O10).max(S10),valid_from:e__namespace.iso.datetime({}).nullish()})).min(1),is_default:e__namespace.boolean().optional().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),v10=36,B10=100,T10=0,E10=100,b10=36,Fcy=e__namespace.object({id:e__namespace.string().max(v10),name:e__namespace.string().max(B10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(T10).max(E10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(b10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),I10=/^[a-z]{3,4}_[0-9a-f]{24}$/,Acy=e__namespace.object({id:e__namespace.stringFormat("resource-id",I10).describe("Unique resource identifier")}),kcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),f10=/^[a-z]{3,4}_[0-9a-f]{24}$/,jcy=e__namespace.object({id:e__namespace.stringFormat("resource-id",f10).describe("Unique resource identifier")}),Lcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),z10=36,D10=100,N10=0,M10=100,_10=36,Hcy=e__namespace.object({id:e__namespace.string().max(z10),name:e__namespace.string().max(D10),tax_rates:e__namespace.array(e__namespace.object({rate:e__namespace.number().min(N10).max(M10),valid_from:e__namespace.iso.datetime({})})).describe("Tax rate history"),is_default:e__namespace.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e__namespace.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),pt_exemption_code:e__namespace.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e__namespace.string().nullish().describe("Portugal exemption reason associated with pt_exemption_code."),entity_id:e__namespace.string().max(_10),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),deleted_at:e__namespace.iso.datetime({}).nullish(),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Tax definition with rate history").and(e__namespace.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),h10=/^[a-z]{3,4}_[0-9a-f]{24}$/,Gcy=e__namespace.object({id:e__namespace.stringFormat("resource-id",h10).describe("Unique resource identifier")}),Kcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")});var Bt={};K(Bt,{CheckTransactionTypeBody:()=>Zcy,CheckTransactionTypeResponse:()=>Vcy,checkTransactionTypeBodyCustomerCountryCodeMax:()=>w10,checkTransactionTypeBodyCustomerCountryCodeMin:()=>P10,checkTransactionTypeBodyIssuerCountryCodeMax:()=>U10,checkTransactionTypeBodyIssuerCountryCodeMin:()=>R10,checkTransactionTypeBodyIssuerIsTaxSubjectDefault:()=>C10,checkTransactionTypeResponseCustomerCountryCodeMax:()=>j10,checkTransactionTypeResponseCustomerCountryCodeMin:()=>k10,checkTransactionTypeResponseIssuerCountryCodeMax:()=>A10,checkTransactionTypeResponseIssuerCountryCodeMin:()=>F10});var R10=2,U10=2,C10=true,P10=2,w10=2,Zcy=e__namespace.object({issuer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland', 'Slovenija'). Automatically resolved to country_code."),country_code:e__namespace.string().min(R10).max(U10).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),is_tax_subject:e__namespace.boolean().default(C10).describe("Whether the issuer is a tax subject. Set false for small businesses or tax-exempt organizations.")}).describe("Issuer (seller) information"),customer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland'). Automatically resolved to country_code."),country_code:e__namespace.string().min(P10).max(w10).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),tax_number:e__namespace.string().optional().describe("Customer tax number (with or without country prefix)"),is_end_consumer:e__namespace.boolean().optional().describe("Whether the customer is an end consumer (B2C override). When true, forces B2C classification for non-EU transactions even if customer has a tax number. For intra-EU, VIES validation takes precedence.")}).describe("Customer (buyer) information")}),F10=2,A10=2,k10=2,j10=2,Vcy=e__namespace.object({transaction_type:e__namespace.union([e__namespace.literal("domestic"),e__namespace.literal("intra_eu_b2b"),e__namespace.literal("intra_eu_b2c"),e__namespace.literal("3w_b2b"),e__namespace.literal("3w_b2c"),e__namespace.literal(null)]).nullable().describe("Determined transaction type based on geography and tax status. 3w_b2b/3w_b2c = third-world (non-EU) B2B/B2C."),reverse_charge_applies:e__namespace.boolean().describe("Whether reverse charge should be applied (0% tax with reverse charge note)"),issuer_country_code:e__namespace.string().min(F10).max(A10).nullable().describe("Resolved issuer country code"),customer_country_code:e__namespace.string().min(k10).max(j10).nullable().describe("Resolved customer country code"),vies_valid:e__namespace.boolean().nullable().describe("VIES validation result (true if tax number is valid, null if not checked)"),warning:e__namespace.string().nullable().describe("Warning message if VIES validation was unavailable or tax number was invalid"),is_tax_subject:e__namespace.boolean().optional().describe("False when issuer is not a tax subject (transaction treated as B2C)")});var Tt={};K(Tt,{DownloadUjpPackageHeader:()=>Wcy,DownloadUjpPackageParams:()=>qcy});var qcy=e__namespace.object({id:e__namespace.string().describe("Document ID. The document type is detected from the ID prefix.")}),Wcy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")});var Et={};K(Et,{UploadImageBody:()=>Jcy,UploadImageHeader:()=>Ycy,UploadImageResponse:()=>$cy});var Ycy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Jcy=e__namespace.object({file:e__namespace.custom(d=>typeof File<"u"&&d instanceof File,"Input not instance of File").describe("Image file to upload (PNG, JPG, WEBP, GIF)")}),$cy=e__namespace.object({url:e__namespace.url().describe("Public URL of the uploaded image"),secure_url:e__namespace.url().optional().describe("Secure HTTPS URL of the uploaded image"),public_id:e__namespace.string().optional().describe("Storage object key for future reference/deletion"),secureUrl:e__namespace.url().describe("Deprecated compatibility alias for secure_url. Use secure_url for new integrations."),publicId:e__namespace.string().describe("Deprecated compatibility alias for public_id. Use public_id for new integrations."),format:e__namespace.string().describe("Image format (jpg, png, webp, etc.)"),width:e__namespace.number().describe("Image width in pixels"),height:e__namespace.number().describe("Image height in pixels"),bytes:e__namespace.number().describe("File size in bytes"),entity_id:e__namespace.string().describe("Entity ID that the image belongs to")});var bt={};K(bt,{ConfirmPasswordResetBody:()=>suy,ConfirmPasswordResetResponse:()=>ouy,GetMeResponse:()=>auy,ListMyAccountsResponse:()=>iuy,LoginBody:()=>Qcy,LoginResponse:()=>Xcy,PatchMeBody:()=>ruy,PatchMeResponse:()=>luy,RequestPasswordResetBody:()=>tuy,RequestPasswordResetResponse:()=>nuy,SignupBody:()=>euy,UpdateUserFinaSettingsBody:()=>muy,UpdateUserFinaSettingsHeader:()=>puy,UpdateUserFinaSettingsResponse:()=>xuy,UpdateUserFursSettingsBody:()=>cuy,UpdateUserFursSettingsHeader:()=>duy,UpdateUserFursSettingsResponse:()=>uuy,UpdateUserPtSettingsBody:()=>yuy,UpdateUserPtSettingsHeader:()=>guy,UpdateUserPtSettingsResponse:()=>Ouy,confirmPasswordResetBodyPasswordMin:()=>X10,confirmPasswordResetBodyPasswordRegExp:()=>eK0,getMeResponseAccountIdMax:()=>oK0,getMeResponseEmailMax:()=>nK0,getMeResponseIdMax:()=>tK0,getMeResponseNameMax:()=>sK0,loginResponseOneIdMax:()=>L10,loginResponseOneImpersonatorUserIdMax:()=>Z10,loginResponseOneScopeMax:()=>K10,loginResponseOneTtlDefault:()=>G10,loginResponseOneUserIdMax:()=>H10,loginResponseTwoUserAccountIdMax:()=>Y10,loginResponseTwoUserEmailMax:()=>q10,loginResponseTwoUserIdMax:()=>V10,loginResponseTwoUserNameMax:()=>W10,patchMeBodyNameMin:()=>iK0,patchMeResponseAccountIdMax:()=>dK0,patchMeResponseEmailMax:()=>rK0,patchMeResponseIdMax:()=>aK0,patchMeResponseNameMax:()=>lK0,signupBodyNameMin:()=>J10,signupBodyPasswordMin:()=>$10,signupBodyPasswordRegExp:()=>Q10,updateUserFinaSettingsResponseAccountIdMax:()=>OK0,updateUserFinaSettingsResponseEmailMax:()=>gK0,updateUserFinaSettingsResponseIdMax:()=>xK0,updateUserFinaSettingsResponseNameMax:()=>yK0,updateUserFursSettingsResponseAccountIdMax:()=>mK0,updateUserFursSettingsResponseEmailMax:()=>uK0,updateUserFursSettingsResponseIdMax:()=>cK0,updateUserFursSettingsResponseNameMax:()=>pK0,updateUserPtSettingsResponseAccountIdMax:()=>TK0,updateUserPtSettingsResponseEmailMax:()=>vK0,updateUserPtSettingsResponseIdMax:()=>SK0,updateUserPtSettingsResponseNameMax:()=>BK0});var Qcy=e__namespace.object({email:e__namespace.email(),password:e__namespace.string()}),L10=100,H10=36,G10=31536e3,K10=50,Z10=36,V10=36,q10=255,W10=255,Y10=36,Xcy=e__namespace.object({id:e__namespace.string().max(L10),user_id:e__namespace.string().max(H10),ttl:e__namespace.number().default(G10).describe("Token time-to-live in seconds"),scope:e__namespace.string().max(K10).nullish(),created_at:e__namespace.iso.datetime({}),impersonator_user_id:e__namespace.string().max(Z10).nullish(),updated_at:e__namespace.iso.datetime({})}).describe("Access token for authentication").and(e__namespace.object({user:e__namespace.object({id:e__namespace.string().max(V10),email:e__namespace.string().max(q10),name:e__namespace.string().max(W10).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(Y10).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),redirect_origin:e__namespace.string().nullish()})).describe("Access token for authentication"),J10=2,$10=8,Q10=/[a-z]/,euy=e__namespace.object({email:e__namespace.email(),name:e__namespace.string().min(J10).nullish(),password:e__namespace.string().min($10).regex(Q10),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]).optional(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),company_name:e__namespace.string().min(1).optional(),account_invitation_token:e__namespace.string().min(1).optional()}),tuy=e__namespace.object({email:e__namespace.email()}),nuy=e__namespace.object({message:e__namespace.string()}),X10=8,eK0=/[a-z]/,suy=e__namespace.object({token:e__namespace.string().min(1),password:e__namespace.string().min(X10).regex(eK0)}),ouy=e__namespace.object({message:e__namespace.string()}),iuy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string(),name:e__namespace.string(),role:e__namespace.enum(["owner","admin","member"]),external_analytics:e__namespace.boolean().optional().describe("Whether external analytics is enabled for this account.")}))}),tK0=36,nK0=255,sK0=255,oK0=36,auy=e__namespace.object({id:e__namespace.string().max(tK0),email:e__namespace.string().max(nK0),name:e__namespace.string().max(sK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(oK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),iK0=2,ruy=e__namespace.object({name:e__namespace.string().min(iK0).nullish().describe("User display name"),locale:e__namespace.union([e__namespace.literal("en"),e__namespace.literal("de"),e__namespace.literal("sl"),e__namespace.literal("it"),e__namespace.literal("fr"),e__namespace.literal("es"),e__namespace.literal("pt"),e__namespace.literal("nl"),e__namespace.literal("pl"),e__namespace.literal("hr"),e__namespace.literal("sv"),e__namespace.literal("fi"),e__namespace.literal("et"),e__namespace.literal("bg"),e__namespace.literal("cs"),e__namespace.literal("sk"),e__namespace.literal("nb"),e__namespace.literal("is"),e__namespace.literal(null)]).nullish().describe("Preferred UI language. When omitted or null, the current preference is left unchanged.")}),aK0=36,rK0=255,lK0=255,dK0=36,luy=e__namespace.object({id:e__namespace.string().max(aK0),email:e__namespace.string().max(rK0),name:e__namespace.string().max(lK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(dK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),duy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),cuy=e__namespace.object({operator_tax_number:e__namespace.string().optional().describe("Operator tax number for FURS fiscalization"),operator_label:e__namespace.string().optional().describe("Operator label/name for FURS fiscalization")}).describe("Update user FURS operator settings for a specific entity"),cK0=36,uK0=255,pK0=255,mK0=36,uuy=e__namespace.object({id:e__namespace.string().max(cK0),email:e__namespace.string().max(uK0),name:e__namespace.string().max(pK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(mK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),puy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),muy=e__namespace.object({operator_oib:e__namespace.string().optional().describe("Operator OIB for FINA fiscalization"),operator_label:e__namespace.string().optional().describe("Operator label/name for FINA fiscalization")}).describe("Update user FINA operator settings for a specific entity"),xK0=36,gK0=255,yK0=255,OK0=36,xuy=e__namespace.object({id:e__namespace.string().max(xK0),email:e__namespace.string().max(gK0),name:e__namespace.string().max(yK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(OK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}),guy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),yuy=e__namespace.object({operator_first_name:e__namespace.string().optional().describe("PT operator first name"),operator_last_name:e__namespace.string().optional().describe("PT operator last name"),operator_tax_number:e__namespace.string().optional().describe("PT operator tax number"),account_first_name:e__namespace.string().optional().describe("Deprecated alias for PT operator first name"),account_last_name:e__namespace.string().optional().describe("Deprecated alias for PT operator last name"),account_tax_number:e__namespace.string().optional().describe("Deprecated alias for PT operator tax number")}).describe("Update user PT operator settings for a specific entity"),SK0=36,vK0=255,BK0=255,TK0=36,Ouy=e__namespace.object({id:e__namespace.string().max(SK0),email:e__namespace.string().max(vK0),name:e__namespace.string().max(BK0).nullish(),email_verified:e__namespace.boolean(),account_id:e__namespace.string().max(TK0).nullish(),settings:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),metadata:e__namespace.union([e__namespace.string(),e__namespace.number(),e__namespace.boolean(),e__namespace.null(),e__namespace.record(e__namespace.string(),e__namespace.unknown()),e__namespace.array(e__namespace.unknown())]),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})});var It={};K(It,{CheckViesBody:()=>Suy,CheckViesResponse:()=>vuy,checkViesBodyCustomerCountryCodeMax:()=>zK0,checkViesBodyCustomerCountryCodeMin:()=>fK0,checkViesBodyIssuerCountryCodeMax:()=>bK0,checkViesBodyIssuerCountryCodeMin:()=>EK0,checkViesBodyIssuerIsTaxSubjectDefault:()=>IK0,checkViesResponseCustomerCountryCodeMax:()=>_K0,checkViesResponseCustomerCountryCodeMin:()=>MK0,checkViesResponseIssuerCountryCodeMax:()=>NK0,checkViesResponseIssuerCountryCodeMin:()=>DK0});var EK0=2,bK0=2,IK0=true,fK0=2,zK0=2,Suy=e__namespace.object({issuer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland', 'Slovenija'). Automatically resolved to country_code."),country_code:e__namespace.string().min(EK0).max(bK0).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),is_tax_subject:e__namespace.boolean().default(IK0).describe("Whether the issuer is a tax subject. Set false for small businesses or tax-exempt organizations.")}).describe("Issuer (seller) information"),customer:e__namespace.object({country:e__namespace.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland'). Automatically resolved to country_code."),country_code:e__namespace.string().min(fK0).max(zK0).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),tax_number:e__namespace.string().optional().describe("Customer tax number (with or without country prefix)"),is_end_consumer:e__namespace.boolean().optional().describe("Whether the customer is an end consumer (B2C override). When true, forces B2C classification for non-EU transactions even if customer has a tax number. For intra-EU, VIES validation takes precedence.")}).describe("Customer (buyer) information")}),DK0=2,NK0=2,MK0=2,_K0=2,vuy=e__namespace.object({transaction_type:e__namespace.union([e__namespace.literal("domestic"),e__namespace.literal("intra_eu_b2b"),e__namespace.literal("intra_eu_b2c"),e__namespace.literal("3w_b2b"),e__namespace.literal("3w_b2c"),e__namespace.literal(null)]).nullable().describe("Determined transaction type based on geography and tax status. 3w_b2b/3w_b2c = third-world (non-EU) B2B/B2C."),reverse_charge_applies:e__namespace.boolean().describe("Whether reverse charge should be applied (0% tax with reverse charge note)"),issuer_country_code:e__namespace.string().min(DK0).max(NK0).nullable().describe("Resolved issuer country code"),customer_country_code:e__namespace.string().min(MK0).max(_K0).nullable().describe("Resolved customer country code"),vies_valid:e__namespace.boolean().nullable().describe("VIES validation result (true if tax number is valid, null if not checked)"),warning:e__namespace.string().nullable().describe("Warning message if VIES validation was unavailable or tax number was invalid"),is_tax_subject:e__namespace.boolean().optional().describe("False when issuer is not a tax subject (transaction treated as B2C)")});var ft={};K(ft,{CreateWebhookBody:()=>Tuy,CreateWebhookHeader:()=>Buy,DeleteWebhookHeader:()=>Uuy,DeleteWebhookParams:()=>Ruy,DeleteWebhookResponse:()=>Cuy,GetWebhookByIdHeader:()=>zuy,GetWebhookByIdParams:()=>fuy,GetWebhookByIdResponse:()=>Duy,GetWebhookDeliveriesHeader:()=>juy,GetWebhookDeliveriesParams:()=>Auy,GetWebhookDeliveriesQueryParams:()=>kuy,GetWebhookDeliveriesResponse:()=>Luy,GetWebhooksHeader:()=>buy,GetWebhooksQueryParams:()=>Euy,GetWebhooksResponse:()=>Iuy,RotateWebhookSecretHeader:()=>Guy,RotateWebhookSecretParams:()=>Huy,RotateWebhookSecretResponse:()=>Kuy,TestWebhookHeader:()=>wuy,TestWebhookParams:()=>Puy,TestWebhookResponse:()=>Fuy,UpdateWebhookBody:()=>_uy,UpdateWebhookHeader:()=>Muy,UpdateWebhookParams:()=>Nuy,UpdateWebhookResponse:()=>huy,createWebhookBodyActiveDefault:()=>UK0,createWebhookBodyDescriptionMax:()=>RK0,createWebhookBodyUrlMax:()=>hK0,deleteWebhookPathIdRegExp:()=>tZ0,getWebhookByIdPathIdRegExp:()=>LK0,getWebhookByIdResponseDescriptionMax:()=>ZK0,getWebhookByIdResponseEntityIdMax:()=>GK0,getWebhookByIdResponseIdMax:()=>HK0,getWebhookByIdResponseMetadataDefault:()=>VK0,getWebhookByIdResponseUrlMax:()=>KK0,getWebhookDeliveriesPathIdRegExp:()=>OZ0,getWebhookDeliveriesQueryLimitDefault:()=>SZ0,getWebhookDeliveriesQueryLimitMax:()=>vZ0,getWebhookDeliveriesResponseDataItemAttemptMax:()=>MZ0,getWebhookDeliveriesResponseDataItemAttemptMin:()=>NZ0,getWebhookDeliveriesResponseDataItemDurationMsMax:()=>UZ0,getWebhookDeliveriesResponseDataItemDurationMsMin:()=>RZ0,getWebhookDeliveriesResponseDataItemEntityIdMax:()=>EZ0,getWebhookDeliveriesResponseDataItemErrorMessageMax:()=>DZ0,getWebhookDeliveriesResponseDataItemEventTypeMax:()=>bZ0,getWebhookDeliveriesResponseDataItemIdMax:()=>BZ0,getWebhookDeliveriesResponseDataItemMaxAttemptsMax:()=>hZ0,getWebhookDeliveriesResponseDataItemMaxAttemptsMin:()=>_Z0,getWebhookDeliveriesResponseDataItemResponseBodyMax:()=>zZ0,getWebhookDeliveriesResponseDataItemResponseStatusMax:()=>fZ0,getWebhookDeliveriesResponseDataItemResponseStatusMin:()=>IZ0,getWebhookDeliveriesResponseDataItemWebhookIdMax:()=>TZ0,getWebhooksQueryLimitDefault:()=>CK0,getWebhooksQueryLimitMax:()=>PK0,getWebhooksResponseDataItemDescriptionMax:()=>kK0,getWebhooksResponseDataItemEntityIdMax:()=>FK0,getWebhooksResponseDataItemIdMax:()=>wK0,getWebhooksResponseDataItemMetadataDefault:()=>jK0,getWebhooksResponseDataItemUrlMax:()=>AK0,rotateWebhookSecretPathIdRegExp:()=>CZ0,rotateWebhookSecretResponseDescriptionMax:()=>AZ0,rotateWebhookSecretResponseEntityIdMax:()=>wZ0,rotateWebhookSecretResponseIdMax:()=>PZ0,rotateWebhookSecretResponseMetadataDefault:()=>jZ0,rotateWebhookSecretResponseSecretMax:()=>kZ0,rotateWebhookSecretResponseUrlMax:()=>FZ0,testWebhookPathIdRegExp:()=>nZ0,testWebhookResponseAttemptMax:()=>pZ0,testWebhookResponseAttemptMin:()=>uZ0,testWebhookResponseDurationMsMax:()=>yZ0,testWebhookResponseDurationMsMin:()=>gZ0,testWebhookResponseEntityIdMax:()=>iZ0,testWebhookResponseErrorMessageMax:()=>cZ0,testWebhookResponseEventTypeMax:()=>aZ0,testWebhookResponseIdMax:()=>sZ0,testWebhookResponseMaxAttemptsMax:()=>xZ0,testWebhookResponseMaxAttemptsMin:()=>mZ0,testWebhookResponseResponseBodyMax:()=>dZ0,testWebhookResponseResponseStatusMax:()=>lZ0,testWebhookResponseResponseStatusMin:()=>rZ0,testWebhookResponseWebhookIdMax:()=>oZ0,updateWebhookBodyDescriptionMax:()=>YK0,updateWebhookBodyUrlMax:()=>WK0,updateWebhookPathIdRegExp:()=>qK0,updateWebhookResponseDescriptionMax:()=>XK0,updateWebhookResponseEntityIdMax:()=>$K0,updateWebhookResponseIdMax:()=>JK0,updateWebhookResponseMetadataDefault:()=>eZ0,updateWebhookResponseUrlMax:()=>QK0});var Buy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),hK0=2048,RK0=500,UK0=true,Tuy=e__namespace.object({url:e__namespace.url().max(hK0).describe("The HTTPS URL to send webhook events to. Cannot target localhost, private IPs, or internal domains."),description:e__namespace.string().max(RK0).optional().describe("Optional description for this webhook"),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])).min(1).describe("Events that trigger this webhook"),active:e__namespace.boolean().default(UK0).describe("Whether webhook is active"),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),CK0=10,PK0=100,Euy=e__namespace.object({limit:e__namespace.number().min(1).max(PK0).default(CK0).describe("Number of results per request."),next_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e__namespace.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance.")}),buy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),wK0=36,FK0=36,AK0=2048,kK0=500,jK0={},Iuy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(wK0),entity_id:e__namespace.string().max(FK0),url:e__namespace.string().max(AK0),description:e__namespace.string().max(kK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(jK0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({}),secret:e__namespace.string().describe("Masked secret (only shown on create and rotate)")}).describe("Webhook endpoint (secret masked)")),pagination:e__namespace.object({total:e__namespace.number().describe("Total number of items available in the collection"),next_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e__namespace.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),LK0=/^[a-z]{3,4}_[0-9a-f]{24}$/,fuy=e__namespace.object({id:e__namespace.stringFormat("resource-id",LK0).describe("Unique resource identifier")}),zuy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),HK0=36,GK0=36,KK0=2048,ZK0=500,VK0={},Duy=e__namespace.object({id:e__namespace.string().max(HK0),entity_id:e__namespace.string().max(GK0),url:e__namespace.string().max(KK0),description:e__namespace.string().max(ZK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(VK0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({}),secret:e__namespace.string().describe("Masked secret (only shown on create and rotate)")}).describe("Webhook endpoint (secret masked)"),qK0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Nuy=e__namespace.object({id:e__namespace.stringFormat("resource-id",qK0).describe("Unique resource identifier")}),Muy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),WK0=2048,YK0=500,_uy=e__namespace.object({url:e__namespace.url().max(WK0).optional().describe("The HTTPS URL to send webhook events to. Cannot target localhost, private IPs, or internal domains."),description:e__namespace.string().max(YK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])).min(1).optional(),active:e__namespace.boolean().optional(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),JK0=36,$K0=36,QK0=2048,XK0=500,eZ0={},huy=e__namespace.object({id:e__namespace.string().max(JK0),entity_id:e__namespace.string().max($K0),url:e__namespace.string().max(QK0),description:e__namespace.string().max(XK0).nullish(),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(eZ0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({}),secret:e__namespace.string().describe("Masked secret (only shown on create and rotate)")}).describe("Webhook endpoint (secret masked)"),tZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Ruy=e__namespace.object({id:e__namespace.stringFormat("resource-id",tZ0).describe("Unique resource identifier")}),Uuy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Cuy=e__namespace.object({success:e__namespace.boolean()}),nZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Puy=e__namespace.object({id:e__namespace.stringFormat("resource-id",nZ0).describe("Unique resource identifier")}),wuy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),sZ0=36,oZ0=36,iZ0=36,aZ0=100,rZ0=-2147483648,lZ0=2147483647,dZ0=1e4,cZ0=2e3,uZ0=-2147483648,pZ0=2147483647,mZ0=-2147483648,xZ0=2147483647,gZ0=-2147483648,yZ0=2147483647,Fuy=e__namespace.object({id:e__namespace.string().max(sZ0),webhook_id:e__namespace.string().max(oZ0),entity_id:e__namespace.string().max(iZ0),event_type:e__namespace.string().max(aZ0),status:e__namespace.enum(["pending","success","failed"]),request_body:e__namespace.record(e__namespace.string(),e__namespace.unknown()),response_status:e__namespace.number().min(rZ0).max(lZ0).nullish(),response_body:e__namespace.string().max(dZ0).nullish(),error_message:e__namespace.string().max(cZ0).nullish(),attempt:e__namespace.number().min(uZ0).max(pZ0),max_attempts:e__namespace.number().min(mZ0).max(xZ0),next_retry_at:e__namespace.iso.datetime({}).nullish(),duration_ms:e__namespace.number().min(gZ0).max(yZ0).nullish(),created_at:e__namespace.iso.datetime({}),completed_at:e__namespace.iso.datetime({}).nullish()}).describe("Webhook delivery attempt record"),OZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Auy=e__namespace.object({id:e__namespace.stringFormat("resource-id",OZ0).describe("Unique resource identifier")}),SZ0=10,vZ0=100,kuy=e__namespace.object({limit:e__namespace.number().min(1).max(vZ0).default(SZ0).describe("Number of results per request."),next_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e__namespace.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e__namespace.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance.")}),juy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),BZ0=36,TZ0=36,EZ0=36,bZ0=100,IZ0=-2147483648,fZ0=2147483647,zZ0=1e4,DZ0=2e3,NZ0=-2147483648,MZ0=2147483647,_Z0=-2147483648,hZ0=2147483647,RZ0=-2147483648,UZ0=2147483647,Luy=e__namespace.object({data:e__namespace.array(e__namespace.object({id:e__namespace.string().max(BZ0),webhook_id:e__namespace.string().max(TZ0),entity_id:e__namespace.string().max(EZ0),event_type:e__namespace.string().max(bZ0),status:e__namespace.enum(["pending","success","failed"]),request_body:e__namespace.record(e__namespace.string(),e__namespace.unknown()),response_status:e__namespace.number().min(IZ0).max(fZ0).nullish(),response_body:e__namespace.string().max(zZ0).nullish(),error_message:e__namespace.string().max(DZ0).nullish(),attempt:e__namespace.number().min(NZ0).max(MZ0),max_attempts:e__namespace.number().min(_Z0).max(hZ0),next_retry_at:e__namespace.iso.datetime({}).nullish(),duration_ms:e__namespace.number().min(RZ0).max(UZ0).nullish(),created_at:e__namespace.iso.datetime({}),completed_at:e__namespace.iso.datetime({}).nullish()}).describe("Webhook delivery attempt record")),pagination:e__namespace.object({total:e__namespace.number().describe("Total number of items available in the collection"),next_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e__namespace.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e__namespace.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),CZ0=/^[a-z]{3,4}_[0-9a-f]{24}$/,Huy=e__namespace.object({id:e__namespace.stringFormat("resource-id",CZ0).describe("Unique resource identifier")}),Guy=e__namespace.object({"x-entity-id":e__namespace.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),PZ0=36,wZ0=36,FZ0=2048,AZ0=500,kZ0=64,jZ0={},Kuy=e__namespace.object({id:e__namespace.string().max(PZ0),entity_id:e__namespace.string().max(wZ0),url:e__namespace.string().max(FZ0),description:e__namespace.string().max(AZ0).nullish(),secret:e__namespace.string().max(kZ0),events:e__namespace.array(e__namespace.enum(["invoice.created","invoice.updated","invoice.sent","invoice.paid","invoice.overdue","invoice.cancelled","invoice.deleted","invoice.restored","invoice.voided","invoice.finalized","customer.created","customer.updated","customer.deleted","customer.restored","customer.permanently_deleted","payment.received","payment.failed","payment.deleted","payment.restored","payment.permanently_deleted","estimate.created","estimate.sent","estimate.accepted","estimate.rejected","estimate.deleted","estimate.restored","credit_note.created","credit_note.issued","credit_note.voided","credit_note.deleted","credit_note.restored","advance_invoice.created","advance_invoice.paid","advance_invoice.applied","advance_invoice.voided","advance_invoice.deleted","advance_invoice.restored","item.created","item.updated","item.deleted","item.restored","item.permanently_deleted","tax.created","tax.updated","tax.deleted","tax.restored","tax.permanently_deleted","recurring_invoice.created","recurring_invoice.updated","recurring_invoice.deleted","recurring_invoice.restored","recurring_invoice.permanently_deleted","recurring_invoice.paused","recurring_invoice.resumed","recurring_invoice.invoice_generated","recurring_invoice.generation_failed","recurring_invoice.completed","stripe_app.connected","stripe_app.disconnected","stripe_app.settings_updated","order.created","order.updated","order.deleted","order.restored","order.permanently_deleted","order.processed","order.cancelled","order.failed","order_integration.created","order_integration.updated","order_integration.deleted","delivery_note.created","delivery_note.sent","delivery_note.cancelled","delivery_note.voided","delivery_note.deleted","delivery_note.restored","expense.created","expense.updated","expense.finalized","expense.voided","expense.deleted","e_invoicing.submission.created","e_invoicing.submission.delivered","e_invoicing.submission.failed","e_invoicing.enrollment.verified","e_invoicing.enrollment.rejected","e_invoicing.supplier.onboarded","e_invoicing.supplier.rejected"])),active:e__namespace.boolean(),metadata:e__namespace.record(e__namespace.string(),e__namespace.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").default(jZ0).describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),created_at:e__namespace.iso.datetime({}),updated_at:e__namespace.iso.datetime({})}).describe("Webhook endpoint with full secret visible");var zt={};K(zt,{CheckWLFeatureParams:()=>quy,CheckWLFeatureResponse:()=>Wuy,CheckWLLimitParams:()=>Yuy,CheckWLLimitResponse:()=>Juy,GetCurrentWLSubscriptionResponse:()=>Zuy,GetWLSubscriptionPlansResponse:()=>Vuy,UpdateWLSubscriptionBillingEmailBody:()=>$uy,UpdateWLSubscriptionBillingEmailResponse:()=>Quy,getCurrentWLSubscriptionResponseUsageEInvoicingSendCountDefault:()=>LZ0,getCurrentWLSubscriptionResponseUsageEInvoicingSendsIncludedDefault:()=>HZ0});var LZ0=0,HZ0=null,Zuy=e__namespace.object({plan:e__namespace.object({id:e__namespace.string().describe("Unique plan ID"),slug:e__namespace.string().describe("Plan slug"),name:e__namespace.string().describe("Display name"),billing_interval:e__namespace.string().nullable().describe('Billing interval: "monthly", "yearly", or null for free plans'),base_price_cents:e__namespace.number().nullable().describe("Price in cents. Null for free plans."),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for this plan in the current billing profile."),limits:e__namespace.union([e__namespace.object({documents_per_month:e__namespace.number().nullable().describe("Maximum documents per month (backward compat). Null means unlimited."),invoices_per_month:e__namespace.number().nullable().describe("Maximum invoices per month. Null means unlimited."),overage_price_cents:e__namespace.number().nullable().describe("Overage price in cents per document. Null means hard block."),annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly plan price in cents. Null uses twelve monthly payments with a 20% yearly discount."),included_store_count:e__namespace.number().nullable().describe("Number of connected stores included in the base plan."),extra_store_price_cents:e__namespace.number().nullable().describe("Monthly price in cents for each additional connected store."),extra_store_annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly price in cents for each additional connected store. Null uses twelve monthly payments with a 20% yearly discount."),extra_store_invoices_per_month:e__namespace.number().nullable().describe("Pooled invoice allowance added by each additional store."),e_invoicing_sends_included:e__namespace.number().nullable().describe("Peppol sends included per month. Null means the plan does not configure Peppol metering."),e_invoicing_send_price_cents:e__namespace.number().nullable().describe("Overage price in cents per successful live Peppol send.")}),e__namespace.null()]),features:e__namespace.array(e__namespace.string()).describe("List of features included. Empty array means all features."),is_free:e__namespace.boolean().describe("Whether this is a free plan"),display_order:e__namespace.number().describe("Display order for sorting")}).describe("A subscription plan for a white-label product"),status:e__namespace.string().describe("Subscription status"),billing_interval:e__namespace.string().nullable().describe("Current billing interval"),current_period_start:e__namespace.string().describe("Current period start date (ISO 8601)"),current_period_end:e__namespace.string().describe("Current period end date (ISO 8601)"),payment_provider:e__namespace.enum(["stripe","paypal","bank","braintree"]).describe("Billing provider used for this subscription"),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for subscription billing."),billing_profile:e__namespace.enum(["default","us_company"]).describe("Resolved billing profile for this subscription."),allowed_payment_providers:e__namespace.array(e__namespace.enum(["stripe","paypal","bank"])).describe("Payment providers allowed for the resolved billing profile."),stripe_publishable_key_kind:e__namespace.enum(["default","us_company"]).describe("Frontend-safe selector for which Stripe publishable key to use."),bank_reference:e__namespace.string().nullable().describe("Stable bank-transfer payment reference for Apollo subscriptions"),billing_email:e__namespace.string().nullable().describe("Billing email used for subscription notifications and invoices"),coupon_code:e__namespace.string().nullable().describe('Applied saved coupon code for the base plan price, e.g. "COUPON_50".'),trial_ends_at:e__namespace.string().nullable().describe("Trial end date (ISO 8601). Null if not on trial."),trial_days_remaining:e__namespace.number().nullable().describe("Days remaining in trial. Null if not on trial."),trial_started_now:e__namespace.boolean().describe("True only when this request created the trial subscription."),cancel_at:e__namespace.string().nullable().describe("Scheduled cancellation date (ISO 8601). Null if not scheduled."),scheduled_change:e__namespace.object({plan:e__namespace.object({id:e__namespace.string().describe("Unique plan ID"),slug:e__namespace.string().describe("Plan slug"),name:e__namespace.string().describe("Display name"),billing_interval:e__namespace.string().nullable().describe('Billing interval: "monthly", "yearly", or null for free plans'),base_price_cents:e__namespace.number().nullable().describe("Price in cents. Null for free plans."),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for this plan in the current billing profile."),limits:e__namespace.union([e__namespace.object({documents_per_month:e__namespace.number().nullable().describe("Maximum documents per month (backward compat). Null means unlimited."),invoices_per_month:e__namespace.number().nullable().describe("Maximum invoices per month. Null means unlimited."),overage_price_cents:e__namespace.number().nullable().describe("Overage price in cents per document. Null means hard block."),annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly plan price in cents. Null uses twelve monthly payments with a 20% yearly discount."),included_store_count:e__namespace.number().nullable().describe("Number of connected stores included in the base plan."),extra_store_price_cents:e__namespace.number().nullable().describe("Monthly price in cents for each additional connected store."),extra_store_annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly price in cents for each additional connected store. Null uses twelve monthly payments with a 20% yearly discount."),extra_store_invoices_per_month:e__namespace.number().nullable().describe("Pooled invoice allowance added by each additional store."),e_invoicing_sends_included:e__namespace.number().nullable().describe("Peppol sends included per month. Null means the plan does not configure Peppol metering."),e_invoicing_send_price_cents:e__namespace.number().nullable().describe("Overage price in cents per successful live Peppol send.")}),e__namespace.null()]),features:e__namespace.array(e__namespace.string()).describe("List of features included. Empty array means all features."),is_free:e__namespace.boolean().describe("Whether this is a free plan"),display_order:e__namespace.number().describe("Display order for sorting")}).describe("A subscription plan for a white-label product"),billing_interval:e__namespace.string().nullable().describe("Scheduled billing interval once the change takes effect"),effective_at:e__namespace.string().describe("When the scheduled change takes effect (ISO 8601)")}).nullable(),payment_method:e__namespace.object({last4:e__namespace.string().nullable(),brand:e__namespace.string().nullable(),has_card:e__namespace.boolean()}).nullable(),store_billing:e__namespace.union([e__namespace.object({connected_stores:e__namespace.number(),included_stores:e__namespace.number(),billable_extra_stores:e__namespace.number(),invoices_included_from_extra_stores:e__namespace.number(),extra_store_price_cents_monthly:e__namespace.number().nullable(),extra_store_price_cents_yearly:e__namespace.number().nullable().describe("Effective yearly price in cents for each additional connected store, using the explicit yearly price or the 20% yearly fallback.")}),e__namespace.null()]),usage:e__namespace.object({documents_count:e__namespace.number().describe("Documents created this period"),documents_limit:e__namespace.number().nullable().describe("Documents limit for current plan. Null means unlimited."),invoices_count:e__namespace.number().describe("Invoices created this period (invoices, credit notes, advance invoices)"),invoices_limit:e__namespace.number().nullable().describe("Invoice limit for current plan. Null means unlimited."),e_invoicing_send_count:e__namespace.number().default(LZ0).describe("Peppol/e-invoicing sends this period."),e_invoicing_sends_included:e__namespace.number().nullish().default(HZ0).describe("Included Peppol/e-invoicing sends for current plan. Null means not configured."),period_start:e__namespace.string().describe("Current period start date (ISO 8601)"),period_end:e__namespace.string().describe("Current period end date (ISO 8601)")}).describe("Usage statistics for current billing period")}).describe("Current entity subscription with usage stats"),Vuy=e__namespace.object({plans:e__namespace.array(e__namespace.object({id:e__namespace.string().describe("Unique plan ID"),slug:e__namespace.string().describe("Plan slug"),name:e__namespace.string().describe("Display name"),billing_interval:e__namespace.string().nullable().describe('Billing interval: "monthly", "yearly", or null for free plans'),base_price_cents:e__namespace.number().nullable().describe("Price in cents. Null for free plans."),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for this plan in the current billing profile."),limits:e__namespace.union([e__namespace.object({documents_per_month:e__namespace.number().nullable().describe("Maximum documents per month (backward compat). Null means unlimited."),invoices_per_month:e__namespace.number().nullable().describe("Maximum invoices per month. Null means unlimited."),overage_price_cents:e__namespace.number().nullable().describe("Overage price in cents per document. Null means hard block."),annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly plan price in cents. Null uses twelve monthly payments with a 20% yearly discount."),included_store_count:e__namespace.number().nullable().describe("Number of connected stores included in the base plan."),extra_store_price_cents:e__namespace.number().nullable().describe("Monthly price in cents for each additional connected store."),extra_store_annual_price_cents:e__namespace.number().nullable().describe("Explicit yearly price in cents for each additional connected store. Null uses twelve monthly payments with a 20% yearly discount."),extra_store_invoices_per_month:e__namespace.number().nullable().describe("Pooled invoice allowance added by each additional store."),e_invoicing_sends_included:e__namespace.number().nullable().describe("Peppol sends included per month. Null means the plan does not configure Peppol metering."),e_invoicing_send_price_cents:e__namespace.number().nullable().describe("Overage price in cents per successful live Peppol send.")}),e__namespace.null()]),features:e__namespace.array(e__namespace.string()).describe("List of features included. Empty array means all features."),is_free:e__namespace.boolean().describe("Whether this is a free plan"),display_order:e__namespace.number().describe("Display order for sorting")}).describe("A subscription plan for a white-label product")).describe("Available plans for the current white-label"),current_plan_slug:e__namespace.string().nullable().describe("Current plan slug (null if no subscription)"),currency_code:e__namespace.enum(["EUR","USD"]).describe("Currency used for the returned plans."),billing_profile:e__namespace.enum(["default","us_company"]).describe("Resolved billing profile for the current entity."),allowed_payment_providers:e__namespace.array(e__namespace.enum(["stripe","paypal","bank"])).describe("Payment providers allowed for the resolved billing profile."),stripe_publishable_key_kind:e__namespace.enum(["default","us_company"]).describe("Frontend-safe selector for which Stripe publishable key to use.")}).describe("Available subscription plans for the current white-label"),quy=e__namespace.object({feature:e__namespace.string().describe("Feature slug to check")}),Wuy=e__namespace.object({feature:e__namespace.string().describe("Feature being checked"),allowed:e__namespace.boolean().describe("Whether the feature is allowed on the current plan"),requires_upgrade:e__namespace.boolean().describe("Whether an upgrade is needed to access this feature"),upgrade_plan_slug:e__namespace.string().nullable().describe("Minimum plan slug that includes this feature (if requires_upgrade is true)")}).describe("Feature access check result"),Yuy=e__namespace.object({resource:e__namespace.string().describe("Resource type to check (e.g., 'documents')")}),Juy=e__namespace.object({resource:e__namespace.string().describe("Resource being checked"),allowed:e__namespace.boolean().describe("Whether creating more of this resource is allowed"),usage:e__namespace.number().describe("Current usage count"),limit:e__namespace.number().nullable().describe("Current limit. Null means unlimited."),percentage:e__namespace.number().describe("Usage as percentage of limit (0-100). 0 if unlimited.")}).describe("Resource limit check result"),$uy=e__namespace.object({billing_email:e__namespace.email().nullable()}),Quy=e__namespace.object({billing_email:e__namespace.string().nullable()});var Dt={};K(Dt,{GetCurrentWhiteLabelResponse:()=>Xuy,GetMyWhiteLabelResponse:()=>epy});var Xuy=e__namespace.object({slug:e__namespace.string().describe("Unique identifier for the white-label"),name:e__namespace.string().describe("Display name of the white-label"),environment:e__namespace.enum(["production","sandbox"]).optional().describe("White-label environment resolved for this domain or account."),hidden_features:e__namespace.array(e__namespace.string()).describe('UI capabilities and standalone action controls hidden for this white-label. Empty array means all configured capability families and controls stay visible. Example values include "developer_tools", "documents.credit_notes", and "actions.documents.credit_notes.create_from_invoice".'),billing_enabled:e__namespace.boolean().describe("Whether billing-related settings and subscription UI should be shown for this white-label."),account_users_full_ui_enabled:e__namespace.boolean().describe("Whether account users bypass white-label UI hiding and keep access to the full product UI on this brand."),hide_new_features_by_default:e__namespace.boolean().describe("Whether white-label-visible features added after the last capabilities review stay hidden until reviewed."),reviewed_feature_catalog_ids:e__namespace.array(e__namespace.string()).describe("Catalog IDs reviewed during the last explicit capabilities save."),theme:e__namespace.object({primary:e__namespace.string().optional().describe("Primary color in HSL format (e.g., '220 70% 50%')"),radius:e__namespace.string().optional().describe("Border radius (e.g., '0.5rem', '0.75rem')")}).nullish().describe("Theme configuration (default colors for embed-sdk). Null means use defaults."),app_name:e__namespace.string().nullable().describe("Installed app name for PWA/browser surfaces. Null means use the white-label name."),short_name:e__namespace.string().nullable().describe("Short installed app name for compact browser/PWA surfaces. Null means use the white-label name."),logo_url:e__namespace.url().nullable().describe("Branded logo URL used for app install surfaces when configured."),favicon_url:e__namespace.url().nullable().describe("Branded favicon/app icon URL used for browser and install surfaces when configured."),theme_color:e__namespace.string().nullable().describe("Resolved CSS theme color for install surfaces and browser UI."),analytics:e__namespace.object({posthog_key:e__namespace.string().nullable().describe("Public PostHog project key for this white-label. Null means browser analytics are disabled."),posthog_host:e__namespace.string().nullable().describe("PostHog API host for this white-label. Null means use the default PostHog host."),posthog_track_embeds:e__namespace.boolean().describe("Whether PostHog may initialize on embedded app routes for this white-label.")}).describe("Analytics configuration for this white-label."),hal_app_id:e__namespace.string().nullable().describe("Hal app ID for chat widget loading. Null means no Hal integration."),support_email:e__namespace.email().nullable().describe("Support contact email for this white-label. Null means no configured support email."),google_tag_id:e__namespace.string().nullable().describe("Google tag ID used for conversion tracking. Null means Google tracking is disabled.")}).describe("White-label configuration for the current domain"),epy=e__namespace.object({slug:e__namespace.string().describe("Unique identifier for the white-label"),name:e__namespace.string().describe("Display name of the white-label"),environment:e__namespace.enum(["production","sandbox"]).optional().describe("White-label environment resolved for this domain or account."),hidden_features:e__namespace.array(e__namespace.string()).describe('UI capabilities and standalone action controls hidden for this white-label. Empty array means all configured capability families and controls stay visible. Example values include "developer_tools", "documents.credit_notes", and "actions.documents.credit_notes.create_from_invoice".'),billing_enabled:e__namespace.boolean().describe("Whether billing-related settings and subscription UI should be shown for this white-label."),account_users_full_ui_enabled:e__namespace.boolean().describe("Whether account users bypass white-label UI hiding and keep access to the full product UI on this brand."),hide_new_features_by_default:e__namespace.boolean().describe("Whether white-label-visible features added after the last capabilities review stay hidden until reviewed."),reviewed_feature_catalog_ids:e__namespace.array(e__namespace.string()).describe("Catalog IDs reviewed during the last explicit capabilities save."),theme:e__namespace.object({primary:e__namespace.string().optional().describe("Primary color in HSL format (e.g., '220 70% 50%')"),radius:e__namespace.string().optional().describe("Border radius (e.g., '0.5rem', '0.75rem')")}).nullish().describe("Theme configuration (default colors for embed-sdk). Null means use defaults."),app_name:e__namespace.string().nullable().describe("Installed app name for PWA/browser surfaces. Null means use the white-label name."),short_name:e__namespace.string().nullable().describe("Short installed app name for compact browser/PWA surfaces. Null means use the white-label name."),logo_url:e__namespace.url().nullable().describe("Branded logo URL used for app install surfaces when configured."),favicon_url:e__namespace.url().nullable().describe("Branded favicon/app icon URL used for browser and install surfaces when configured."),theme_color:e__namespace.string().nullable().describe("Resolved CSS theme color for install surfaces and browser UI."),analytics:e__namespace.object({posthog_key:e__namespace.string().nullable().describe("Public PostHog project key for this white-label. Null means browser analytics are disabled."),posthog_host:e__namespace.string().nullable().describe("PostHog API host for this white-label. Null means use the default PostHog host."),posthog_track_embeds:e__namespace.boolean().describe("Whether PostHog may initialize on embedded app routes for this white-label.")}).describe("Analytics configuration for this white-label."),hal_app_id:e__namespace.string().nullable().describe("Hal app ID for chat widget loading. Null means no Hal integration."),support_email:e__namespace.email().nullable().describe("Support contact email for this white-label. Null means no configured support email."),google_tag_id:e__namespace.string().nullable().describe("Google tag ID used for conversion tracking. Null means Google tracking is disabled.")}).describe("White-label configuration for the current domain");var tpy=125e3,Nt=null,Ie=null,Mt=false;function KZ0(d){Nt=d;}function _t(d){Ie=d,d==null&&(Mt=false);}function npy(){Mt||(Mt=true,console.warn("[space-invoices] setAccountId() fallback is deprecated for SDK instance requests. Pass accountId via the SDK constructor or per-call config instead."));}function spy(){return Ie}function opy(){if(!Nt)throw new Error("SDK not initialized. Call new SpaceInvoices() first.");return Nt}function ipy(d){if(!d)return {};if(d instanceof Headers){let c={};return d.forEach((m,f)=>{c[f]=m;}),c}if(Array.isArray(d)){let c={};for(let[m,f]of d)c[m]=f;return c}return d}function apy(d,c){if(c==null||c<=0)return {signal:d??void 0,cleanup:()=>{}};let m=new AbortController,f=()=>{m.abort(d?.reason);};if(d?.aborted)return f(),{signal:m.signal,cleanup:()=>{}};let B=setTimeout(()=>{m.abort(new Error(`SDK request timed out after ${c}ms`));},c),R=()=>{clearTimeout(B),d?.removeEventListener("abort",f);};return d?.addEventListener("abort",f,{once:true}),m.signal.addEventListener("abort",R,{once:true}),{signal:m.signal,cleanup:R}}async function g(d,c){let{timeoutMs:m,sdkConfig:f,...B}=c??{},R=f??opy(),de=await Promise.resolve(R.getAccessToken()),me=`${R.baseUrl}${d}`,ce={...ipy(B.headers)};R.clientName&&Object.assign(ce,fe(R.clientName)),de&&(ce.Authorization=`Bearer ${de}`);let ve=ce["x-account-id"]||ce["X-Account-Id"]||R.accountId||null;!ve&&Ie&&(f&&npy(),ve=Ie),ve&&!ce["x-account-id"]&&!ce["X-Account-Id"]&&(ce["x-account-id"]=ve);let ge=apy(B.signal,m===void 0?R.requestTimeoutMs??tpy:m);try{let ue=await fetch(me,{...B,headers:ce,signal:ge.signal});ue.status===401&&R.onUnauthorized&&R.onUnauthorized(ue);let Se,z90=ue.headers.get("content-length"),xe=ue.headers.get("content-type"),D90=ue.headers.get("content-disposition");if(z90==="0"||ue.status===204)Se=void 0;else if(xe?.includes("application/pdf")||xe?.includes("application/vnd.openxmlformats-officedocument.wordprocessingml.document")||xe?.includes("application/octet-stream")||xe?.includes("application/zip")||xe?.includes("application/x-zip-compressed")||xe?.includes("image/"))Se=await ue.blob();else if(xe?.includes("application/xml")||xe?.includes("text/xml"))Se=D90?.toLowerCase().includes("attachment")?await ue.blob():await ue.text();else if(xe?.includes("text/html"))Se=await ue.text();else try{Se=await ue.json();}catch{Se=void 0;}return {data:Se,status:ue.status,headers:ue.headers}}finally{ge.cleanup();}}var rpy=()=>"/account-webhooks",ZZ0=async(d,c)=>g(rpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),lpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/account-webhooks?${m}`:"/account-webhooks"},VZ0=async(d,c)=>g(lpy(d),{...c,method:"GET"}),dpy=d=>`/account-webhooks/${d}`,qZ0=async(d,c)=>g(dpy(d),{...c,method:"GET"}),cpy=d=>`/account-webhooks/${d}`,WZ0=async(d,c,m)=>g(cpy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),upy=d=>`/account-webhooks/${d}`,YZ0=async(d,c)=>g(upy(d),{...c,method:"DELETE"}),ppy=d=>`/account-webhooks/${d}/test`,JZ0=async(d,c)=>g(ppy(d),{...c,method:"POST"});var mpy=d=>`/account-webhooks/${d}/rotate-secret`,$Z0=async(d,c)=>g(mpy(d),{...c,method:"POST"});async function xpy(d,c){return d(...c)}function XZ0(d){if(!d?.entity_id&&!d?.account_id&&!d?.request_id&&!d?.signal&&d?.timeoutMs===void 0&&!d?.sdkConfig)return;let c={};return (d.entity_id||d.account_id||d.request_id)&&(c.headers={...d.entity_id?{"x-entity-id":d.entity_id}:{},...d.account_id?{"x-account-id":d.account_id}:{},...d.request_id?{"X-Request-Id":d.request_id}:{}}),d.signal&&(c.signal=d.signal),d.timeoutMs!==void 0&&(c.timeoutMs=d.timeoutMs),d.sdkConfig&&(c.sdkConfig=d.sdkConfig),c}function O(d){return async(...c)=>{let m=c[c.length-1],f=m&&typeof m=="object"&&("entity_id"in m||"account_id"in m||"request_id"in m||"signal"in m||"timeoutMs"in m||"sdkConfig"in m||Object.keys(m).length===0),B,R;f?(B=c.slice(0,-1),R=XZ0(m)):B=[...c],B.push(R);let de=await xpy(d,B);if(de.status>=200&&de.status<300)return de.data;let me=new Error(`API error: ${de.status}`);throw me.status=de.status,me.data=de.data,me}}function J(d){return Object.assign(async m=>{let{entity_id:f,account_id:B,request_id:R,signal:de,timeoutMs:me,sdkConfig:Oe,...ce}=m||{},ve=XZ0({entity_id:f,account_id:B,request_id:R,signal:de,timeoutMs:me,sdkConfig:Oe}),ge=await d(ce,ve);if(ge.status===200)return ge.data;let ue=new Error(`API error: ${ge.status}`);throw ue.status=ge.status,ue.data=ge.data,ue},{__sdkListMethod:true})}function QZ0(d){return !!d&&typeof d=="object"&&("entity_id"in d||"account_id"in d||"request_id"in d||"signal"in d||"timeoutMs"in d||"sdkConfig"in d||Object.keys(d).length===0)}function G(d,c){let m=Object.entries(d).map(([f,B])=>typeof B!="function"?[f,B]:[f,(...R)=>{let de=c(),me=R[R.length-1],Oe=B;if(Oe.__sdkListMethod){let ce=R[0];R[0]=ce&&typeof ce=="object"?{...ce,sdkConfig:de}:{sdkConfig:de};}else if(typeof Oe.__sdkOptionsIndex=="number"){let ce=R[Oe.__sdkOptionsIndex];R[Oe.__sdkOptionsIndex]=QZ0(ce)?{...ce,sdkConfig:de}:{sdkConfig:de};}else QZ0(me)?R[R.length-1]={...me,sdkConfig:de}:R.push({sdkConfig:de});return B(...R)}]);return Object.fromEntries(m)}var ht={create:O(ZZ0),list:J(VZ0),get:O(qZ0),update:O(WZ0),delete:O(YZ0),testAccountWebhook:O(JZ0),rotateAccountWebhookSecret:O($Z0)};var gpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/activities?${m}`:"/activities"},eV0=async(d,c)=>g(gpy(d),{...c,method:"GET"});var Rt={list:J(eV0)};var ypy=d=>`/advance-invoices/shareable/${d}`,tV0=async(d,c)=>g(ypy(d),{...c,method:"GET"}),Opy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/advance-invoices/shareable/${d}/html?${f}`:`/advance-invoices/shareable/${d}/html`},nV0=async(d,c,m)=>g(Opy(d,c),{...m,method:"GET"}),Spy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/advance-invoices/shareable/${d}/pdf?${f}`:`/advance-invoices/shareable/${d}/pdf`},sV0=async(d,c,m)=>g(Spy(d,c),{...m,method:"GET"}),vpy=d=>`/advance-invoices/shareable/${d}/eslog`,oV0=async(d,c)=>g(vpy(d),{...c,method:"GET"}),Bpy=()=>"/advance-invoices",iV0=async(d,c)=>g(Bpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Tpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/advance-invoices?${m}`:"/advance-invoices"},aV0=async(d,c)=>g(Tpy(d),{...c,method:"GET"}),Epy=()=>"/advance-invoices/custom",rV0=async(d,c)=>g(Epy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),bpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/advance-invoices/${d}?${f}`:`/advance-invoices/${d}`},lV0=async(d,c,m)=>g(bpy(d,c),{...m,method:"GET"}),Ipy=d=>`/advance-invoices/${d}`,dV0=async(d,c,m)=>g(Ipy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),fpy=d=>`/advance-invoices/${d}/versions`,cV0=async(d,c)=>g(fpy(d),{...c,method:"GET"}),zpy=(d,c)=>`/advance-invoices/${d}/versions/${c}`,uV0=async(d,c,m)=>g(zpy(d,c),{...m,method:"GET"}),Dpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/advance-invoices/render?${m}`:"/advance-invoices/render"},pV0=async(d,c,m)=>g(Dpy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Npy=d=>`/advance-invoices/${d}/void`,mV0=async(d,c,m)=>g(Npy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var Ut={getShareableAdvanceInvoice:O(tV0),getShareableAdvanceInvoiceHtml:O(nV0),getShareableAdvanceInvoicePdf:O(sV0),getShareableAdvanceInvoiceEslog:O(oV0),create:O(iV0),list:J(aV0),createCustom:O(rV0),get:O(lV0),update:O(dV0),getVersions:O(cV0),getVersion:O(uV0),renderAdvanceInvoicePreview:O(pV0),void:O(mV0)};var Mpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/business-units?${m}`:"/business-units"},xV0=async(d,c)=>g(Mpy(d),{...c,method:"GET"}),_py=()=>"/business-units",gV0=async(d,c)=>g(_py(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),hpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/business-units/${d}?${f}`:`/business-units/${d}`},yV0=async(d,c,m)=>g(hpy(d,c),{...m,method:"GET"}),Rpy=d=>`/business-units/${d}`,OV0=async(d,c,m)=>g(Rpy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Upy=d=>`/business-units/${d}`,SV0=async(d,c)=>g(Upy(d),{...c,method:"DELETE"});var Ct={list:J(xV0),create:O(gV0),get:O(yV0),update:O(OV0),delete:O(SV0)};var Cpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/company-registry/search?${m}`:"/company-registry/search"},vV0=async(d,c)=>g(Cpy(d),{...c,method:"GET"}),Ppy=()=>"/company-registry/countries",BV0=async d=>g(Ppy(),{...d,method:"GET"});var Pt={searchCompanyRegistry:O(vV0),list:O(BV0)};var wpy=d=>`/credit-notes/shareable/${d}`,TV0=async(d,c)=>g(wpy(d),{...c,method:"GET"}),Fpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/credit-notes/shareable/${d}/html?${f}`:`/credit-notes/shareable/${d}/html`},EV0=async(d,c,m)=>g(Fpy(d,c),{...m,method:"GET"}),Apy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/credit-notes/shareable/${d}/pdf?${f}`:`/credit-notes/shareable/${d}/pdf`},bV0=async(d,c,m)=>g(Apy(d,c),{...m,method:"GET"}),kpy=d=>`/credit-notes/shareable/${d}/eslog`,IV0=async(d,c)=>g(kpy(d),{...c,method:"GET"}),jpy=()=>"/credit-notes",fV0=async(d,c)=>g(jpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Lpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/credit-notes?${m}`:"/credit-notes"},zV0=async(d,c)=>g(Lpy(d),{...c,method:"GET"}),Hpy=()=>"/credit-notes/custom",DV0=async(d,c)=>g(Hpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Gpy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/credit-notes/${d}?${f}`:`/credit-notes/${d}`},NV0=async(d,c,m)=>g(Gpy(d,c),{...m,method:"GET"}),Kpy=d=>`/credit-notes/${d}`,MV0=async(d,c,m)=>g(Kpy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Zpy=d=>`/credit-notes/${d}/xrechnung`,_V0=async(d,c)=>g(Zpy(d),{...c,method:"GET"}),Vpy=d=>`/credit-notes/${d}/zugferd`,hV0=async(d,c)=>g(Vpy(d),{...c,method:"GET"}),qpy=d=>`/credit-notes/${d}/versions`,RV0=async(d,c)=>g(qpy(d),{...c,method:"GET"}),Wpy=(d,c)=>`/credit-notes/${d}/versions/${c}`,UV0=async(d,c,m)=>g(Wpy(d,c),{...m,method:"GET"}),Ypy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/credit-notes/render?${m}`:"/credit-notes/render"},CV0=async(d,c,m)=>g(Ypy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Jpy=d=>`/credit-notes/${d}/fiscalize`,PV0=async(d,c)=>g(Jpy(d),{...c,method:"POST"}),$py=d=>`/credit-notes/${d}/void`,wV0=async(d,c,m)=>g($py(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var wt={getShareableCreditNote:O(TV0),getShareableCreditNoteHtml:O(EV0),getShareableCreditNotePdf:O(bV0),getShareableCreditNoteEslog:O(IV0),create:O(fV0),list:J(zV0),createCustom:O(DV0),get:O(NV0),update:O(MV0),downloadCreditNoteXRechnung:O(_V0),downloadCreditNoteZugferd:O(hV0),getVersions:O(RV0),getVersion:O(UV0),renderCreditNotePreview:O(CV0),fiscalizeCreditNote:O(PV0),void:O(wV0)};var Qpy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/currency/exchange-rate?${m}`:"/currency/exchange-rate"},FV0=async(d,c)=>g(Qpy(d),{...c,method:"GET"});var Ft={getExchangeRate:O(FV0)};var Xpy=()=>"/customers",AV0=async(d,c)=>g(Xpy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),emy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/customers?${m}`:"/customers"},kV0=async(d,c)=>g(emy(d),{...c,method:"GET"}),tmy=d=>`/customers/${d}`,jV0=async(d,c)=>g(tmy(d),{...c,method:"GET"}),nmy=d=>`/customers/${d}`,LV0=async(d,c,m)=>g(nmy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),smy=d=>`/customers/${d}`,HV0=async(d,c)=>g(smy(d),{...c,method:"DELETE"}),omy=d=>`/customers/${d}/restore`,GV0=async(d,c)=>g(omy(d),{...c,method:"POST"}),imy=d=>`/customers/${d}/permanent`,KV0=async(d,c)=>g(imy(d),{...c,method:"DELETE"});var At={create:O(AV0),list:J(kV0),get:O(jV0),update:O(LV0),delete:O(HV0),restoreCustomer:O(GV0),permanentDeleteCustomer:O(KV0)};var amy=d=>`/delivery-notes/shareable/${d}`,ZV0=async(d,c)=>g(amy(d),{...c,method:"GET"}),rmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/delivery-notes/shareable/${d}/html?${f}`:`/delivery-notes/shareable/${d}/html`},VV0=async(d,c,m)=>g(rmy(d,c),{...m,method:"GET"}),lmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/delivery-notes/shareable/${d}/pdf?${f}`:`/delivery-notes/shareable/${d}/pdf`},qV0=async(d,c,m)=>g(lmy(d,c),{...m,method:"GET"}),dmy=()=>"/delivery-notes",WV0=async(d,c)=>g(dmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),cmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/delivery-notes?${m}`:"/delivery-notes"},YV0=async(d,c)=>g(cmy(d),{...c,method:"GET"}),umy=()=>"/delivery-notes/custom",JV0=async(d,c)=>g(umy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),pmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/delivery-notes/${d}?${f}`:`/delivery-notes/${d}`},$V0=async(d,c,m)=>g(pmy(d,c),{...m,method:"GET"}),mmy=d=>`/delivery-notes/${d}`,QV0=async(d,c,m)=>g(mmy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),xmy=d=>`/delivery-notes/${d}/versions`,XV0=async(d,c)=>g(xmy(d),{...c,method:"GET"}),gmy=(d,c)=>`/delivery-notes/${d}/versions/${c}`,eq0=async(d,c,m)=>g(gmy(d,c),{...m,method:"GET"}),ymy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/delivery-notes/render?${m}`:"/delivery-notes/render"},tq0=async(d,c,m)=>g(ymy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Omy=d=>`/delivery-notes/${d}/void`,nq0=async(d,c,m)=>g(Omy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var kt={getShareableDeliveryNote:O(ZV0),getShareableDeliveryNoteHtml:O(VV0),getShareableDeliveryNotePdf:O(qV0),create:O(WV0),list:J(YV0),createCustom:O(JV0),get:O($V0),update:O(QV0),getVersions:O(XV0),getVersion:O(eq0),renderDeliveryNotePreview:O(tq0),void:O(nq0)};var Smy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/next-number?${m}`:"/documents/next-number"},sq0=async(d,c)=>g(Smy(d),{...c,method:"GET"}),vmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/calculate?${m}`:"/documents/calculate"},oq0=async(d,c,m)=>g(vmy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),Bmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/finalize?${f}`:`/documents/${d}/finalize`},iq0=async(d,c,m,f)=>g(Bmy(d,m),{...f,method:"POST",headers:{"Content-Type":"application/json",...f?.headers},body:JSON.stringify(c)}),Tmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/fiscalize?${f}`:`/documents/${d}/fiscalize`},aq0=async(d,c,m,f)=>g(Tmy(d,m),{...f,method:"POST",headers:{"Content-Type":"application/json",...f?.headers},body:JSON.stringify(c)}),Emy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/register-output?${f}`:`/documents/${d}/register-output`},rq0=async(d,c,m)=>g(Emy(d,c),{...m,method:"POST"}),bmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}?${f}`:`/documents/${d}`},lq0=async(d,c,m)=>g(bmy(d,c),{...m,method:"DELETE"}),Imy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/restore?${f}`:`/documents/${d}/restore`},dq0=async(d,c,m)=>g(Imy(d,c),{...m,method:"POST"}),fmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/permanent?${f}`:`/documents/${d}/permanent`},cq0=async(d,c,m)=>g(fmy(d,c),{...m,method:"DELETE"}),zmy=d=>`/documents/${d}/send`,uq0=async(d,c,m)=>g(zmy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Dmy=d=>`/documents/${d}/share`,pq0=async(d,c)=>g(Dmy(d),{...c,method:"POST"}),Nmy=d=>`/documents/${d}/share`,mq0=async(d,c)=>g(Nmy(d),{...c,method:"GET"}),Mmy=d=>`/documents/${d}/share`,xq0=async(d,c)=>g(Mmy(d),{...c,method:"DELETE"});var jt=O(aq0);function _my(d){return !!d&&typeof d=="object"&&"type"in d}function Lt(d){return !!d&&typeof d=="object"&&("entity_id"in d||"account_id"in d||"request_id"in d||"signal"in d||"timeoutMs"in d||"sdkConfig"in d||Object.keys(d).length===0)}var hmy=async(d,c,m,f)=>{if(Lt(c))return jt(d,void 0,void 0,c);if(_my(c))return jt(d,void 0,c,m);let B=Lt(m)?void 0:m,R=Lt(m)?m:f;return jt(d,c,B,R)},Ht={getNextNumber:O(sq0),calculateDocumentPreview:O(oq0),finalizeDocument:O(iq0),fiscalizeDocument:hmy,registerDocumentOutput:O(rq0),delete:O(lq0),restoreDocument:O(dq0),permanentDeleteDocument:O(cq0),sendDocument:O(uq0),shareDocument:O(pq0),getShareableId:O(mq0),unshareDocument:O(xq0)};var Rmy=()=>"/e-invoicing/settings",gq0=async d=>g(Rmy(),{...d,method:"GET"}),Umy=()=>"/e-invoicing/settings",yq0=async(d,c)=>g(Umy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Cmy=()=>"/e-invoicing/enrollment/sync",Oq0=async d=>g(Cmy(),{...d,method:"POST"}),Pmy=()=>"/e-invoicing/enrollment/verification-link",Sq0=async d=>g(Pmy(),{...d,method:"POST"}),wmy=()=>"/e-invoicing/enrollment/authorize",vq0=async(d,c)=>g(wmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Fmy=()=>"/e-invoicing/enrollment/disconnect",Bq0=async d=>g(Fmy(),{...d,method:"POST"}),Amy=()=>"/e-invoicing/france/directory/lookup",Tq0=async(d,c)=>g(Amy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),kmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/e-invoicing/received-documents?${m}`:"/e-invoicing/received-documents"},Eq0=async(d,c)=>g(kmy(d),{...c,method:"GET"}),jmy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/e-invoicing/received-documents/${d}/download?${f}`:`/e-invoicing/received-documents/${d}/download`},bq0=async(d,c,m)=>g(jmy(d,c),{...m,method:"GET"}),Lmy=d=>`/e-invoicing/received-documents/${d}/accept`,Iq0=async(d,c)=>g(Lmy(d),{...c,method:"POST"}),Hmy=d=>`/e-invoicing/received-documents/${d}/lifecycle`,fq0=async(d,c,m)=>g(Hmy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Gmy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/e-invoicing/reporting-records?${m}`:"/e-invoicing/reporting-records"},zq0=async(d,c)=>g(Gmy(d),{...c,method:"GET"}),Kmy=d=>`/e-invoicing/reporting-records/${d}/retry`,Dq0=async(d,c)=>g(Kmy(d),{...c,method:"POST"}),Zmy=()=>"/e-invoicing/supplier",Nq0=async(d,c)=>g(Zmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Vmy=()=>"/e-invoicing/supplier",Mq0=async d=>g(Vmy(),{...d,method:"GET"});var qmy=()=>"/e-invoicing/recipients/check",_q0=async(d,c)=>g(qmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Wmy=()=>"/e-invoicing/customer-search",hq0=async(d,c)=>g(Wmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Ymy=d=>`/e-invoicing/documents/${d}/send`,Rq0=async(d,c,m)=>g(Ymy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Jmy=()=>"/e-invoicing/send/:documentType/:documentId",Uq0=async(d,c)=>g(Jmy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),$my=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/e-invoicing/submissions?${m}`:"/e-invoicing/submissions"},Cq0=async(d,c)=>g($my(d),{...c,method:"GET"}),Qmy=d=>`/e-invoicing/submissions/${d}`,Pq0=async(d,c)=>g(Qmy(d),{...c,method:"GET"}),Xmy=d=>`/e-invoicing/submissions/${d}/retry`,wq0=async(d,c)=>g(Xmy(d),{...c,method:"POST"}),exy=()=>"/e-invoicing/submissions/:id",Fq0=async d=>g(exy(),{...d,method:"GET"}),txy=()=>"/e-invoicing/submissions/:id/retry",Aq0=async d=>g(txy(),{...d,method:"POST"});var Gt={list:O(gq0),update:O(yq0),syncEInvoicingEnrollment:O(Oq0),create:O(Sq0),createEInvoicingEnrollmentAuthorization:O(vq0),disconnectEInvoicingEnrollment:O(Bq0),lookupFranceEInvoicingDirectory:O(Tq0),listReceivedEInvoices:O(Eq0),downloadReceivedEInvoice:O(bq0),acceptReceivedEInvoice:O(Iq0),sendReceivedEInvoiceLifecycle:O(fq0),listFrenchEReportingRecords:O(zq0),retryFrenchEReportingRecord:O(Dq0),registerEInvoicingSupplier:O(Nq0),getEInvoicingSupplier:O(Mq0),checkEInvoicingRecipient:O(_q0),searchEInvoicingCustomer:O(hq0),sendEInvoicingDocument:O(Rq0),sendEInvoice:O(Uq0),listEInvoicingSubmissions:O(Cq0),get:O(Pq0),retryEInvoicingSubmissionById:O(wq0),getEInvoicingSubmission:O(Fq0),retryEInvoicingSubmission:O(Aq0)};var nxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/eslog/${d}/validate?${f}`:`/eslog/${d}/validate`},kq0=async(d,c,m)=>g(nxy(d,c),{...m,method:"POST"}),sxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/eslog/${d}/download?${f}`:`/eslog/${d}/download`},jq0=async(d,c,m)=>g(sxy(d,c),{...m,method:"GET"});var Kt={validate:O(kq0),download:O(jq0)};var oxy=()=>"/email/send",Lq0=async(d,c)=>g(oxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Zt={sendEmail:O(Lq0)};var ixy=()=>"/entities",Hq0=async(d,c)=>g(ixy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),axy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/entities?${m}`:"/entities"},Gq0=async(d,c)=>g(axy(d),{...c,method:"GET"}),rxy=d=>`/entities/${d}`,Kq0=async(d,c)=>g(rxy(d),{...c,method:"GET"}),lxy=d=>`/entities/${d}`,Zq0=async(d,c,m)=>g(lxy(d),{...m,method:"PUT",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),dxy=d=>`/entities/${d}/enable`,Vq0=async(d,c)=>g(dxy(d),{...c,method:"POST"}),cxy=d=>`/entities/${d}/disable`,qq0=async(d,c)=>g(cxy(d),{...c,method:"POST"}),uxy=d=>`/entities/${d}/email-sender`,Wq0=async(d,c)=>g(uxy(d),{...c,method:"GET"}),pxy=d=>`/entities/${d}/email-sender`,Yq0=async(d,c,m)=>g(pxy(d),{...m,method:"PUT",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),mxy=d=>`/entities/${d}/email-sender`,Jq0=async(d,c)=>g(mxy(d),{...c,method:"DELETE"}),xxy=d=>`/entities/${d}/email-sender/recheck`,$q0=async(d,c)=>g(xxy(d),{...c,method:"POST"});var Vt={create:O(Hq0),list:J(Gq0),get:O(Kq0),update:O(Zq0),enableEntity:O(Vq0),disableEntity:O(qq0),getEntityEmailSender:O(Wq0),putEntityEmailSender:O(Yq0),deleteEntityEmailSender:O(Jq0),recheckEntityEmailSender:O($q0)};var gxy=()=>"/entities/api-keys",Qq0=async d=>g(gxy(),{...d,method:"GET"}),yxy=()=>"/entities/api-keys",Xq0=async(d,c)=>g(yxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Oxy=d=>`/entities/api-keys/${d}`,e70=async(d,c)=>g(Oxy(d),{...c,method:"DELETE"});var qt={listEntityApiKeys:O(Qq0),create:O(Xq0),delete:O(e70)};var Sxy=()=>"/entities/invitations",t70=async d=>g(Sxy(),{...d,method:"GET"}),vxy=d=>`/entities/invitations/${d}`,n70=async(d,c)=>g(vxy(d),{...c,method:"GET"}),Bxy=d=>`/entities/invitations/${d}`,s70=async(d,c)=>g(Bxy(d),{...c,method:"DELETE"}),Txy=d=>`/entities/invitations/${d}/resend`,o70=async(d,c)=>g(Txy(d),{...c,method:"POST"}),Exy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invitations/preview?${m}`:"/invitations/preview"},i70=async(d,c)=>g(Exy(d),{...c,method:"GET"}),bxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invitations/accept?${m}`:"/invitations/accept"},a70=async(d,c,m)=>g(bxy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)});var Wt={listEntityInvitations:O(t70),getEntityInvitation:O(n70),cancelEntityInvitation:O(s70),resendEntityInvitation:O(o70),preview:O(i70),acceptEntityInvitation:O(a70)};var Ixy=()=>"/stats/query",r70=async(d,c)=>g(Ixy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Yt={queryEntityStats:O(r70)};var fxy=()=>"/entities/users",l70=async d=>g(fxy(),{...d,method:"GET"}),zxy=()=>"/entities/users",d70=async(d,c)=>g(zxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Dxy=()=>"/entities/users/access",c70=async d=>g(Dxy(),{...d,method:"GET"}),Nxy=d=>`/entities/users/${d}`,u70=async(d,c,m)=>g(Nxy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Mxy=d=>`/entities/users/${d}`,p70=async(d,c)=>g(Mxy(d),{...c,method:"DELETE"}),_xy=d=>`/entities/users/${d}/token`,m70=async(d,c)=>g(_xy(d),{...c,method:"POST"});var Jt={list:O(l70),addEntityUser:O(d70),getAccess:O(c70),update:O(u70),removeEntityUser:O(p70),generateEntityUserToken:O(m70)};var hxy=d=>`/estimates/shareable/${d}`,x70=async(d,c)=>g(hxy(d),{...c,method:"GET"}),Rxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/estimates/shareable/${d}/html?${f}`:`/estimates/shareable/${d}/html`},g70=async(d,c,m)=>g(Rxy(d,c),{...m,method:"GET"}),Uxy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/estimates/shareable/${d}/pdf?${f}`:`/estimates/shareable/${d}/pdf`},y70=async(d,c,m)=>g(Uxy(d,c),{...m,method:"GET"}),Cxy=d=>`/estimates/shareable/${d}/eslog`,O70=async(d,c)=>g(Cxy(d),{...c,method:"GET"}),Pxy=()=>"/estimates",S70=async(d,c)=>g(Pxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),wxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/estimates?${m}`:"/estimates"},v70=async(d,c)=>g(wxy(d),{...c,method:"GET"}),Fxy=()=>"/estimates/custom",B70=async(d,c)=>g(Fxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Axy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/estimates/${d}?${f}`:`/estimates/${d}`},T70=async(d,c,m)=>g(Axy(d,c),{...m,method:"GET"}),kxy=d=>`/estimates/${d}`,E70=async(d,c,m)=>g(kxy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),jxy=d=>`/estimates/${d}/versions`,b70=async(d,c)=>g(jxy(d),{...c,method:"GET"}),Lxy=(d,c)=>`/estimates/${d}/versions/${c}`,I70=async(d,c,m)=>g(Lxy(d,c),{...m,method:"GET"}),Hxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/estimates/render?${m}`:"/estimates/render"},f70=async(d,c,m)=>g(Hxy(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)});var $t={getShareableEstimate:O(x70),getShareableEstimateHtml:O(g70),getShareableEstimatePdf:O(y70),getShareableEstimateEslog:O(O70),create:O(S70),list:J(v70),createCustom:O(B70),get:O(T70),update:O(E70),getVersions:O(b70),getVersion:O(I70),renderEstimatePreview:O(f70)};var Gxy=()=>"/expenses",z70=async(d,c)=>g(Gxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Kxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/expenses?${m}`:"/expenses"},D70=async(d,c)=>g(Kxy(d),{...c,method:"GET"}),Zxy=()=>"/expenses/custom",N70=async(d,c)=>g(Zxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Vxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/expenses/export?${m}`:"/expenses/export"},M70=async(d,c)=>g(Vxy(d),{...c,method:"GET"}),qxy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/expenses/report?${m}`:"/expenses/report"},_70=async(d,c)=>g(qxy(d),{...c,method:"GET"}),Wxy=()=>"/expenses/recognition/settings",h70=async d=>g(Wxy(),{...d,method:"GET"}),Yxy=()=>"/expenses/recognition/settings",R70=async(d,c)=>g(Yxy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Jxy=()=>"/expenses/recognition/backfill",U70=async(d,c)=>g(Jxy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),$xy=()=>"/expenses/recognitions",C70=async(d,c)=>{let m=new FormData;return m.append("file",d.file),g($xy(),{...c,method:"POST",body:m})},Qxy=d=>`/expenses/recognitions/${d}`,P70=async(d,c)=>g(Qxy(d),{...c,method:"GET"}),Xxy=d=>`/expenses/recognitions/${d}/retry`,w70=async(d,c)=>g(Xxy(d),{...c,method:"POST"}),egy=d=>`/expenses/${d}/recognition`,F70=async(d,c)=>g(egy(d),{...c,method:"GET"}),tgy=d=>`/expenses/${d}`,A70=async(d,c)=>g(tgy(d),{...c,method:"GET"}),ngy=d=>`/expenses/${d}`,k70=async(d,c,m)=>g(ngy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),sgy=d=>`/expenses/${d}`,j70=async(d,c)=>g(sgy(d),{...c,method:"DELETE"}),ogy=d=>`/expenses/${d}/void`,L70=async(d,c)=>g(ogy(d),{...c,method:"POST"}),igy=d=>`/expenses/${d}/restore`,H70=async(d,c)=>g(igy(d),{...c,method:"POST"}),agy=d=>`/expenses/${d}/attachments`,G70=async(d,c,m)=>{let f=new FormData;return c.file!==void 0&&f.append("file",c.file),g(agy(d),{...m,method:"POST",body:f})},rgy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/expenses/${d}/attachments?${f}`:`/expenses/${d}/attachments`},K70=async(d,c,m)=>g(rgy(d,c),{...m,method:"GET"}),lgy=(d,c)=>`/expenses/${d}/attachments/${c}`,Z70=async(d,c,m)=>g(lgy(d,c),{...m,method:"DELETE"}),dgy=d=>`/expenses/${d}/payments`,V70=async(d,c)=>g(dgy(d),{...c,method:"GET"}),cgy=d=>`/expenses/${d}/payments`,q70=async(d,c,m)=>g(cgy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var Qt={create:O(z70),list:J(D70),createCustom:O(N70),exportExpenses:O(M70),getExpenseCategoryReport:O(_70),getRecognitionSettings:O(h70),updateRecognitionSettings:O(R70),backfillExpenseRecognition:O(U70),createRecognition:O(C70),getRecognition:O(P70),retryRecognition:O(w70),getLatestRecognition:O(F70),get:O(A70),update:O(k70),delete:O(j70),void:O(L70),restoreExpense:O(H70),uploadExpenseAttachment:O(G70),getExpenseAttachments:O(K70),deleteExpenseAttachment:O(Z70),getExpensePayments:O(V70),createExpensePayment:O(q70)};var ugy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/export?${m}`:"/documents/export"},W70=async(d,c)=>g(ugy(d),{...c,method:"GET"}),pgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/export/sales-per-item?${m}`:"/documents/export/sales-per-item"},Y70=async(d,c)=>g(pgy(d),{...c,method:"GET"}),mgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/documents/export/revenue-by-category?${m}`:"/documents/export/revenue-by-category"},J70=async(d,c)=>g(mgy(d),{...c,method:"GET"}),xgy=()=>"/documents/export/pdf",$70=async(d,c)=>g(xgy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),ggy=d=>`/documents/export/pdf/${d}`,Q70=async(d,c)=>g(ggy(d),{...c,method:"GET"}),ygy=d=>`/documents/export/pdf/${d}/download`,X70=async(d,c)=>g(ygy(d),{...c,method:"GET"}),Ogy=()=>"/documents/export/eslog",eW0=async(d,c)=>g(Ogy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Sgy=d=>`/documents/export/eslog/${d}`,tW0=async(d,c)=>g(Sgy(d),{...c,method:"GET"}),vgy=d=>`/documents/export/eslog/${d}/download`,nW0=async(d,c)=>g(vgy(d),{...c,method:"GET"});var Xt={exportDocuments:O(W70),exportSalesPerItem:O(Y70),exportRevenueByCategory:O(J70),startPdfExport:O($70),getPdfStatus:O(Q70),downloadPdfExport:O(X70),startEslogExport:O(eW0),getEslogStatus:O(tW0),downloadEslogExport:O(nW0)};var Bgy=()=>"/files",sW0=async(d,c)=>{let m=new FormData;return d.file!==void 0&&m.append("file",d.file),m.append("category",d.category),d.account_payable_id!==void 0&&m.append("account_payable_id",d.account_payable_id),d.business_unit_id!==void 0&&m.append("business_unit_id",d.business_unit_id),d.expense_id!==void 0&&m.append("expense_id",d.expense_id),g(Bgy(),{...c,method:"POST",body:m})},Tgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/files?${m}`:"/files"},oW0=async(d,c)=>g(Tgy(d),{...c,method:"GET"}),Egy=d=>`/files/${d}`,iW0=async(d,c)=>g(Egy(d),{...c,method:"GET"}),bgy=d=>`/files/${d}`,aW0=async(d,c)=>g(bgy(d),{...c,method:"DELETE"});var en={uploadFile:O(sW0),list:J(oW0),get:O(iW0),delete:O(aW0)};var Igy=()=>"/fiscalization/fina/settings/certificate",rW0=async(d,c)=>{let m=new FormData;return d.file!==void 0&&m.append("file",d.file),d.passphrase!==void 0&&m.append("passphrase",d.passphrase),g(Igy(),{...c,method:"POST",body:m})},fgy=()=>"/fiscalization/fina/settings/certificate",lW0=async d=>g(fgy(),{...d,method:"GET"}),zgy=()=>"/fiscalization/fina/settings/certificate",dW0=async d=>g(zgy(),{...d,method:"DELETE"});var tn={uploadFinaCertificate:O(rW0),getFinaCertificate:O(lW0),delete:O(dW0)};var Dgy=d=>`/fiscalization/fina/premises/${d}/devices`,cW0=async(d,c)=>g(Dgy(d),{...c,method:"GET"}),Ngy=d=>`/fiscalization/fina/premises/${d}/devices`,uW0=async(d,c,m)=>g(Ngy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Mgy=d=>`/fiscalization/fina/devices/${d}`,pW0=async(d,c)=>g(Mgy(d),{...c,method:"GET"}),_gy=d=>`/fiscalization/fina/devices/${d}`,mW0=async(d,c,m)=>g(_gy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),hgy=d=>`/fiscalization/fina/devices/${d}`,xW0=async(d,c)=>g(hgy(d),{...c,method:"DELETE"});var nn={listFinaDevices:O(cW0),registerFinaDevice:O(uW0),getFinaDevice:O(pW0),update:O(mW0),delete:O(xW0)};var Rgy=()=>"/fiscalization/fina/premises",gW0=async d=>g(Rgy(),{...d,method:"GET"}),Ugy=()=>"/fiscalization/fina/premises",yW0=async(d,c)=>g(Ugy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Cgy=d=>`/fiscalization/fina/premises/${d}`,OW0=async(d,c)=>g(Cgy(d),{...c,method:"GET"}),Pgy=d=>`/fiscalization/fina/premises/${d}`,SW0=async(d,c,m)=>g(Pgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),wgy=d=>`/fiscalization/fina/premises/${d}`,vW0=async(d,c)=>g(wgy(d),{...c,method:"DELETE"});var sn={listFinaPremises:O(gW0),create:O(yW0),getFinaPremise:O(OW0),update:O(SW0),delete:O(vW0)};var Fgy=()=>"/fiscalization/fina/settings",BW0=async d=>g(Fgy(),{...d,method:"GET"}),Agy=()=>"/fiscalization/fina/settings",TW0=async(d,c)=>g(Agy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var on={list:O(BW0),update:O(TW0)};var kgy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/financial-categories?${m}`:"/financial-categories"},EW0=async(d,c)=>g(kgy(d),{...c,method:"GET"}),jgy=()=>"/financial-categories",bW0=async(d,c)=>g(jgy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Lgy=d=>`/financial-categories/${d}`,IW0=async(d,c,m)=>g(Lgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),Hgy=d=>`/financial-categories/${d}`,fW0=async(d,c)=>g(Hgy(d),{...c,method:"DELETE"}),Ggy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/financial-categories/revenue-summary?${m}`:"/financial-categories/revenue-summary"},zW0=async(d,c)=>g(Ggy(d),{...c,method:"GET"}),Kgy=()=>"/financial-categories/document-items/batch",DW0=async(d,c)=>g(Kgy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Zgy=d=>`/financial-categories/document-items/${d}`,NW0=async(d,c,m)=>g(Zgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var an={list:J(EW0),create:O(bW0),update:O(IW0),delete:O(fW0),getRevenueByFinancialCategory:O(zW0),updateDocumentItemFinancialCategories:O(DW0),updateDocumentItemFinancialCategory:O(NW0)};var Vgy=()=>"/fiscalization/furs/settings/certificate",MW0=async(d,c)=>{let m=new FormData;return d.file!==void 0&&m.append("file",d.file),d.passphrase!==void 0&&m.append("passphrase",d.passphrase),g(Vgy(),{...c,method:"POST",body:m})},qgy=()=>"/fiscalization/furs/settings/certificate",_W0=async d=>g(qgy(),{...d,method:"GET"}),Wgy=()=>"/fiscalization/furs/settings/certificate",hW0=async d=>g(Wgy(),{...d,method:"DELETE"});var rn={uploadFursCertificate:O(MW0),getFursCertificate:O(_W0),delete:O(hW0)};var Ygy=d=>`/fiscalization/furs/premises/${d}/devices`,RW0=async(d,c)=>g(Ygy(d),{...c,method:"GET"}),Jgy=d=>`/fiscalization/furs/premises/${d}/devices`,UW0=async(d,c,m)=>g(Jgy(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),$gy=d=>`/fiscalization/furs/devices/${d}`,CW0=async(d,c)=>g($gy(d),{...c,method:"GET"}),Qgy=d=>`/fiscalization/furs/devices/${d}`,PW0=async(d,c,m)=>g(Qgy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)});var ln={listFursElectronicDevices:O(RW0),registerFursElectronicDevice:O(UW0),getFursElectronicDevice:O(CW0),update:O(PW0)};var Xgy=()=>"/fiscalization/furs/internal-act/report.pdf",wW0=async d=>g(Xgy(),{...d,method:"GET"}),e0y=()=>"/fiscalization/furs/internal-act/report.docx",FW0=async d=>g(e0y(),{...d,method:"GET"});var dn={generateFursInternalActPdf:O(wW0),generateFursInternalActDocx:O(FW0)};var t0y=()=>"/fiscalization/furs/premises",AW0=async d=>g(t0y(),{...d,method:"GET"}),n0y=d=>`/fiscalization/furs/premises/${d}`,kW0=async(d,c)=>g(n0y(d),{...c,method:"GET"}),s0y=d=>`/fiscalization/furs/premises/${d}`,jW0=async(d,c,m)=>g(s0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),o0y=()=>"/fiscalization/furs/premises/real-estate",LW0=async(d,c)=>g(o0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),i0y=()=>"/fiscalization/furs/premises/movable",HW0=async(d,c)=>g(i0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),a0y=d=>`/fiscalization/furs/premises/${d}/close`,GW0=async(d,c)=>g(a0y(d),{...c,method:"POST"});var cn={listFursBusinessPremises:O(AW0),getFursBusinessPremise:O(kW0),update:O(jW0),registerFursRealEstatePremise:O(LW0),registerFursMovablePremise:O(HW0),closeFursBusinessPremise:O(GW0)};var r0y=()=>"/fiscalization/furs/settings",KW0=async d=>g(r0y(),{...d,method:"GET"}),l0y=()=>"/fiscalization/furs/settings",ZW0=async(d,c)=>g(l0y(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var un={list:O(KW0),update:O(ZW0)};var d0y=()=>"/health/live",VW0=async d=>g(d0y(),{...d,method:"GET"}),c0y=()=>"/health/ready",qW0=async d=>g(c0y(),{...d,method:"GET"}),u0y=()=>"/health",WW0=async d=>g(u0y(),{...d,method:"GET"});var pn={livenessCheck:O(VW0),readinessCheck:O(qW0),healthCheck:O(WW0)};var p0y=d=>`/invoices/shareable/${d}`,YW0=async(d,c)=>g(p0y(d),{...c,method:"GET"}),m0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/invoices/shareable/${d}/html?${f}`:`/invoices/shareable/${d}/html`},JW0=async(d,c,m)=>g(m0y(d,c),{...m,method:"GET"}),x0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/invoices/shareable/${d}/pdf?${f}`:`/invoices/shareable/${d}/pdf`},$W0=async(d,c,m)=>g(x0y(d,c),{...m,method:"GET"}),g0y=d=>`/invoices/shareable/${d}/eslog`,QW0=async(d,c)=>g(g0y(d),{...c,method:"GET"}),y0y=()=>"/invoices",XW0=async(d,c)=>g(y0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),O0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invoices?${m}`:"/invoices"},e60=async(d,c)=>g(O0y(d),{...c,method:"GET"}),S0y=()=>"/invoices/custom",t60=async(d,c)=>g(S0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),v0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/invoices/${d}?${f}`:`/invoices/${d}`},n60=async(d,c,m)=>g(v0y(d,c),{...m,method:"GET"}),B0y=d=>`/invoices/${d}`,s60=async(d,c,m)=>g(B0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),T0y=d=>`/invoices/${d}/xrechnung`,o60=async(d,c)=>g(T0y(d),{...c,method:"GET"}),E0y=d=>`/invoices/${d}/zugferd`,i60=async(d,c)=>g(E0y(d),{...c,method:"GET"}),b0y=d=>`/invoices/${d}/versions`,a60=async(d,c)=>g(b0y(d),{...c,method:"GET"}),I0y=(d,c)=>`/invoices/${d}/versions/${c}`,r60=async(d,c,m)=>g(I0y(d,c),{...m,method:"GET"}),f0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/invoices/render?${m}`:"/invoices/render"},l60=async(d,c,m)=>g(f0y(c),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(d)}),z0y=d=>`/invoices/${d}/void`,d60=async(d,c,m)=>g(z0y(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),D0y=d=>`/invoices/${d}/fiscalize`,c60=async(d,c)=>g(D0y(d),{...c,method:"POST"}),N0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/html?${f}`:`/documents/${d}/html`},u60=async(d,c,m)=>g(N0y(d,c),{...m,method:"GET"}),M0y=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/documents/${d}/pdf?${f}`:`/documents/${d}/pdf`},p60=async(d,c,m)=>g(M0y(d,c),{...m,method:"GET"});function mn(d,c){let m=URL.createObjectURL(d),f=document.createElement("a");f.href=m,f.download=c,document.body.appendChild(f),f.click(),document.body.removeChild(f),URL.revokeObjectURL(m);}var m60=O(p60),_0y=Object.assign(async(d,c,m,f)=>{let B=await m60(d,m,f);mn(B,c);},{__sdkOptionsIndex:3}),xn={getShareableInvoice:O(YW0),getShareableInvoiceHtml:O(JW0),getShareableInvoicePdf:O($W0),getShareableInvoiceEslog:O(QW0),create:O(XW0),list:J(e60),createCustom:O(t60),get:O(n60),update:O(s60),downloadInvoiceXRechnung:O(o60),downloadInvoiceZugferd:O(i60),getVersions:O(a60),getVersion:O(r60),renderInvoicePreview:O(l60),void:O(d60),fiscalizeInvoice:O(c60),renderHtml:O(u60),renderPdf:m60,downloadPdf:_0y};var h0y=()=>"/items",x60=async(d,c)=>g(h0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),R0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/items?${m}`:"/items"},g60=async(d,c)=>g(R0y(d),{...c,method:"GET"}),U0y=d=>`/items/${d}`,y60=async(d,c,m)=>g(U0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),C0y=d=>`/items/${d}`,O60=async(d,c)=>g(C0y(d),{...c,method:"DELETE"}),P0y=d=>`/items/${d}/restore`,S60=async(d,c)=>g(P0y(d),{...c,method:"POST"}),w0y=d=>`/items/${d}/permanent`,v60=async(d,c)=>g(w0y(d),{...c,method:"DELETE"});var gn={create:O(x60),list:J(g60),update:O(y60),delete:O(O60),restoreItem:O(S60),permanentDeleteItem:O(v60)};var F0y=()=>"/legacy-migration/auth",B60=async(d,c)=>g(F0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),A0y=()=>"/legacy-migration/jobs",T60=async(d,c)=>g(A0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),k0y=()=>"/legacy-migration/jobs",E60=async d=>g(k0y(),{...d,method:"GET"}),j0y=d=>`/legacy-migration/jobs/${d}`,b60=async(d,c)=>g(j0y(d),{...c,method:"GET"});var yn={legacyMigrationAuth:O(B60),create:O(T60),listMigrationJobs:O(E60),getMigrationJob:O(b60)};var L0y=()=>"/locale/detect",I60=async d=>g(L0y(),{...d,method:"GET"});var On={detectLocale:O(I60)};var H0y=()=>"/order-integrations/shopify/authorize",f60=async(d,c)=>g(H0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),G0y=()=>"/order-integrations/woocommerce/authorize",z60=async(d,c)=>g(G0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),K0y=()=>"/order-integrations/shopify/resume-install",D60=async(d,c)=>g(K0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Z0y=d=>`/order-integrations/${d}/sync-shopify`,N60=async(d,c,m)=>g(Z0y(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),V0y=d=>`/order-integrations/${d}/sync`,M60=async(d,c,m)=>g(V0y(d),{...m,method:"POST",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),q0y=()=>"/order-integrations",_60=async(d,c)=>g(q0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),W0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/order-integrations?${m}`:"/order-integrations"},h60=async(d,c)=>g(W0y(d),{...c,method:"GET"}),Y0y=d=>`/order-integrations/${d}`,R60=async(d,c)=>g(Y0y(d),{...c,method:"GET"}),J0y=d=>`/order-integrations/${d}`,U60=async(d,c,m)=>g(J0y(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),$0y=d=>`/order-integrations/${d}`,C60=async(d,c)=>g($0y(d),{...c,method:"DELETE"});var Sn={authorizeShopify:O(f60),authorizeWooCommerce:O(z60),resumeShopifyInstall:O(D60),syncShopifyOrders:O(N60),syncOrderIntegration:O(M60),create:O(_60),list:J(h60),get:O(R60),update:O(U60),delete:O(C60)};var Q0y=()=>"/orders",P60=async(d,c)=>g(Q0y(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),X0y=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/orders?${m}`:"/orders"},w60=async(d,c)=>g(X0y(d),{...c,method:"GET"}),eyy=d=>`/orders/${d}`,F60=async(d,c)=>g(eyy(d),{...c,method:"GET"}),tyy=d=>`/orders/${d}`,A60=async(d,c,m)=>g(tyy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),nyy=d=>`/orders/${d}`,k60=async(d,c)=>g(nyy(d),{...c,method:"DELETE"}),syy=d=>`/orders/${d}/process`,j60=async(d,c)=>g(syy(d),{...c,method:"POST"}),oyy=d=>`/orders/${d}/cancel`,L60=async(d,c)=>g(oyy(d),{...c,method:"POST"}),iyy=d=>`/orders/${d}/reissue`,H60=async(d,c)=>g(iyy(d),{...c,method:"POST"});var vn={create:O(P60),list:J(w60),get:O(F60),update:O(A60),delete:O(k60),processOrder:O(j60),cancelOrder:O(L60),reissueOrder:O(H60)};var ayy=()=>"/payment-reminders/send",G60=async(d,c)=>g(ayy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Bn={sendPaymentReminder:O(G60)};var ryy=()=>"/payments",K60=async(d,c)=>g(ryy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),lyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/payments?${m}`:"/payments"},Z60=async(d,c)=>g(lyy(d),{...c,method:"GET"}),dyy=(d,c)=>{let m=new URLSearchParams;Object.entries(c||{}).forEach(([B,R])=>{R!==void 0&&m.append(B,R===null?"null":R.toString());});let f=m.toString();return f.length>0?`/payments/${d}?${f}`:`/payments/${d}`},V60=async(d,c,m)=>g(dyy(d,c),{...m,method:"GET"}),cyy=d=>`/payments/${d}`,q60=async(d,c,m)=>g(cyy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),uyy=d=>`/payments/${d}`,W60=async(d,c)=>g(uyy(d),{...c,method:"DELETE"}),pyy=d=>`/payments/${d}/restore`,Y60=async(d,c)=>g(pyy(d),{...c,method:"POST"}),myy=d=>`/payments/${d}/permanent`,J60=async(d,c)=>g(myy(d),{...c,method:"DELETE"});var Tn={create:O(K60),list:J(Z60),get:O(V60),update:O(q60),delete:O(W60),restorePayment:O(Y60),permanentDeletePayment:O(J60)};var xyy=()=>"/fiscalization/pt/atcud-series",$60=async(d,c)=>g(xyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),gyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/fiscalization/pt/atcud-series?${m}`:"/fiscalization/pt/atcud-series"},Q60=async(d,c)=>g(gyy(d),{...c,method:"GET"}),yyy=d=>`/fiscalization/pt/atcud-series/${d}`,X60=async(d,c)=>g(yyy(d),{...c,method:"GET"}),Oyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/fiscalization/pt/atcud-series/active?${m}`:"/fiscalization/pt/atcud-series/active"},e80=async(d,c)=>g(Oyy(d),{...c,method:"POST"});var En={create:O($60),list:J(Q60),get:O(X60),getActive:O(e80)};var Syy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/fiscalization/pt/saft/report?${m}`:"/fiscalization/pt/saft/report"},t80=async(d,c)=>g(Syy(d),{...c,method:"GET"});var bn={generateReport:O(t80)};var vyy=()=>"/recurring-invoices",n80=async(d,c)=>g(vyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Byy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/recurring-invoices?${m}`:"/recurring-invoices"},s80=async(d,c)=>g(Byy(d),{...c,method:"GET"}),Tyy=d=>`/recurring-invoices/${d}`,o80=async(d,c)=>g(Tyy(d),{...c,method:"GET"}),Eyy=d=>`/recurring-invoices/${d}`,i80=async(d,c,m)=>g(Eyy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),byy=d=>`/recurring-invoices/${d}`,a80=async(d,c)=>g(byy(d),{...c,method:"DELETE"}),Iyy=d=>`/recurring-invoices/${d}/restore`,r80=async(d,c)=>g(Iyy(d),{...c,method:"POST"}),fyy=d=>`/recurring-invoices/${d}/permanent`,l80=async(d,c)=>g(fyy(d),{...c,method:"DELETE"}),zyy=d=>`/recurring-invoices/${d}/pause`,d80=async(d,c)=>g(zyy(d),{...c,method:"POST"}),Dyy=d=>`/recurring-invoices/${d}/resume`,c80=async(d,c)=>g(Dyy(d),{...c,method:"POST"}),Nyy=d=>`/recurring-invoices/${d}/trigger`,u80=async(d,c)=>g(Nyy(d),{...c,method:"POST"});var In={create:O(n80),list:J(s80),get:O(o80),update:O(i80),delete:O(a80),restoreRecurringInvoice:O(r80),permanentDeleteRecurringInvoice:O(l80),pauseRecurringInvoice:O(d80),resumeRecurringInvoice:O(c80),triggerRecurringInvoice:O(u80)};var Myy=()=>"/revenue-recognition/settings",p80=async d=>g(Myy(),{...d,method:"GET"}),_yy=()=>"/revenue-recognition/settings",m80=async(d,c)=>g(_yy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),hyy=()=>"/revenue-recognition/backfill",x80=async(d,c)=>g(hyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Ryy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/revenue-recognition/report?${m}`:"/revenue-recognition/report"},g80=async(d,c)=>g(Ryy(d),{...c,method:"GET"}),Uyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/revenue-recognition/details?${m}`:"/revenue-recognition/details"},y80=async(d,c)=>g(Uyy(d),{...c,method:"GET"});var fn={getSettings:O(p80),updateSettings:O(m80),backfill:O(x80),getReport:O(g80),getDetails:O(y80)};var Cyy=()=>"/stripe-app/authorize",O80=async d=>g(Cyy(),{...d,method:"GET"}),Pyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/stripe-app/oauth/callback?${m}`:"/stripe-app/oauth/callback"},S80=async(d,c)=>g(Pyy(d),{...c,method:"GET"}),wyy=()=>"/stripe-app/webhooks",v80=async d=>g(wyy(),{...d,method:"POST"}),Fyy=()=>"/stripe-app/marketplace-authorize",B80=async(d,c)=>g(Fyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Ayy=()=>"/stripe-app/connect",T80=async(d,c)=>g(Ayy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),kyy=()=>"/stripe-app/connection",E80=async d=>g(kyy(),{...d,method:"GET"}),jyy=()=>"/stripe-app/connection",b80=async d=>g(jyy(),{...d,method:"DELETE"}),Lyy=()=>"/stripe-app/settings",I80=async d=>g(Lyy(),{...d,method:"GET"}),Hyy=()=>"/stripe-app/settings",f80=async(d,c)=>g(Hyy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Gyy=()=>"/stripe-app/invoices",z80=async(d,c)=>g(Gyy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Kyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/stripe-app/invoices?${m}`:"/stripe-app/invoices"},D80=async(d,c)=>g(Kyy(d),{...c,method:"GET"}),Zyy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/stripe-app/invoices/lookup?${m}`:"/stripe-app/invoices/lookup"},N80=async(d,c)=>g(Zyy(d),{...c,method:"GET"}),Vyy=d=>`/stripe-app/invoices/${d}`,M80=async(d,c)=>g(Vyy(d),{...c,method:"GET"}),qyy=()=>"/stripe-app/entity-connection",_80=async d=>g(qyy(),{...d,method:"GET"}),Wyy=()=>"/stripe-app/entity-connection",h80=async d=>g(Wyy(),{...d,method:"DELETE"}),Yyy=()=>"/stripe-app/entity-settings",R80=async d=>g(Yyy(),{...d,method:"GET"}),Jyy=()=>"/stripe-app/entity-settings",U80=async(d,c)=>g(Jyy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var zn={stripeAppAuthorize:O(O80),stripeAppOAuthCallback:O(S80),stripeAppWebhook:O(v80),stripeAppMarketplaceAuthorize:O(B80),stripeAppConnect:O(T80),stripeAppGetConnection:O(E80),stripeAppDisconnect:O(b80),stripeAppGetSettings:O(I80),stripeAppUpdateSettings:O(f80),stripeAppCreateInvoice:O(z80),stripeAppListInvoices:O(D80),stripeAppLookupInvoice:O(N80),stripeAppGetInvoice:O(M80),stripeAppEntityGetConnection:O(_80),stripeAppEntityDisconnect:O(h80),stripeAppEntityGetSettings:O(R80),stripeAppEntityUpdateSettings:O(U80)};var $yy=()=>"/subscriptions",C80=async d=>g($yy(),{...d,method:"GET"}),Qyy=()=>"/subscriptions/spending-limit",P80=async(d,c)=>g(Qyy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),Xyy=()=>"/subscriptions/check-entity-limit",w80=async d=>g(Xyy(),{...d,method:"GET"});var Dn={getCurrent:O(C80),update:O(P80),checkEntityLimit:O(w80)};var eOy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/tax-rate-estimates/us?${m}`:"/tax-rate-estimates/us"},F80=async(d,c)=>g(eOy(d),{...c,method:"GET"});var Nn={listUsTaxRateEstimates:O(F80)};var tOy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/tax-reports/kir?${m}`:"/tax-reports/kir"},A80=async(d,c)=>g(tOy(d),{...c,method:"POST"}),nOy=()=>"/tax-reports/si/profile",k80=async d=>g(nOy(),{...d,method:"GET"}),sOy=()=>"/tax-reports/si/profile",j80=async(d,c)=>g(sOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),oOy=()=>"/tax-reports/si/yearly/normirani/review",L80=async(d,c)=>g(oOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),iOy=()=>"/tax-reports/si/yearly/normirani/export",H80=async(d,c)=>g(iOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),aOy=()=>"/tax-reports/si/accounting/vod/export",G80=async(d,c)=>g(aOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Mn={generateKirExport:O(A80),getSloveniaTaxProfile:O(k80),updateSloveniaTaxProfile:O(j80),reviewSloveniaYearlyNormiraniReport:O(L80),exportSloveniaYearlyNormiraniReport:O(H80),exportSloveniaVodXml:O(G80)};var rOy=()=>"/taxes",K80=async(d,c)=>g(rOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),lOy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/taxes?${m}`:"/taxes"},Z80=async(d,c)=>g(lOy(d),{...c,method:"GET"}),dOy=d=>`/taxes/${d}`,V80=async(d,c,m)=>g(dOy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),cOy=d=>`/taxes/${d}`,q80=async(d,c,m)=>g(cOy(d),{...m,method:"PUT",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),uOy=d=>`/taxes/${d}`,W80=async(d,c)=>g(uOy(d),{...c,method:"DELETE"}),pOy=d=>`/taxes/${d}/restore`,Y80=async(d,c)=>g(pOy(d),{...c,method:"POST"}),mOy=d=>`/taxes/${d}/permanent`,J80=async(d,c)=>g(mOy(d),{...c,method:"DELETE"});var _n={create:O(K80),list:J(Z80),update:O(V80),replaceTax:O(q80),delete:O(W80),restoreTax:O(Y80),permanentDeleteTax:O(J80)};var xOy=()=>"/transaction-type/check",$80=async(d,c)=>g(xOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var hn={checkTransactionType:O($80)};var be="https://eu.spaceinvoices.com";var gOy=d=>`/documents/${d}/ujp`,Q80=async(d,c)=>g(gOy(d),{...c,method:"GET"});var Rn={download:O(Q80)};var yOy=()=>"/upload/image",X80=async(d,c)=>{let m=new FormData;return m.append("file",d.file),g(yOy(),{...c,method:"POST",body:m})};var Un={uploadImage:O(X80)};var OOy=()=>"/users/login",e90=async(d,c)=>g(OOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),SOy=()=>"/users/signup",t90=async(d,c)=>g(SOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),vOy=()=>"/users/password-reset",n90=async(d,c)=>g(vOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),BOy=()=>"/users/password-reset/confirm",s90=async(d,c)=>g(BOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),TOy=()=>"/users/me/accounts",o90=async d=>g(TOy(),{...d,method:"GET"}),EOy=()=>"/users/me",i90=async d=>g(EOy(),{...d,method:"GET"}),bOy=()=>"/users/me",a90=async(d,c)=>g(bOy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),IOy=()=>"/users/me/account-deletion",r90=async d=>g(IOy(),{...d,method:"POST"}),fOy=()=>"/users/me/settings/furs",l90=async(d,c)=>g(fOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),zOy=()=>"/users/me/settings/fina",d90=async(d,c)=>g(zOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),DOy=()=>"/users/me/settings/pt",c90=async(d,c)=>g(DOy(),{...c,method:"PUT",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Cn={login:O(e90),signup:O(t90),requestPasswordReset:O(n90),confirmPasswordReset:O(s90),listMyAccounts:O(o90),getMe:O(i90),update:O(a90),requestAccountDeletion:O(r90),updateFursSettings:O(l90),updateFinaSettings:O(d90),updatePtSettings:O(c90)};var NOy=()=>"/vies/check",u90=async(d,c)=>g(NOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Pn={checkVies:O(u90)};var MOy=()=>"/webhooks",p90=async(d,c)=>g(MOy(),{...c,method:"POST",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)}),_Oy=d=>{let c=new URLSearchParams;Object.entries(d||{}).forEach(([f,B])=>{B!==void 0&&c.append(f,B===null?"null":B.toString());});let m=c.toString();return m.length>0?`/webhooks?${m}`:"/webhooks"},m90=async(d,c)=>g(_Oy(d),{...c,method:"GET"}),hOy=d=>`/webhooks/${d}`,x90=async(d,c)=>g(hOy(d),{...c,method:"GET"}),ROy=d=>`/webhooks/${d}`,g90=async(d,c,m)=>g(ROy(d),{...m,method:"PATCH",headers:{"Content-Type":"application/json",...m?.headers},body:JSON.stringify(c)}),UOy=d=>`/webhooks/${d}`,y90=async(d,c)=>g(UOy(d),{...c,method:"DELETE"}),COy=d=>`/webhooks/${d}/test`,O90=async(d,c)=>g(COy(d),{...c,method:"POST"});var POy=d=>`/webhooks/${d}/rotate-secret`,S90=async(d,c)=>g(POy(d),{...c,method:"POST"});var wn={create:O(p90),list:J(m90),get:O(x90),update:O(g90),delete:O(y90),testWebhook:O(O90),rotateWebhookSecret:O(S90)};var wOy=()=>"/white-label-subscriptions",v90=async d=>g(wOy(),{...d,method:"GET"}),FOy=()=>"/white-label-subscriptions/plans",B90=async d=>g(FOy(),{...d,method:"GET"}),AOy=d=>`/white-label-subscriptions/check-feature/${d}`,T90=async(d,c)=>g(AOy(d),{...c,method:"GET"}),kOy=d=>`/white-label-subscriptions/check-limit/${d}`,E90=async(d,c)=>g(kOy(d),{...c,method:"GET"}),jOy=()=>"/white-label-subscriptions/billing-email",b90=async(d,c)=>g(jOy(),{...c,method:"PATCH",headers:{"Content-Type":"application/json",...c?.headers},body:JSON.stringify(d)});var Fn={getCurrentWLSubscription:O(v90),list:O(B90),checkWLFeature:O(T90),checkWLLimit:O(E90),update:O(b90)};var LOy=()=>"/white-labels/current",I90=async d=>g(LOy(),{...d,method:"GET"}),HOy=()=>"/white-labels/me",f90=async d=>g(HOy(),{...d,method:"GET"});var An={getCurrentWhiteLabel:O(I90),getMyWhiteLabel:O(f90)};var Ee=class{sdkConfig;accountWebhooks=G(ht,()=>this.sdkConfig);activities=G(Rt,()=>this.sdkConfig);advanceInvoices=G(Ut,()=>this.sdkConfig);businessUnits=G(Ct,()=>this.sdkConfig);companyRegistry=G(Pt,()=>this.sdkConfig);creditNotes=G(wt,()=>this.sdkConfig);currency=G(Ft,()=>this.sdkConfig);customers=G(At,()=>this.sdkConfig);deliveryNotes=G(kt,()=>this.sdkConfig);documents=G(Ht,()=>this.sdkConfig);eInvoicing=G(Gt,()=>this.sdkConfig);eSlog=G(Kt,()=>this.sdkConfig);email=G(Zt,()=>this.sdkConfig);entities=G(Vt,()=>this.sdkConfig);entityApiKeys=G(qt,()=>this.sdkConfig);entityInvitations=G(Wt,()=>this.sdkConfig);entityStats=G(Yt,()=>this.sdkConfig);entityUsers=G(Jt,()=>this.sdkConfig);estimates=G($t,()=>this.sdkConfig);expenses=G(Qt,()=>this.sdkConfig);exports=G(Xt,()=>this.sdkConfig);files=G(en,()=>this.sdkConfig);finaCertificate=G(tn,()=>this.sdkConfig);finaDevices=G(nn,()=>this.sdkConfig);finaPremises=G(sn,()=>this.sdkConfig);finaSettings=G(on,()=>this.sdkConfig);financialCategories=G(an,()=>this.sdkConfig);fursCertificate=G(rn,()=>this.sdkConfig);fursDevices=G(ln,()=>this.sdkConfig);fursInternalAct=G(dn,()=>this.sdkConfig);fursPremises=G(cn,()=>this.sdkConfig);fursSettings=G(un,()=>this.sdkConfig);health=G(pn,()=>this.sdkConfig);invoices=G(xn,()=>this.sdkConfig);items=G(gn,()=>this.sdkConfig);legacyMigration=G(yn,()=>this.sdkConfig);locale=G(On,()=>this.sdkConfig);orderIntegrations=G(Sn,()=>this.sdkConfig);orders=G(vn,()=>this.sdkConfig);paymentReminders=G(Bn,()=>this.sdkConfig);payments=G(Tn,()=>this.sdkConfig);ptAtcudSeries=G(En,()=>this.sdkConfig);ptSafT=G(bn,()=>this.sdkConfig);recurringInvoices=G(In,()=>this.sdkConfig);revenueRecognition=G(fn,()=>this.sdkConfig);stripeApp=G(zn,()=>this.sdkConfig);subscriptions=G(Dn,()=>this.sdkConfig);taxRateEstimates=G(Nn,()=>this.sdkConfig);taxReports=G(Mn,()=>this.sdkConfig);taxes=G(_n,()=>this.sdkConfig);transactionType=G(hn,()=>this.sdkConfig);ujp=G(Rn,()=>this.sdkConfig);upload=G(Un,()=>this.sdkConfig);users=G(Cn,()=>this.sdkConfig);vies=G(Pn,()=>this.sdkConfig);webhooks=G(wn,()=>this.sdkConfig);whiteLabelSubscriptions=G(Fn,()=>this.sdkConfig);whiteLabels=G(An,()=>this.sdkConfig);constructor(c){let m=typeof c=="string"?{accessToken:c}:c,f=typeof m.accessToken=="function"?m.accessToken:()=>m.accessToken;this.sdkConfig={baseUrl:m.basePath??be,getAccessToken:f,clientName:m.clientName??"js-sdk",onUnauthorized:m.onUnauthorized,requestTimeoutMs:m.requestTimeoutMs,accountId:m.accountId??null};}};function GOy(d){let c=typeof d=="string"?{accessToken:d}:d,m=typeof c.accessToken=="function"?c.accessToken:()=>c.accessToken;KZ0({baseUrl:c.basePath??be,getAccessToken:m,clientName:c.clientName??"js-sdk",onUnauthorized:c.onUnauthorized,requestTimeoutMs:c.requestTimeoutMs}),_t(c.accountId??null);}
|
|
180
180
|
exports.AccountInfoRole=VOy;exports.AccountWebhookDeliveryStatus=WOy;exports.AccountWebhookResponseEventsItem=JOy;exports.AccountWebhookWithSecretEventsItem=QOy;exports.AddEntityUserBodyRole=eSy;exports.AdvanceInvoiceCalculationMode=nSy;exports.AdvanceInvoiceItemClassification=oSy;exports.AdvanceInvoiceItemType=aSy;exports.AdvanceInvoiceTransactionType=lSy;exports.AuthorizeShopifyBodyAutoProcessOn=cSy;exports.AvailablePlansAllowedPaymentProvidersItem=pSy;exports.AvailablePlansBillingProfile=xSy;exports.AvailablePlansCurrencyCode=ySy;exports.AvailablePlansStripePublishableKeyKind=SSy;exports.BusinessUnitSettingsPdfTemplate=BSy;exports.CLIENT_HEADER_NAME=kn;exports.CalculateDocumentPreviewCalculationMode=ISy;exports.CalculateDocumentPreviewType=zSy;exports.CalculatedItemType=ESy;exports.CalculationSettingsDefaultMode=NSy;exports.CheckEInvoicingRecipientRequestDocumentType=_Sy;exports.CompleteAdvanceInvoicePreviewCalculationMode=RSy;exports.CompleteAdvanceInvoicePreviewCreationSource=CSy;exports.CompleteCreditNotePreviewCalculationMode=wSy;exports.CompleteCreditNotePreviewCreationSource=ASy;exports.CompleteDeliveryNotePreviewCalculationMode=jSy;exports.CompleteDeliveryNotePreviewCreationSource=HSy;exports.CompleteEstimatePreviewCalculationMode=KSy;exports.CompleteEstimatePreviewCreationSource=VSy;exports.CompleteEstimatePreviewTitleType=WSy;exports.CompleteInvoicePreviewCalculationMode=JSy;exports.CompleteInvoicePreviewCreationSource=QSy;exports.CreateAccountWebhookBodyEventsItem=evy;exports.CreateAdvanceInvoiceCalculationMode=nvy;exports.CreateCheckoutRequestBillingInterval=ovy;exports.CreateCreditNoteCalculationMode=avy;exports.CreateCustomerBodyContactType=lvy;exports.CreateDeliveryNoteCalculationMode=cvy;exports.CreateDocumentItemClassification=pvy;exports.CreateDocumentItemType=xvy;exports.CreateDocumentPaymentType=yvy;exports.CreateEntityBodyEnvironment=Svy;exports.CreateEntityBodySettingsPdfTemplate=Bvy;exports.CreateEstimateCalculationMode=Evy;exports.CreateEstimateTitleType=Ivy;exports.CreateExpenseBodyCalculationMode=zvy;exports.CreateExpenseBodyPaymentsItemType=Nvy;exports.CreateExpenseBodyTransactionType=_vy;exports.CreateExpenseBodyType=Rvy;exports.CreateExpenseItemClassification=Cvy;exports.CreateExpenseItemType=wvy;exports.CreateExpensePaymentBodyType=Avy;exports.CreateFinaInvoiceDataPaymentType=jvy;exports.CreateInvoiceCalculationMode=Hvy;exports.CreateItemBodyClassification=Kvy;exports.CreateMigrationJobRequestEnvironment=Vvy;exports.CreateMigrationJobResponseStatus=Wvy;exports.CreateOrderBodyPaymentStatus=Jvy;exports.CreateOrderBodySource=Qvy;exports.CreateOrderIntegrationBodySource=eBy;exports.CreatePaymentBodyType=nBy;exports.CreatePtAtcudSeriesBodyDocumentType=oBy;exports.CreateRecurringInvoiceBodyFrequency=aBy;exports.CreateWebhookBodyEventsItem=lBy;exports.CreationSource=cBy;exports.CreditNoteCalculationMode=pBy;exports.CreditNoteItemClassification=xBy;exports.CreditNoteItemType=yBy;exports.CreditNoteTransactionType=SBy;exports.CurrentSubscriptionAllowedPaymentProvidersItem=BBy;exports.CurrentSubscriptionBillingProfile=EBy;exports.CurrentSubscriptionCurrencyCode=IBy;exports.CurrentSubscriptionPaymentProvider=zBy;exports.CurrentSubscriptionStripePublishableKeyKind=NBy;exports.CustomCreateAdvanceInvoiceCalculationMode=_By;exports.CustomCreateCreditNoteCalculationMode=RBy;exports.CustomCreateDeliveryNoteCalculationMode=CBy;exports.CustomCreateEstimateCalculationMode=wBy;exports.CustomCreateEstimateTitleType=ABy;exports.CustomCreateExpenseTransactionType=jBy;exports.CustomCreateExpenseType=HBy;exports.CustomCreateInvoiceCalculationMode=KBy;exports.CustomDocumentItemClassification=VBy;exports.CustomDocumentItemType=WBy;exports.CustomExpenseItemClassification=JBy;exports.CustomExpenseItemType=QBy;exports.CustomExpenseWriteCalculationMode=eTy;exports.CustomExpenseWritePaymentsItemType=nTy;exports.CustomExpenseWriteTransactionType=oTy;exports.CustomExpenseWriteType=aTy;exports.DEFAULT_BASE_URL=be;exports.DeleteDocumentType=lTy;exports.DeliveryNoteCalculationMode=cTy;exports.DeliveryNoteItemClassification=pTy;exports.DeliveryNoteItemType=xTy;exports.DeliveryNoteTransactionType=yTy;exports.DocumentCalculationCalculationMode=STy;exports.DocumentCalculationTransactionType=BTy;exports.DocumentItemRevenueRecognitionMethod=ETy;exports.DocumentRelationRelatedDocumentTitleType=ITy;exports.DocumentRelationRelatedDocumentType=zTy;exports.DocumentRelationSourceType=NTy;exports.DocumentRelationTargetType=_Ty;exports.DocumentVersionDocumentType=RTy;exports.DownloadDocumentEslogType=CTy;exports.DownloadReceivedEInvoiceFormat=wTy;exports.EInvoicingEnrollmentChannel=ATy;exports.EInvoicingEnrollmentEnvironment=jTy;exports.EInvoicingEnrollmentState=HTy;exports.EInvoicingRecipientCheckResponseDocumentType=KTy;exports.EmailSenderDomainVerificationStatus=VTy;exports.EmailSenderEffectiveSource=WTy;exports.EmailSenderEmailVerificationStatus=JTy;exports.EmailSenderVerificationStatus=QTy;exports.EntityApiKeyEnvironment=eEy;exports.EntityBankAccountType=nEy;exports.EntityEnvironment=oEy;exports.EntityInvitationPreviewRole=aEy;exports.EntityInvitationPreviewStatus=lEy;exports.EntityInvitationRole=cEy;exports.EntityInvitationStatus=pEy;exports.EntitySettingsPdfTemplate=xEy;exports.EntitySettingsUpdatePdfTemplate=yEy;exports.EntityUserRole=SEy;exports.EntityUsersAccessAccountRole=BEy;exports.EntityUsersAccessEntityRole=EEy;exports.EslogDataValidationStatus=IEy;exports.EslogExportByDateRangeTypesItem=zEy;exports.EstimateCalculationMode=NEy;exports.EstimateItemClassification=_Ey;exports.EstimateItemType=REy;exports.EstimateTitleType=CEy;exports.EstimateTransactionType=wEy;exports.ExpenseCategoryReportResponseBasis=AEy;exports.ExpenseCategoryReportResponseCalculationMode=jEy;exports.ExpenseCategoryReportResponseGroupBy=HEy;exports.ExpenseItemClassification=KEy;exports.ExpenseItemRecognitionMethod=VEy;exports.ExpenseItemType=WEy;exports.ExpenseRecognitionJobSimulationMode=JEy;exports.ExpenseRecognitionJobStatus=QEy;exports.ExpenseRecognitionJobWarningsItemCode=eby;exports.ExpenseRecognitionSettingsDefaultMethod=nby;exports.ExpenseRecognitionSettingsResponseDefaultMethod=oby;exports.ExpenseSummaryClassification=aby;exports.ExpenseType=lby;exports.ExportDocumentsFormat=cby;exports.ExportDocumentsLanguage=pby;exports.ExportDocumentsType=xby;exports.ExportExpensesDateBasis=yby;exports.ExportExpensesFormat=Sby;exports.ExportExpensesLanguage=Bby;exports.ExportRevenueByCategoryFormat=Eby;exports.ExportRevenueByCategoryLanguage=Iby;exports.ExportSalesPerItemFormat=zby;exports.ExportSalesPerItemLanguage=Nby;exports.FinaFiscalizationResponseStatus=_by;exports.FinalizeDocumentType=Rby;exports.FiscalizeDocumentType=Cby;exports.FiscalizedOutputRegistrationFiscalizationProvider=wby;exports.FrenchEReportingRecordKind=Aby;exports.FrenchEReportingRecordStatus=jby;exports.FursFiscalizationResponseStatus=Hby;exports.FursPremiseSuccessResponseEnvironment=Kby;exports.GermanEInvoicingDataValidationStatus=Vby;exports.GetActivePtAtcudSeriesDocumentType=Wby;exports.GetActivities200DataItemActorType=Jby;exports.GetEntitiesEnvironment=Qby;exports.GetEslogExportStatus200Status=eIy;exports.GetExpenseCategoryReportBasis=nIy;exports.GetExpenseCategoryReportGroupBy=oIy;exports.GetFilesCategory=aIy;exports.GetFinaSettings200CertificateStatus=lIy;exports.GetFinaSettings200NumberingSequence=cIy;exports.GetFursSettings200CertificateStatus=pIy;exports.GetFursSettings200NumberingStrategy=xIy;exports.GetNextDocumentNumberType=yIy;exports.GetPdfExportStatus200Status=SIy;exports.GetRevenueRecognitionDetailsBasis=BIy;exports.GetRevenueRecognitionDetailsGroupBy=EIy;exports.GetRevenueRecognitionReportBasis=IIy;exports.GetRevenueRecognitionReportGroupBy=zIy;exports.GetShareableAdvanceInvoiceHtmlLanguage=NIy;exports.GetShareableAdvanceInvoiceHtmlLocale=_Iy;exports.GetShareableAdvanceInvoicePdfLanguage=RIy;exports.GetShareableAdvanceInvoicePdfLocale=CIy;exports.GetShareableCreditNoteHtmlLanguage=wIy;exports.GetShareableCreditNoteHtmlLocale=AIy;exports.GetShareableCreditNotePdfLanguage=jIy;exports.GetShareableCreditNotePdfLocale=HIy;exports.GetShareableDeliveryNoteHtmlLanguage=KIy;exports.GetShareableDeliveryNoteHtmlLocale=VIy;exports.GetShareableDeliveryNotePdfLanguage=WIy;exports.GetShareableDeliveryNotePdfLocale=JIy;exports.GetShareableEstimateHtmlLanguage=QIy;exports.GetShareableEstimateHtmlLocale=efy;exports.GetShareableEstimatePdfLanguage=nfy;exports.GetShareableEstimatePdfLocale=ofy;exports.GetShareableInvoiceHtmlLanguage=afy;exports.GetShareableInvoiceHtmlLocale=lfy;exports.GetShareableInvoicePdfLanguage=cfy;exports.GetShareableInvoicePdfLocale=pfy;exports.GetSloveniaTaxProfile200AccountingExportsPreferredFormat=xfy;exports.GetSloveniaTaxProfile200BusinessForm=yfy;exports.GetSloveniaTaxProfile200BusinessFormSource=Sfy;exports.GetSloveniaTaxProfile200IncomeTaxRegime=Bfy;exports.GetSloveniaTaxProfile200InferredBusinessForm=Efy;exports.GetSloveniaTaxProfile200TaxResidency=Ify;exports.GetSloveniaTaxProfile200VatProfile=zfy;exports.GetSloveniaTaxProfile200YearlyReportingAccountingType=Nfy;exports.GetSloveniaTaxProfile200YearlyReportingNormiranecInsuranceBasis=_fy;exports.InvoiceCalculationMode=Rfy;exports.InvoiceItemClassification=Cfy;exports.InvoiceItemType=wfy;exports.InvoiceTransactionType=Afy;exports.ItemClassification=jfy;exports.LegacyAuthResponseOrganizationsItemUnsupportedItemCode=Hfy;exports.LineDiscountType=Kfy;exports.ListPtAtcudSeriesDocumentType=Vfy;exports.ListReceivedEInvoicesState=Wfy;exports.MigrationJobResponseStatus=Jfy;exports.OrderBasePaymentStatus=Qfy;exports.OrderBaseSource=ezy;exports.OrderBaseStatus=nzy;exports.OrderIntegrationBaseAutoProcessOn=ozy;exports.OrderIntegrationBaseSource=azy;exports.OrderItemKind=lzy;exports.PartialAdvanceInvoicePreviewCalculationMode=czy;exports.PartialAdvanceInvoicePreviewCreationSource=pzy;exports.PartialAdvanceInvoicePreviewItemsItemDiscountsItemType=xzy;exports.PartialAdvanceInvoicePreviewItemsItemType=yzy;exports.PartialCreditNotePreviewCalculationMode=Szy;exports.PartialCreditNotePreviewCreationSource=Bzy;exports.PartialCreditNotePreviewItemsItemDiscountsItemType=Ezy;exports.PartialCreditNotePreviewItemsItemType=Izy;exports.PartialDeliveryNotePreviewCalculationMode=zzy;exports.PartialDeliveryNotePreviewCreationSource=Nzy;exports.PartialDeliveryNotePreviewItemsItemDiscountsItemType=_zy;exports.PartialDeliveryNotePreviewItemsItemType=Rzy;exports.PartialEstimatePreviewCalculationMode=Czy;exports.PartialEstimatePreviewCreationSource=wzy;exports.PartialEstimatePreviewItemsItemDiscountsItemType=Azy;exports.PartialEstimatePreviewItemsItemType=jzy;exports.PartialEstimatePreviewTitleType=Hzy;exports.PartialInvoicePreviewCalculationMode=Kzy;exports.PartialInvoicePreviewCreationSource=Vzy;exports.PartialInvoicePreviewItemsItemDiscountsItemType=Wzy;exports.PartialInvoicePreviewItemsItemType=Jzy;exports.PatchEntityBodySettingsPdfTemplate=Qzy;exports.PatchMeBodyLocale=eDy;exports.PaymentType=nDy;exports.PdfExportByDateRangeLanguage=oDy;exports.PdfExportByDateRangeLocale=aDy;exports.PdfExportByDateRangeTypesItem=lDy;exports.PdfExportByDocumentIdsLanguage=cDy;exports.PdfExportByDocumentIdsLocale=pDy;exports.PermanentDeleteDocumentType=xDy;exports.PtAtcudSeriesDocumentType=yDy;exports.ReceivedEInvoiceAttachmentStatus=SDy;exports.ReceivedEInvoiceLifecycleRequestAction=BDy;exports.ReceivedEInvoiceLifecycleRequestReasonCode=EDy;exports.ReceivedEInvoiceState=IDy;exports.RecurringInvoiceBaseFrequency=zDy;exports.RecurringInvoiceBaseStatus=NDy;exports.RegisterDocumentOutputType=_Dy;exports.RegisterFursMovablePremiseBodyMovablePremisePremiseType=RDy;exports.RenderAdvanceInvoicePreviewEpcQrEnabled=CDy;exports.RenderAdvanceInvoicePreviewHub3QrEnabled=wDy;exports.RenderAdvanceInvoicePreviewPartial=ADy;exports.RenderAdvanceInvoicePreviewTemplate=jDy;exports.RenderAdvanceInvoicePreviewUpnQrDisplayMode=HDy;exports.RenderAdvanceInvoicePreviewUpnQrEnabled=KDy;exports.RenderCreditNotePreviewEpcQrEnabled=VDy;exports.RenderCreditNotePreviewHub3QrEnabled=WDy;exports.RenderCreditNotePreviewPartial=JDy;exports.RenderCreditNotePreviewTemplate=QDy;exports.RenderCreditNotePreviewUpnQrDisplayMode=eNy;exports.RenderCreditNotePreviewUpnQrEnabled=nNy;exports.RenderDeliveryNotePreviewEpcQrEnabled=oNy;exports.RenderDeliveryNotePreviewHub3QrEnabled=aNy;exports.RenderDeliveryNotePreviewPartial=lNy;exports.RenderDeliveryNotePreviewTemplate=cNy;exports.RenderDeliveryNotePreviewUpnQrDisplayMode=pNy;exports.RenderDeliveryNotePreviewUpnQrEnabled=xNy;exports.RenderDocumentHtmlTemplate=yNy;exports.RenderDocumentPdfTemplate=SNy;exports.RenderEstimatePreviewEpcQrEnabled=BNy;exports.RenderEstimatePreviewHub3QrEnabled=ENy;exports.RenderEstimatePreviewPartial=INy;exports.RenderEstimatePreviewTemplate=zNy;exports.RenderEstimatePreviewUpnQrDisplayMode=NNy;exports.RenderEstimatePreviewUpnQrEnabled=_Ny;exports.RenderInvoicePreviewEpcQrEnabled=RNy;exports.RenderInvoicePreviewHub3QrEnabled=CNy;exports.RenderInvoicePreviewPartial=wNy;exports.RenderInvoicePreviewTemplate=ANy;exports.RenderInvoicePreviewUpnQrDisplayMode=jNy;exports.RenderInvoicePreviewUpnQrEnabled=HNy;exports.RestoreDocumentType=KNy;exports.RevenueRecognitionDetailsResponseCalculationMode=VNy;exports.RevenueRecognitionReportResponseBasis=WNy;exports.RevenueRecognitionReportResponseCalculationMode=JNy;exports.RevenueRecognitionReportResponseGroupBy=QNy;exports.RevenueRecognitionSettingsDefaultMethod=eMy;exports.RevenueRecognitionSettingsResponseDefaultMethod=nMy;exports.ReviewSloveniaYearlyNormiraniReport200FilingKind=oMy;exports.ReviewSloveniaYearlyNormiraniReport200IssueDetailsItemAffectedDocumentsItemType=aMy;exports.ReviewSloveniaYearlyNormiraniReport200IssueDetailsItemOfficialSourcesItemIssuer=lMy;exports.ReviewSloveniaYearlyNormiraniReport200IssueDetailsItemSeverity=cMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileAccountingExportsPreferredFormat=pMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileBusinessForm=xMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileBusinessFormSource=yMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileIncomeTaxRegime=SMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileInferredBusinessForm=BMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileTaxResidency=EMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileVatProfile=IMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileYearlyReportingAccountingType=zMy;exports.ReviewSloveniaYearlyNormiraniReport200ProfileYearlyReportingNormiranecInsuranceBasis=NMy;exports.ReviewSloveniaYearlyNormiraniReport200WarningsItemSeverity=_My;exports.SendDocument200Status=RMy;exports.SendEmail200Status=CMy;exports.SendEmailBodyLanguage=wMy;exports.SendEmailBodyLocale=AMy;exports.SendPaymentReminderBodyLocale=jMy;exports.SendPaymentReminderResponseStatus=HMy;exports.SloveniaAccountingExportsSettingsPreferredFormat=KMy;exports.SloveniaEntitySettingsBusinessForm=VMy;exports.SloveniaEntitySettingsIncomeTaxRegime=WMy;exports.SloveniaEntitySettingsTaxResidency=JMy;exports.SloveniaEntitySettingsVatProfile=QMy;exports.SloveniaYearlyReportingSettingsAccountingType=e_y;exports.SloveniaYearlyReportingSettingsNormiranecInsuranceBasis=n_y;exports.SpaceInvoices=Ee;exports.StartEslogExport202Status=o_y;exports.StartPdfExport202Status=a_y;exports.StatsQueryRequestMetricsItemType=l_y;exports.StatsQueryRequestOrderByItemDirection=c_y;exports.StatsQueryRequestTable=p_y;exports.StripeAppEntityUpdateSettingsBodyAutoInvoiceEventsItem=x_y;exports.StripeAppUpdateSettingsBodyAutoInvoiceEventsItem=y_y;exports.SubscriptionTier=S_y;exports.SyncOrderIntegrationResponseCompletionState=B_y;exports.SyncShopifyOrdersResponseCompletionState=E_y;exports.TransactionTypeCheckResponseTransactionType=I_y;exports.UjpDataValidationStatus=z_y;exports.UpdateAccountWebhookBodyEventsItem=N_y;exports.UpdateCustomerBodyContactType=__y;exports.UpdateEntityUserRoleBodyRole=R_y;exports.UpdateEstimateTitleType=C_y;exports.UpdateExpenseBodyCalculationMode=w_y;exports.UpdateExpenseBodyTransactionType=A_y;exports.UpdateExpenseBodyType=j_y;exports.UpdateExpenseRecognitionSettingsDefaultMethod=H_y;exports.UpdateFinaSettings200CertificateStatus=K_y;exports.UpdateFinaSettings200NumberingSequence=V_y;exports.UpdateFinaSettingsBodyNumberingSequence=W_y;exports.UpdateFursSettings200CertificateStatus=J_y;exports.UpdateFursSettings200NumberingStrategy=Q_y;exports.UpdateFursSettingsBodyNumberingStrategy=ehy;exports.UpdateItemBodyClassification=nhy;exports.UpdateOrderBodyPaymentStatus=ohy;exports.UpdateOrderIntegrationBodyAutoProcessOn=ahy;exports.UpdatePaymentBodyType=lhy;exports.UpdateRecurringInvoiceBodyFrequency=chy;exports.UpdateRevenueRecognitionSettingsDefaultMethod=phy;exports.UpdateSloveniaTaxProfile200AccountingExportsPreferredFormat=xhy;exports.UpdateSloveniaTaxProfile200BusinessForm=yhy;exports.UpdateSloveniaTaxProfile200BusinessFormSource=Shy;exports.UpdateSloveniaTaxProfile200IncomeTaxRegime=Bhy;exports.UpdateSloveniaTaxProfile200InferredBusinessForm=Ehy;exports.UpdateSloveniaTaxProfile200TaxResidency=Ihy;exports.UpdateSloveniaTaxProfile200VatProfile=zhy;exports.UpdateSloveniaTaxProfile200YearlyReportingAccountingType=Nhy;exports.UpdateSloveniaTaxProfile200YearlyReportingNormiranecInsuranceBasis=_hy;exports.UpdateSloveniaTaxProfileBodyAccountingExportsPreferredFormat=Rhy;exports.UpdateSloveniaTaxProfileBodyBusinessForm=Chy;exports.UpdateSloveniaTaxProfileBodyIncomeTaxRegime=why;exports.UpdateSloveniaTaxProfileBodyTaxResidency=Ahy;exports.UpdateSloveniaTaxProfileBodyVatProfile=jhy;exports.UpdateSloveniaTaxProfileBodyYearlyReportingAccountingType=Hhy;exports.UpdateSloveniaTaxProfileBodyYearlyReportingNormiranecInsuranceBasis=Khy;exports.UpdateWebhookBodyEventsItem=Vhy;exports.UploadFileBodyCategory=Why;exports.UpnQrSettingsDisplayMode=Jhy;exports.ValidateDocumentEslogType=Qhy;exports.WebhookDeliveryStatus=eRy;exports.WebhookResponseEventsItem=nRy;exports.WebhookWithSecretEventsItem=oRy;exports.WhiteLabelConfigEnvironment=aRy;exports.WhiteLabelPlanCurrencyCode=lRy;exports.WooCommerceAuthorizeRequestAutoProcessOn=cRy;exports.accountWebhooks=ht;exports.activities=Rt;exports.advanceInvoices=Ut;exports.businessUnits=Ct;exports.companyRegistry=Pt;exports.creditNotes=wt;exports.currency=Ft;exports.customers=At;exports.default=Ee;exports.deliveryNotes=kt;exports.documents=Ht;exports.downloadBlob=mn;exports.eInvoicing=Gt;exports.eSlog=Kt;exports.email=Zt;exports.entities=Vt;exports.entityApiKeys=qt;exports.entityInvitations=Wt;exports.entityStats=Yt;exports.entityUsers=Jt;exports.estimates=$t;exports.expenses=Qt;exports.exports=Xt;exports.files=en;exports.finaCertificate=tn;exports.finaDevices=nn;exports.finaPremises=sn;exports.finaSettings=on;exports.financialCategories=an;exports.fursCertificate=rn;exports.fursDevices=ln;exports.fursInternalAct=dn;exports.fursPremises=cn;exports.fursSettings=un;exports.getAccountId=spy;exports.getClientHeaders=fe;exports.health=pn;exports.initSDK=GOy;exports.invoices=xn;exports.items=gn;exports.legacyMigration=yn;exports.locale=On;exports.orderIntegrations=Sn;exports.orders=vn;exports.paymentReminders=Bn;exports.payments=Tn;exports.ptAtcudSeries=En;exports.ptSafT=bn;exports.recurringInvoices=In;exports.revenueRecognition=fn;exports.setAccountId=_t;exports.stripeApp=zn;exports.subscriptions=Dn;exports.taxRateEstimates=Nn;exports.taxReports=Mn;exports.taxes=_n;exports.transactionType=hn;exports.ujp=Rn;exports.upload=Un;exports.users=Cn;exports.vies=Pn;exports.webhooks=wn;exports.whiteLabelSubscriptions=Fn;exports.whiteLabels=An;exports.zod=GZ0;
|