@gpt-platform/admin 0.11.1 → 0.11.2
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/_internal/sdk.gen.d.ts +944 -1
- package/dist/_internal/sdk.gen.d.ts.map +1 -1
- package/dist/_internal/types.gen.d.ts +21608 -50788
- package/dist/_internal/types.gen.d.ts.map +1 -1
- package/dist/gpt-admin.d.ts +366 -49
- package/dist/gpt-admin.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6521 -530
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6521 -530
- package/dist/index.mjs.map +1 -1
- package/dist/namespaces/agents.d.ts.map +1 -1
- package/dist/namespaces/campaigns.d.ts +176 -4
- package/dist/namespaces/campaigns.d.ts.map +1 -1
- package/dist/namespaces/clinical.d.ts +261 -16
- package/dist/namespaces/clinical.d.ts.map +1 -1
- package/dist/namespaces/crm.d.ts +539 -27
- package/dist/namespaces/crm.d.ts.map +1 -1
- package/dist/namespaces/email.d.ts +537 -136
- package/dist/namespaces/email.d.ts.map +1 -1
- package/dist/namespaces/imports.d.ts +2 -1
- package/dist/namespaces/imports.d.ts.map +1 -1
- package/dist/namespaces/index.d.ts +9 -0
- package/dist/namespaces/index.d.ts.map +1 -1
- package/dist/namespaces/invoices.d.ts +294 -0
- package/dist/namespaces/invoices.d.ts.map +1 -0
- package/dist/namespaces/recipes.d.ts +458 -0
- package/dist/namespaces/recipes.d.ts.map +1 -0
- package/dist/namespaces/scheduling.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/llms.txt +240 -0
- package/package.json +1 -1
package/dist/gpt-admin.d.ts
CHANGED
|
@@ -368,9 +368,9 @@ export declare class GptAdmin extends BaseClient {
|
|
|
368
368
|
} & import("./base-client").RequestOptions) => Promise<import(".").Campaign[]>;
|
|
369
369
|
create: (attributes: import("./namespaces/campaigns").CreateCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").Campaign>;
|
|
370
370
|
update: (id: string, attributes: import("./namespaces/campaigns").UpdateCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").Campaign>;
|
|
371
|
-
send: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").Campaign>;
|
|
372
|
-
analyze: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/campaigns").CampaignAnalysisResult>;
|
|
373
|
-
optimizeSendTimes: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").Campaign>;
|
|
371
|
+
send: (id: string, attributes: import("./namespaces/campaigns").SendCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").Campaign>;
|
|
372
|
+
analyze: (id: string, attributes?: import("./namespaces/campaigns").AnalyzeCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/campaigns").CampaignAnalysisResult>;
|
|
373
|
+
optimizeSendTimes: (id: string, attributes: import("./namespaces/campaigns").OptimizeSendTimesAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").Campaign>;
|
|
374
374
|
createFollowup: (id: string, attributes: import("./namespaces/campaigns").CreateFollowupCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").Campaign>;
|
|
375
375
|
importRecipients: (id: string, attributes: {
|
|
376
376
|
csv_storage_key: string;
|
|
@@ -443,6 +443,21 @@ export declare class GptAdmin extends BaseClient {
|
|
|
443
443
|
pageSize?: number;
|
|
444
444
|
} & import("./base-client").RequestOptions) => Promise<import(".").EmailMarketingSequenceStep[]>;
|
|
445
445
|
};
|
|
446
|
+
socialCampaigns: {
|
|
447
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").SocialCampaign>;
|
|
448
|
+
list: (options?: {
|
|
449
|
+
page?: number;
|
|
450
|
+
pageSize?: number;
|
|
451
|
+
} & import("./base-client").RequestOptions) => Promise<import(".").SocialCampaign[]>;
|
|
452
|
+
create: (attributes: import("./namespaces/campaigns").CreateSocialCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").SocialCampaign>;
|
|
453
|
+
update: (id: string, attributes: import("./namespaces/campaigns").UpdateSocialCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").SocialCampaign>;
|
|
454
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
455
|
+
schedule: (id: string, attributes: import("./namespaces/campaigns").ScheduleSocialCampaignAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").SocialCampaign>;
|
|
456
|
+
cancel: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").SocialCampaign>;
|
|
457
|
+
generateMasterCopy: (id: string, attributes: import("./namespaces/campaigns").GenerateMasterCopyAttributes, options?: import("./base-client").RequestOptions) => Promise<Record<string, unknown>>;
|
|
458
|
+
adaptForPlatforms: (id: string, attributes: import("./namespaces/campaigns").AdaptForPlatformsAttributes, options?: import("./base-client").RequestOptions) => Promise<Record<string, unknown>>;
|
|
459
|
+
previewAdaptations: (id: string, attributes: import("./namespaces/campaigns").PreviewAdaptationsAttributes, options?: import("./base-client").RequestOptions) => Promise<Record<string, unknown>>;
|
|
460
|
+
};
|
|
446
461
|
};
|
|
447
462
|
/** Outbound email and sender profile management across all workspaces */
|
|
448
463
|
readonly email: {
|
|
@@ -452,8 +467,19 @@ export declare class GptAdmin extends BaseClient {
|
|
|
452
467
|
page?: number;
|
|
453
468
|
pageSize?: number;
|
|
454
469
|
} & import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail[]>;
|
|
470
|
+
listByContact: (workspaceId: string, contactRefId: string, options?: {
|
|
471
|
+
page?: number;
|
|
472
|
+
pageSize?: number;
|
|
473
|
+
} & import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail[]>;
|
|
455
474
|
create: (attributes: import("./namespaces/email").CreateOutboundEmailAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail>;
|
|
475
|
+
composeWithAi: (attributes: import("./namespaces/email").ComposeWithAiAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail>;
|
|
476
|
+
update: (id: string, attributes: import("./namespaces/email").UpdateOutboundEmailAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail>;
|
|
456
477
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
478
|
+
send: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail>;
|
|
479
|
+
schedule: (id: string, attributes: {
|
|
480
|
+
scheduled_for: string;
|
|
481
|
+
}, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail>;
|
|
482
|
+
cancelSchedule: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailOutboundEmail>;
|
|
457
483
|
};
|
|
458
484
|
senderProfiles: {
|
|
459
485
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailMarketingSenderProfile>;
|
|
@@ -467,6 +493,19 @@ export declare class GptAdmin extends BaseClient {
|
|
|
467
493
|
validateDns: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailMarketingSenderProfile>;
|
|
468
494
|
setDefault: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailMarketingSenderProfile>;
|
|
469
495
|
};
|
|
496
|
+
recipients: {
|
|
497
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailRecipient>;
|
|
498
|
+
create: (attributes: import("./namespaces/email").CreateRecipientAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailRecipient>;
|
|
499
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
500
|
+
listByEmail: (outboundEmailId: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailRecipient[]>;
|
|
501
|
+
};
|
|
502
|
+
inclusions: {
|
|
503
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInclusion>;
|
|
504
|
+
create: (attributes: import("./namespaces/email").CreateInclusionAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInclusion>;
|
|
505
|
+
update: (id: string, attributes: import("./namespaces/email").UpdateInclusionAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInclusion>;
|
|
506
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
507
|
+
listByEmail: (outboundEmailId: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInclusion[]>;
|
|
508
|
+
};
|
|
470
509
|
trackingEvents: {
|
|
471
510
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailTrackingEvent>;
|
|
472
511
|
listByWorkspace: (workspaceId: string, options?: {
|
|
@@ -474,6 +513,46 @@ export declare class GptAdmin extends BaseClient {
|
|
|
474
513
|
pageSize?: number;
|
|
475
514
|
} & import("./base-client").RequestOptions) => Promise<import(".").EmailTrackingEvent[]>;
|
|
476
515
|
};
|
|
516
|
+
unsubscribers: {
|
|
517
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailUnsubscriber>;
|
|
518
|
+
listByWorkspace: (workspaceId: string, options?: {
|
|
519
|
+
page?: number;
|
|
520
|
+
pageSize?: number;
|
|
521
|
+
} & import("./base-client").RequestOptions) => Promise<import(".").EmailUnsubscriber[]>;
|
|
522
|
+
};
|
|
523
|
+
sendLimits: {
|
|
524
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/email").EmailSendLimit>;
|
|
525
|
+
listByWorkspace: (workspaceId: string, options?: {
|
|
526
|
+
page?: number;
|
|
527
|
+
pageSize?: number;
|
|
528
|
+
} & import("./base-client").RequestOptions) => Promise<import("./namespaces/email").EmailSendLimit[]>;
|
|
529
|
+
};
|
|
530
|
+
inbound: {
|
|
531
|
+
addresses: {
|
|
532
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInboundAddress>;
|
|
533
|
+
create: (attributes: import("./namespaces/email").CreateInboundAddressAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInboundAddress>;
|
|
534
|
+
update: (id: string, attributes: import("./namespaces/email").UpdateInboundAddressAttributes, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInboundAddress>;
|
|
535
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
536
|
+
rotateToken: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInboundAddress>;
|
|
537
|
+
disable: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInboundAddress>;
|
|
538
|
+
enable: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInboundAddress>;
|
|
539
|
+
listByWorkspace: (workspaceId: string, options?: {
|
|
540
|
+
page?: number;
|
|
541
|
+
pageSize?: number;
|
|
542
|
+
} & import("./base-client").RequestOptions) => Promise<import(".").EmailInboundAddress[]>;
|
|
543
|
+
};
|
|
544
|
+
received: {
|
|
545
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import(".").EmailInboundEmail>;
|
|
546
|
+
listByAddress: (addressId: string, options?: {
|
|
547
|
+
page?: number;
|
|
548
|
+
pageSize?: number;
|
|
549
|
+
} & import("./base-client").RequestOptions) => Promise<import(".").EmailInboundEmail[]>;
|
|
550
|
+
listByWorkspace: (workspaceId: string, options?: {
|
|
551
|
+
page?: number;
|
|
552
|
+
pageSize?: number;
|
|
553
|
+
} & import("./base-client").RequestOptions) => Promise<import(".").EmailInboundEmail[]>;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
477
556
|
};
|
|
478
557
|
/** Tenant wallet management — credit adjustments, plan changes, usage history */
|
|
479
558
|
readonly billing: {
|
|
@@ -855,62 +934,62 @@ export declare class GptAdmin extends BaseClient {
|
|
|
855
934
|
create: (attributes: import("./namespaces/crm").CreateCrmContactAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
856
935
|
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmContactAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
857
936
|
archive: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
858
|
-
unarchive: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
937
|
+
unarchive: (id: string, workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
859
938
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
860
939
|
companies: {
|
|
861
940
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
862
941
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
863
|
-
create: (attributes:
|
|
864
|
-
update: (id: string, attributes:
|
|
942
|
+
create: (attributes: import("./namespaces/crm").CreateCrmCompanyAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
943
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmCompanyAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
865
944
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
866
945
|
};
|
|
867
946
|
deals: {
|
|
868
947
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
869
948
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
870
|
-
create: (attributes:
|
|
871
|
-
update: (id: string, attributes:
|
|
872
|
-
moveStage: (id: string, attributes:
|
|
949
|
+
create: (attributes: import("./namespaces/crm").CreateCrmDealAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
950
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmDealAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
951
|
+
moveStage: (id: string, attributes: import("./namespaces/crm").MoveDealStageAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
873
952
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
874
953
|
};
|
|
875
954
|
activities: {
|
|
876
955
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
877
956
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
878
|
-
create: (attributes:
|
|
879
|
-
update: (id: string, attributes:
|
|
957
|
+
create: (attributes: import("./namespaces/crm").CreateCrmActivityAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
958
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmActivityAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
880
959
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
881
960
|
};
|
|
882
961
|
pipelines: {
|
|
883
962
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
884
963
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
885
|
-
create: (attributes:
|
|
886
|
-
update: (id: string, attributes:
|
|
964
|
+
create: (attributes: import("./namespaces/crm").CreateCrmPipelineAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
965
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmPipelineAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
887
966
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
888
967
|
};
|
|
889
968
|
pipelineStages: {
|
|
890
969
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
891
970
|
listByPipeline: (pipelineId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
892
|
-
create: (attributes:
|
|
893
|
-
update: (id: string, attributes:
|
|
971
|
+
create: (attributes: import("./namespaces/crm").CreateCrmPipelineStageAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
972
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmPipelineStageAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
894
973
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
895
974
|
};
|
|
896
975
|
relationships: {
|
|
897
976
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
898
977
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
899
|
-
create: (attributes:
|
|
978
|
+
create: (attributes: import("./namespaces/crm").CreateCrmRelationshipAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
900
979
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
901
980
|
};
|
|
902
981
|
relationshipTypes: {
|
|
903
982
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
904
983
|
list: (options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
905
|
-
create: (attributes:
|
|
906
|
-
update: (id: string, attributes:
|
|
984
|
+
create: (attributes: import("./namespaces/crm").CreateCrmRelationshipTypeAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
985
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmRelationshipTypeAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
907
986
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
908
987
|
};
|
|
909
988
|
customEntities: {
|
|
910
989
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
911
990
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
912
|
-
create: (attributes:
|
|
913
|
-
update: (id: string, attributes:
|
|
991
|
+
create: (attributes: import("./namespaces/crm").CreateCrmCustomEntityAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
992
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmCustomEntityAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
914
993
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
915
994
|
listVersions: (entityId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
916
995
|
getVersion: (entityId: string, versionId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
@@ -918,40 +997,100 @@ export declare class GptAdmin extends BaseClient {
|
|
|
918
997
|
dealProducts: {
|
|
919
998
|
list: (options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
920
999
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
921
|
-
create: (attributes:
|
|
1000
|
+
create: (attributes: import("./namespaces/crm").CreateCrmDealProductAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
922
1001
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
923
1002
|
};
|
|
924
1003
|
exports: {
|
|
925
1004
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
926
1005
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
927
|
-
create: (attributes:
|
|
1006
|
+
create: (attributes: import("./namespaces/crm").CreateCrmDataExportAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
928
1007
|
refreshUrl: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
929
1008
|
};
|
|
930
1009
|
entityTypes: {
|
|
931
1010
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
932
1011
|
listByApplication: (applicationId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
933
|
-
create: (attributes:
|
|
934
|
-
update: (id: string, attributes:
|
|
1012
|
+
create: (attributes: import("./namespaces/crm").CreateCrmCustomEntityTypeAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1013
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmCustomEntityTypeAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
935
1014
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
936
1015
|
};
|
|
937
1016
|
fieldDefinitions: {
|
|
938
1017
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
939
1018
|
listByEntityType: (entityType: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
940
|
-
create: (attributes:
|
|
941
|
-
update: (id: string, attributes:
|
|
1019
|
+
create: (attributes: import("./namespaces/crm").CreateCrmCustomFieldDefinitionAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1020
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmCustomFieldDefinitionAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
942
1021
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
943
1022
|
};
|
|
944
1023
|
channelCaptureConfig: {
|
|
945
1024
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
946
|
-
create: (attributes:
|
|
947
|
-
update: (id: string, attributes:
|
|
1025
|
+
create: (attributes: import("./namespaces/crm").CreateCrmChannelCaptureConfigAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1026
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmChannelCaptureConfigAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
948
1027
|
};
|
|
949
1028
|
syncConfigs: {
|
|
950
1029
|
listByWorkspace: (workspaceId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
951
|
-
create: (attributes:
|
|
952
|
-
update: (id: string, attributes:
|
|
1030
|
+
create: (attributes: import("./namespaces/crm").CreateCrmSyncConfigAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1031
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmSyncConfigAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
953
1032
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
954
1033
|
};
|
|
1034
|
+
addresses: {
|
|
1035
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1036
|
+
create: (attributes: import("./namespaces/crm").CreateCrmAddressAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1037
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmAddressAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1038
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1039
|
+
setPrimary: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1040
|
+
listByEntity: (entityType: "contact" | "company", entityId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1041
|
+
};
|
|
1042
|
+
phoneNumbers: {
|
|
1043
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1044
|
+
create: (attributes: import("./namespaces/crm").CreateCrmPhoneNumberAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1045
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmPhoneNumberAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1046
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1047
|
+
setPrimary: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1048
|
+
listByEntity: (entityType: "contact" | "company", entityId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1049
|
+
};
|
|
1050
|
+
emailAddresses: {
|
|
1051
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1052
|
+
create: (attributes: import("./namespaces/crm").CreateCrmEmailAddressAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1053
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmEmailAddressAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1054
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1055
|
+
setPrimary: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1056
|
+
listByEntity: (entityType: "contact" | "company", entityId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1057
|
+
};
|
|
1058
|
+
socialProfiles: {
|
|
1059
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1060
|
+
create: (attributes: import("./namespaces/crm").CreateCrmSocialProfileAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1061
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmSocialProfileAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1062
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1063
|
+
listByEntity: (entityType: "contact" | "company", entityId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1064
|
+
};
|
|
1065
|
+
websites: {
|
|
1066
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1067
|
+
create: (attributes: import("./namespaces/crm").CreateCrmWebsiteAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1068
|
+
update: (id: string, attributes: import("./namespaces/crm").UpdateCrmWebsiteAttributes, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1069
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1070
|
+
setPrimary: (id: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1071
|
+
listByEntity: (entityType: "contact" | "company", entityId: string, options?: import("./base-client").RequestOptions) => Promise<unknown>;
|
|
1072
|
+
};
|
|
1073
|
+
graph: {
|
|
1074
|
+
paths(params: import("./namespaces/crm").CrmGraphPathsParams, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1075
|
+
related(params: import("./namespaces/crm").CrmGraphRelatedParams, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1076
|
+
strength(params: import("./namespaces/crm").CrmGraphStrengthParams, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1077
|
+
};
|
|
1078
|
+
ai: {
|
|
1079
|
+
stagedExtractions(workspaceId: string, options?: {
|
|
1080
|
+
entity_type?: string;
|
|
1081
|
+
status?: string;
|
|
1082
|
+
} & import("./base-client").RequestOptions): Promise<unknown>;
|
|
1083
|
+
approveExtraction(id: string, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1084
|
+
rejectExtraction(id: string, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1085
|
+
duplicates(workspaceId: string, options?: {
|
|
1086
|
+
entity_type?: string;
|
|
1087
|
+
status?: string;
|
|
1088
|
+
} & import("./base-client").RequestOptions): Promise<unknown>;
|
|
1089
|
+
mergeContacts(params: import("./namespaces/crm").CrmMergeParams, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1090
|
+
mergeCompanies(params: import("./namespaces/crm").CrmMergeParams, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1091
|
+
search(params: import("./namespaces/crm").CrmSearchParams, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1092
|
+
forecast(workspaceId: string, options?: import("./base-client").RequestOptions): Promise<unknown>;
|
|
1093
|
+
};
|
|
955
1094
|
};
|
|
956
1095
|
/** Extraction pipeline: documents, results, batches, exports, workflows, analysis */
|
|
957
1096
|
readonly extraction: {
|
|
@@ -1501,8 +1640,8 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1501
1640
|
sort?: string;
|
|
1502
1641
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalNote[]>;
|
|
1503
1642
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalNote>;
|
|
1504
|
-
create: (attributes:
|
|
1505
|
-
update: (id: string, attributes:
|
|
1643
|
+
create: (attributes: import("./namespaces/clinical").CreateClinicalNoteAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalNote>;
|
|
1644
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateClinicalNoteAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalNote>;
|
|
1506
1645
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalNote>;
|
|
1507
1646
|
archive: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalNote>;
|
|
1508
1647
|
restore: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalNote>;
|
|
@@ -1524,8 +1663,8 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1524
1663
|
filter?: Record<string, unknown>;
|
|
1525
1664
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalHealthMetric[]>;
|
|
1526
1665
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalHealthMetric>;
|
|
1527
|
-
create: (attributes:
|
|
1528
|
-
update: (id: string, attributes:
|
|
1666
|
+
create: (attributes: import("./namespaces/clinical").CreateHealthMetricAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalHealthMetric>;
|
|
1667
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateHealthMetricAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalHealthMetric>;
|
|
1529
1668
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalHealthMetric>;
|
|
1530
1669
|
archive: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalHealthMetric>;
|
|
1531
1670
|
restore: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalHealthMetric>;
|
|
@@ -1547,13 +1686,15 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1547
1686
|
sort?: string;
|
|
1548
1687
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan[]>;
|
|
1549
1688
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan>;
|
|
1550
|
-
create: (attributes:
|
|
1551
|
-
update: (id: string, attributes:
|
|
1689
|
+
create: (attributes: import("./namespaces/clinical").CreateMealPlanAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan>;
|
|
1690
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateMealPlanAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan>;
|
|
1552
1691
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan>;
|
|
1553
1692
|
archive: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan>;
|
|
1554
1693
|
restore: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan>;
|
|
1555
1694
|
permanentDelete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1556
1695
|
listArchived: (params: import("./namespaces/clinical").ClinicalWorkspaceListParams, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan[]>;
|
|
1696
|
+
approve: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan>;
|
|
1697
|
+
listByMealSchedule: (mealScheduleId: string, params?: import("./namespaces/clinical").ClinicalWorkspaceListParams, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalMealPlan[]>;
|
|
1557
1698
|
};
|
|
1558
1699
|
clientGoals: {
|
|
1559
1700
|
list: (params: {
|
|
@@ -1562,9 +1703,9 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1562
1703
|
sort?: string;
|
|
1563
1704
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal[]>;
|
|
1564
1705
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal>;
|
|
1565
|
-
create: (attributes:
|
|
1566
|
-
createFromTemplate: (attributes:
|
|
1567
|
-
update: (id: string, attributes:
|
|
1706
|
+
create: (attributes: import("./namespaces/clinical").CreateClientGoalAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal>;
|
|
1707
|
+
createFromTemplate: (attributes: import("./namespaces/clinical").CreateGoalFromTemplateAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal>;
|
|
1708
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateClientGoalAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal>;
|
|
1568
1709
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal>;
|
|
1569
1710
|
archive: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal>;
|
|
1570
1711
|
restore: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientGoal>;
|
|
@@ -1578,8 +1719,8 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1578
1719
|
sort?: string;
|
|
1579
1720
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientSupplement[]>;
|
|
1580
1721
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientSupplement>;
|
|
1581
|
-
create: (attributes:
|
|
1582
|
-
update: (id: string, attributes:
|
|
1722
|
+
create: (attributes: import("./namespaces/clinical").CreateClientSupplementAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientSupplement>;
|
|
1723
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateClientSupplementAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientSupplement>;
|
|
1583
1724
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientSupplement>;
|
|
1584
1725
|
archive: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientSupplement>;
|
|
1585
1726
|
restore: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientSupplement>;
|
|
@@ -1624,8 +1765,8 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1624
1765
|
filter?: Record<string, unknown>;
|
|
1625
1766
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalDelivery[]>;
|
|
1626
1767
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalDelivery>;
|
|
1627
|
-
create: (attributes:
|
|
1628
|
-
update: (id: string, attributes:
|
|
1768
|
+
create: (attributes: import("./namespaces/clinical").CreateClinicalDeliveryAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalDelivery>;
|
|
1769
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateClinicalDeliveryAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalDelivery>;
|
|
1629
1770
|
};
|
|
1630
1771
|
clientResourceAssignments: {
|
|
1631
1772
|
list: (params: {
|
|
@@ -1634,8 +1775,8 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1634
1775
|
sort?: string;
|
|
1635
1776
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientResourceAssignment[]>;
|
|
1636
1777
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientResourceAssignment>;
|
|
1637
|
-
create: (attributes:
|
|
1638
|
-
update: (id: string, attributes:
|
|
1778
|
+
create: (attributes: import("./namespaces/clinical").CreateClientResourceAssignmentAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientResourceAssignment>;
|
|
1779
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateClientResourceAssignmentAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientResourceAssignment>;
|
|
1639
1780
|
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientResourceAssignment>;
|
|
1640
1781
|
archive: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientResourceAssignment>;
|
|
1641
1782
|
restore: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalClientResourceAssignment>;
|
|
@@ -1649,7 +1790,7 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1649
1790
|
sort?: string;
|
|
1650
1791
|
}, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalSupplementRecCache[]>;
|
|
1651
1792
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalSupplementRecCache>;
|
|
1652
|
-
update: (id: string, attributes:
|
|
1793
|
+
update: (id: string, attributes: import("./namespaces/clinical").UpdateSupplementRecCacheAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/clinical").ClinicalSupplementRecCache>;
|
|
1653
1794
|
};
|
|
1654
1795
|
};
|
|
1655
1796
|
/** Workspace management — create, configure, allocate credits, storage settings */
|
|
@@ -1749,9 +1890,7 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1749
1890
|
}>;
|
|
1750
1891
|
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./namespaces/imports").Import>;
|
|
1751
1892
|
rows: (importId: string, params?: {
|
|
1752
|
-
offset
|
|
1753
|
-
/** Role management — named permission bundles for workspace access control */
|
|
1754
|
-
?: number;
|
|
1893
|
+
offset?: number;
|
|
1755
1894
|
limit?: number;
|
|
1756
1895
|
}, options?: import("./base-client").RequestOptions) => Promise<{
|
|
1757
1896
|
data: import("./namespaces/imports").ImportRow[];
|
|
@@ -1776,6 +1915,184 @@ export declare class GptAdmin extends BaseClient {
|
|
|
1776
1915
|
};
|
|
1777
1916
|
}>;
|
|
1778
1917
|
};
|
|
1918
|
+
/** Bidirectional invoicing — invoices, lines, payments, templates, rules, recurring schedules, contacts */
|
|
1919
|
+
readonly invoices: {
|
|
1920
|
+
invoices: {
|
|
1921
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1922
|
+
listByWorkspace: (workspaceId: string, options?: {
|
|
1923
|
+
page?: number;
|
|
1924
|
+
pageSize?: number;
|
|
1925
|
+
} & import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice[]>;
|
|
1926
|
+
create: (attributes: import("./namespaces/invoices").CreateInvoiceAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1927
|
+
update: (id: string, attributes: import("./namespaces/invoices").UpdateInvoiceAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1928
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1929
|
+
submitForApproval: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1930
|
+
approve: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1931
|
+
send: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1932
|
+
markViewed: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1933
|
+
void: (id: string, voidedReason: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1934
|
+
markOverdue: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1935
|
+
dispute: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1936
|
+
resolveDispute: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1937
|
+
schedulePayment: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1938
|
+
markPaid: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1939
|
+
applyAiSuggestions: (id: string, acceptedKeys: string[], options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesInvoice>;
|
|
1940
|
+
};
|
|
1941
|
+
lines: {
|
|
1942
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesLine>;
|
|
1943
|
+
create: (attributes: import("./namespaces/invoices").CreateInvoiceLineAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesLine>;
|
|
1944
|
+
update: (id: string, attributes: import("./namespaces/invoices").UpdateInvoiceLineAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesLine>;
|
|
1945
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1946
|
+
};
|
|
1947
|
+
payments: {
|
|
1948
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesPayment>;
|
|
1949
|
+
create: (attributes: import("./namespaces/invoices").CreatePaymentAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesPayment>;
|
|
1950
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1951
|
+
};
|
|
1952
|
+
templates: {
|
|
1953
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesTemplate>;
|
|
1954
|
+
create: (attributes: import("./namespaces/invoices").CreateTemplateAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesTemplate>;
|
|
1955
|
+
update: (id: string, attributes: import("./namespaces/invoices").UpdateTemplateAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesTemplate>;
|
|
1956
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1957
|
+
};
|
|
1958
|
+
rules: {
|
|
1959
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRule>;
|
|
1960
|
+
create: (attributes: import("./namespaces/invoices").CreateRuleAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRule>;
|
|
1961
|
+
update: (id: string, attributes: import("./namespaces/invoices").UpdateRuleAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRule>;
|
|
1962
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1963
|
+
deactivate: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRule>;
|
|
1964
|
+
};
|
|
1965
|
+
recurringSchedules: {
|
|
1966
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRecurringSchedule>;
|
|
1967
|
+
create: (attributes: import("./namespaces/invoices").CreateRecurringScheduleAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRecurringSchedule>;
|
|
1968
|
+
update: (id: string, attributes: import("./namespaces/invoices").UpdateRecurringScheduleAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRecurringSchedule>;
|
|
1969
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1970
|
+
pause: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRecurringSchedule>;
|
|
1971
|
+
resume: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesRecurringSchedule>;
|
|
1972
|
+
};
|
|
1973
|
+
contacts: {
|
|
1974
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesContact>;
|
|
1975
|
+
listByWorkspace: (workspaceId: string, options?: {
|
|
1976
|
+
page?: number;
|
|
1977
|
+
pageSize?: number;
|
|
1978
|
+
} & import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesContact[]>;
|
|
1979
|
+
create: (attributes: import("./namespaces/invoices").CreateContactAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesContact>;
|
|
1980
|
+
update: (id: string, attributes: import("./namespaces/invoices").UpdateContactAttributes, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesContact>;
|
|
1981
|
+
delete: (id: string, options?: import("./base-client").RequestOptions) => Promise<true>;
|
|
1982
|
+
};
|
|
1983
|
+
activities: {
|
|
1984
|
+
get: (id: string, options?: import("./base-client").RequestOptions) => Promise<import("./_internal/types.gen").InvoicesActivity>;
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
/** Recipe management, meal planning, shopping lists, nutrition tracking, and AI enrichment */
|
|
1988
|
+
readonly recipes: {
|
|
1989
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipe>;
|
|
1990
|
+
list(workspaceId: string, options?: import("./namespaces/recipes").ListOptions & {
|
|
1991
|
+
filter?: {
|
|
1992
|
+
status?: string;
|
|
1993
|
+
};
|
|
1994
|
+
}): Promise<import(".").RecipesRecipe[]>;
|
|
1995
|
+
listByContact(workspaceId: string, contactId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesRecipe[]>;
|
|
1996
|
+
listPublished(workspaceId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesRecipe[]>;
|
|
1997
|
+
create(attrs: import("./namespaces/recipes").CreateRecipeAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipe>;
|
|
1998
|
+
import(attrs: import("./namespaces/recipes").ImportRecipeAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipe>;
|
|
1999
|
+
bulkImport(recipes: import("./namespaces/recipes").ImportRecipeAttributes[], options?: import("./base-client").RequestOptions): Promise<import("./namespaces/recipes").BulkImportResult>;
|
|
2000
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateRecipeAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipe>;
|
|
2001
|
+
reEnrich(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipe>;
|
|
2002
|
+
archive(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipe>;
|
|
2003
|
+
restore(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipe>;
|
|
2004
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2005
|
+
ingredients: {
|
|
2006
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesIngredient>;
|
|
2007
|
+
list(recipeId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesIngredient[]>;
|
|
2008
|
+
create(attrs: import("./namespaces/recipes").CreateIngredientAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesIngredient>;
|
|
2009
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateIngredientAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesIngredient>;
|
|
2010
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2011
|
+
};
|
|
2012
|
+
foodItems: {
|
|
2013
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesFoodItem>;
|
|
2014
|
+
list(applicationId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesFoodItem[]>;
|
|
2015
|
+
create(attrs: import("./namespaces/recipes").CreateFoodItemAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesFoodItem>;
|
|
2016
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateFoodItemAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesFoodItem>;
|
|
2017
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2018
|
+
};
|
|
2019
|
+
nutrition: {
|
|
2020
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeNutrition>;
|
|
2021
|
+
create(attrs: import("./namespaces/recipes").CreateRecipeNutritionAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeNutrition>;
|
|
2022
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateRecipeNutritionAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeNutrition>;
|
|
2023
|
+
};
|
|
2024
|
+
tags: {
|
|
2025
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesTag>;
|
|
2026
|
+
list(applicationId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesTag[]>;
|
|
2027
|
+
create(attrs: import("./namespaces/recipes").CreateTagAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesTag>;
|
|
2028
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateTagAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesTag>;
|
|
2029
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2030
|
+
};
|
|
2031
|
+
recipeTags: {
|
|
2032
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeTag>;
|
|
2033
|
+
create(attrs: import("./namespaces/recipes").CreateRecipeTagAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeTag>;
|
|
2034
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2035
|
+
};
|
|
2036
|
+
favorites: {
|
|
2037
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeFavorite>;
|
|
2038
|
+
list(workspaceId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesRecipeFavorite[]>;
|
|
2039
|
+
create(attrs: import("./namespaces/recipes").CreateRecipeFavoriteAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeFavorite>;
|
|
2040
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateRecipeFavoriteAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeFavorite>;
|
|
2041
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2042
|
+
};
|
|
2043
|
+
collections: {
|
|
2044
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeCollection>;
|
|
2045
|
+
list(workspaceId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesRecipeCollection[]>;
|
|
2046
|
+
create(attrs: import("./namespaces/recipes").CreateRecipeCollectionAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeCollection>;
|
|
2047
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateRecipeCollectionAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesRecipeCollection>;
|
|
2048
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2049
|
+
recipes: {
|
|
2050
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesCollectionRecipe>;
|
|
2051
|
+
list(collectionId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesCollectionRecipe[]>;
|
|
2052
|
+
create(attrs: import("./namespaces/recipes").CreateCollectionRecipeAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesCollectionRecipe>;
|
|
2053
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateCollectionRecipeAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesCollectionRecipe>;
|
|
2054
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2055
|
+
};
|
|
2056
|
+
};
|
|
2057
|
+
enrichmentJobs: {
|
|
2058
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesEnrichmentJob>;
|
|
2059
|
+
list(recipeId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesEnrichmentJob[]>;
|
|
2060
|
+
};
|
|
2061
|
+
mealSchedules: {
|
|
2062
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesMealSchedule>;
|
|
2063
|
+
list(workspaceId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesMealSchedule[]>;
|
|
2064
|
+
create(attrs: import("./namespaces/recipes").CreateMealScheduleAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesMealSchedule>;
|
|
2065
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateMealScheduleAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesMealSchedule>;
|
|
2066
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2067
|
+
meals: {
|
|
2068
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesScheduledMeal>;
|
|
2069
|
+
list(mealScheduleId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesScheduledMeal[]>;
|
|
2070
|
+
create(attrs: import("./namespaces/recipes").CreateScheduledMealAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesScheduledMeal>;
|
|
2071
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateScheduledMealAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesScheduledMeal>;
|
|
2072
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2073
|
+
};
|
|
2074
|
+
nutritionSummaries: {
|
|
2075
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesNutritionSummary>;
|
|
2076
|
+
list(mealScheduleId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesNutritionSummary[]>;
|
|
2077
|
+
};
|
|
2078
|
+
};
|
|
2079
|
+
shoppingLists: {
|
|
2080
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingList>;
|
|
2081
|
+
list(workspaceId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesShoppingList[]>;
|
|
2082
|
+
create(attrs: import("./namespaces/recipes").CreateShoppingListAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingList>;
|
|
2083
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateShoppingListAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingList>;
|
|
2084
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2085
|
+
generate(mealScheduleId: string, workspaceId: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingList>;
|
|
2086
|
+
regenerate(shoppingListId: string, workspaceId: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingList>;
|
|
2087
|
+
items: {
|
|
2088
|
+
get(id: string, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingListItem>;
|
|
2089
|
+
list(shoppingListId: string, options?: import("./namespaces/recipes").ListOptions): Promise<import(".").RecipesShoppingListItem[]>;
|
|
2090
|
+
create(attrs: import("./namespaces/recipes").CreateShoppingListItemAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingListItem>;
|
|
2091
|
+
update(id: string, attrs: import("./namespaces/recipes").UpdateShoppingListItemAttributes, options?: import("./base-client").RequestOptions): Promise<import(".").RecipesShoppingListItem>;
|
|
2092
|
+
delete(id: string, options?: import("./base-client").RequestOptions): Promise<void>;
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
1779
2096
|
constructor(config?: BaseClientConfig);
|
|
1780
2097
|
}
|
|
1781
2098
|
//# sourceMappingURL=gpt-admin.d.ts.map
|